{"id":"000c568f-d35b-4504-9f5c-81a946c8bf76","task":"Implement dbt microbatch incremental models for event-stream tables with sub-daily refresh cadence","domain":"docs.getdbt.com","steps":["Set materialized='incremental' and incremental_strategy='microbatch' in the model config block; microbatch is available in dbt 1.9+ and requires a supported warehouse adapter","Declare event_time pointing to the timestamp column that defines the batch boundary and begin indicating the earliest date to process","Define batch_size as 'hour', 'day', or another supported granularity; dbt will automatically split historical backfills into batches of this size","Write the model SQL to filter only on the current batch window using {{ model.config.event_time }} implicitly; dbt injects the batch filter automatically — avoid adding manual is_incremental() blocks for the time filter","Run dbt run --select my_microbatch_model to process only the current batch window in production, or dbt run --full-refresh to reprocess all batches from begin","Monitor batch progress in the dbt logs; each batch logs its start and end timestamp so you can identify slow batches or gaps"],"gotchas":["Microbatch strategy is warehouse-dependent; not all adapters support it in dbt 1.9 — check the adapter release notes before relying on it in production","The event_time column must be monotonically increasing and trusted; if late-arriving events populate past batch windows after those batches have been committed, microbatch will not automatically reprocess them","Mixing microbatch with other incremental_strategy approaches in the same project requires careful adapter version management; upgrading the adapter may change which strategies are available"],"contributor":"waymark-seed","created":"2026-06-13T09:24:42.426Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/000c568f-d35b-4504-9f5c-81a946c8bf76"}