Bird
0
0

What is the main purpose of using snapshot tables in dbt?

easy🧠 Conceptual Q11 of 15
dbt - Advanced Patterns
What is the main purpose of using snapshot tables in dbt?
ATo save historical versions of data automatically
BTo speed up query performance by caching results
CTo create temporary tables for intermediate calculations
DTo delete old data from the database
Step-by-Step Solution
Solution:
  1. Step 1: Understand snapshot tables

    Snapshot tables store copies of data at different points in time to track changes.
  2. Step 2: Identify the main use

    They are used to save historical versions automatically, not for caching or deleting data.
  3. Final Answer:

    To save historical versions of data automatically -> Option A
  4. Quick Check:

    Snapshot tables = historical data tracking [OK]
Quick Trick: Snapshots track data changes over time automatically [OK]
Common Mistakes:
MISTAKES
  • Confusing snapshots with caching mechanisms
  • Thinking snapshots delete old data
  • Assuming snapshots create temporary tables

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes