Skip to content

MediumScenariodbt and dimensional modelling

A dbt model that rebuilds a 3 TB fact table nightly takes 4 hours. How do you cut it?

What a good answer covers

Convert to an incremental model with a reliable unique key and updated-at filter, handle late arrivals with a lookback window, partition and cluster on the filter column, and schedule periodic full refreshes to correct drift.

More on dbt and dimensional modelling

Flashcards for this topic