· 8 min
dbt Microbatch: Incremental Models Built by Time Batch
How the dbt microbatch strategy works: event_time, batch_size, lookback, targeted backfills, retrying failed batches, and when it beats a hand-written filter.
- #dbt
- #incremental-models
Topic
15 posts ·view all posts
· 8 min
How the dbt microbatch strategy works: event_time, batch_size, lookback, targeted backfills, retrying failed batches, and when it beats a hand-written filter.
· 9 min
Use dbt model contracts, versions, access levels and deprecation dates to change a widely used model without breaking the dashboards and teams that use it.
· 9 min
How dbt Projects on Snowflake works: deploying a DBT PROJECT object, EXECUTE DBT PROJECT, scheduling with tasks, Slim CI with IMPORTS, roles and limits.
· 9 min
The dbt-snowflake configs that matter in production: per-model warehouses, query tags for cost attribution, grants, dynamic tables and incremental strategies.
· 10 min
dbt v2, the Rust engine once called Fusion, is GA. What changes from v1, how to check a project with dbt-autofix, and a safe side-by-side migration plan.
· 8 min
The honest split between dbt Core and dbt Cloud: what Cloud adds over CI plus an orchestrator, what seats cost, and when self-hosting stops being cheaper.
· 11 min
How incremental dbt models actually write: unique_key as merge grain, is_incremental filters, lookback windows, and late arrivals that silently drop rows.
· 6 min
A SQLMesh plan is a snapshot diff you apply and virtual environments share unchanged tables. dbt defer is CI, not isolation, and you still need an orchestrator.
· 5 min
Set up a dbt project from scratch: staging models, marts, tests, and documentation, with the project structure conventions used by real teams.
· 12 min
Cutting dbt run time and warehouse spend on a large project: find the real critical path, see when threads stop helping, and attribute cost per model.
· 12 min
Which Jinja patterns earn their indirection in a production dbt project, how to test macros, and the metaprogramming that makes a project unmaintainable.
· 12 min
Choosing check or timestamp snapshot strategies, what happens when a snapshot run is missed, and when a hand-rolled SCD2 model beats dbt snapshot.
· 11 min
How I lay out staging, intermediate, and marts so a dbt project still makes sense after two years: naming rules, ref boundaries, and folders that rot.
· 8 min
How to get dbt CI from 50 minutes to 4 with state comparison and defer: manifest artifacts, GitHub Actions wiring, and the edge cases that bite.
· 8 min
How I structure dbt tests in production: generic tests on keys, unit tests on logic, dbt-expectations on shape, severity that means something.