Interview practice question
Fact table too big for daily queries
Data Engineering · Data Modeling · Experienced
A transaction fact has 200 billion rows, and most dashboards only need monthly trends by a few dimensions. How do you model for performance without losing detail?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Keep the detailed fact for drill-down and audit.
- Build aggregate facts at common grains like daily and monthly.
- Partition and cluster the detail fact by date and key filters.
- Route dashboards to aggregates via semantic layer or BI aggregates.
- Validate aggregates against detail.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.