Snapshots
Covers dbt's snapshot functionality for tracking historical changes using Type 2 Slowly Changing Dimensions, including configuration, strategies, metadata, and best practices.
Understanding Slowly Changing Dimensions
-- Initial record
customer_id status updated_at dbt_valid_from dbt_valid_to
101 active 2023-06-15 2023-06-15 null
-- After status change with snapshots
customer_id status updated_at dbt_valid_from dbt_valid_to
101 active 2023-06-15 2023-06-15 2023-08-20 -- Historical record
101 inactive 2023-08-20 2023-08-20 null -- Current recordBasic Configuration
Snapshot Strategies
How Snapshots Work Behind the Scenes
Metadata Fields
Step-by-Step Example
Advanced Configuration
Best Practices for Snapshots
Using Snapshots in Your Data Architecture
Last updated
Was this helpful?