Interview practice question
Full table rebuild every day
Data Engineering · dbt · Beginner
A teammate's fact model is materialized as a table and rebuilds 3 years of data every day, taking 2 hours. What do you suggest?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Most historical data doesn't change, so rebuilding it daily wastes compute.
- Convert to incremental with a filter on a reliable timestamp.
- Set a unique_key for updates and a lookback for late data.
- Run a full refresh occasionally if needed, like monthly.
- Compare runtime and cost after the change.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.