Recall & Review
beginner
What is the append incremental strategy in dbt?
The append strategy adds new rows to an existing table without changing or removing existing data. It is like adding new pages to a notebook without erasing old pages.
Click to reveal answer
intermediate
Explain the merge incremental strategy in dbt.
Merge updates existing rows if they match a key and inserts new rows if they don't exist. Think of it as updating your contact list: change info if contact exists, add new contact if not.
Click to reveal answer
intermediate
What does the delete+insert incremental strategy do?
Delete+insert removes rows that match certain conditions and then inserts fresh data. It's like erasing a page in your notebook and rewriting it with updated notes.
Click to reveal answer
beginner
Why use incremental strategies in dbt?
Incremental strategies save time and resources by only processing new or changed data instead of rebuilding entire tables every time.
Click to reveal answer
beginner
Which incremental strategy would you use if you want to keep all old data and just add new rows?
You would use the append strategy because it only adds new rows without changing existing data.
Click to reveal answer
Which incremental strategy updates existing rows and adds new rows in dbt?
✗ Incorrect
Merge updates rows that match and inserts new rows if they don't exist.
What does the append strategy do in dbt?
✗ Incorrect
Append only adds new rows, leaving existing data unchanged.
When would you use delete+insert strategy?
✗ Incorrect
Delete+insert removes specific rows and inserts updated data.
Which strategy is best to save time by processing only new or changed data?
✗ Incorrect
Incremental strategies process only new or changed data, saving time.
In dbt, what key concept helps identify rows to update or delete in incremental models?
✗ Incorrect
Primary key uniquely identifies rows for update or delete operations.
Describe the differences between append, merge, and delete+insert incremental strategies in dbt.
Think about how each strategy handles existing data and new data.
You got /3 concepts.
Explain why incremental strategies are useful in data transformation workflows.
Consider the cost of processing large datasets repeatedly.
You got /3 concepts.