#061: How to Build Incremental Models w/ dbt

Apr 17, 2024

You don't need to process every record in a table, every time.

Fortunately, dbt has a great solution for this scenario with their "incremental" materialization option.

When setup properly, they can help you significantly cut costs & processing time.

This is because incremental models only process new data vs rebuilding an entire table (the default setting).

 

But setting up incremental models isn't always straight forward.

It requires a few steps, an understanding of underlying functionality and some customization.

All that to say, I've noticed this process trips people up and therefore they put off implementing it.

 

So in today's video I'd like to help you out by covering:

  • What incremental models in dbt are all about 
  • Step by step how to build one
  • The process to add/update new data

What will you learn? 

  • The purpose & functionality of Incremental models in dbt
  • How to use the is_incremental() macro
  • How to leverage different incremental strategies 

 

Enjoy! 

PS - Notice how this video uses very simple data as an example. Just a friendly reminder that you don't need complex or big data to practice and learn effectively.

Leaders of Small & 1-Person Data Teams

Get A Second Opinion On Your Data Architecture

The Simple Stack Audit is a 36-point assessment of your current data process, a graded scorecard, and custom recommendations on what to fix. Based on 30+ implementations since 2020.


Start with a 30-minute intro call to see if it's the right fit for you.

Get More Details