Interview practice question
Materialized view taking long to refresh
Data Engineering · Redshift · Intermediate
A materialized view used by dashboards takes 20 minutes to refresh every hour. How do you improve it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check if it's refreshing incrementally or fully.
- Some SQL patterns force full refresh.
- Simplify or restructure the query to support incremental refresh.
- Use nested materialized views.
- Schedule refresh after loads instead of on a fixed clock.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.