dbt Analytics Engineering (50 Qs)•Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)
Ephemeral vs View vs Table vs Incremental: Memory, performance, and storage tradeoffs.
senior LevelMost AskedFormsPerformancePipes
In Simple Words:
| Materialization | Stored in Warehouse? | Query Performance | Build Duration | Best Use Case |
|---|---|---|---|---|
ephemeral | No (interpolated as CTE) | Dependent on final query | Zero build time | Lightweight transformations used in only 1 downstream model |
view | Yes (metadata query definition) | Slower for complex queries | Instantaneous (< 1s) | Staging layers, clean renames, lightweight filters |
table | Yes (physical disk storage) | Fast (columnar optimized) | Moderate | Intermediate marts, aggregations under 10M rows |
incremental | Yes (physical disk storage) | Fast | Very fast after initial load | Multi-billion row fact tables, append-only event streams |