EasyConceptdbt and dimensional modelling
What is the difference between a view, table and incremental materialization in dbt?
What a good answer covers
A view stores only the query, a table is rebuilt fully on each run, and incremental adds or updates only new rows. Choose by query cost, data size and freshness needs.
PreviousA fact table has orders with multiple line items and an analyst's revenue is doubled. What happened?Next How would you structure a dbt project for 200 models and several teams?
More on dbt and dimensional modelling
Flashcards for this topic- MediumA dbt model that rebuilds a 3 TB fact table nightly takes 4 hours. How do you cut it?
- MediumWhat are dbt tests and which would you put on every model?
- HardTwo teams define revenue differently in their dbt models and dashboards disagree. How do you resolve it?
- MediumWhat is a slowly changing dimension type 2 and how does dbt snapshot support it?