Incremental Model with the MERGE Strategy
Learn how to create an incremental model with the MERGE strategy.
Defining an incremental model
Tables come with one big issue: they don’t stay updated. To refresh the table, we need to run the dbt model. Every time we run a dbt model, it recreates the whole table. When dealing with large amounts of data, it can become very slow and ineffective.
Fortunately, there’s a third type of materialization that incrementally merges new rows with the existing table through an incremental strategy. This materialization requires that we enable billing on our BigQuery project (it can be done through the free trial).
To use incremental models with BigQuery, you’ll need to enable billing on your project.
You’ll then get 300€ of credits to use before being charged.
Get hands-on with 1400+ tech skills courses.