Interview practice question
Unpredictable heavy ad-hoc queries
Data Engineering · Snowflake · Experienced
Hundreds of analysts run unpredictable heavy queries that sometimes run for hours and cost a lot. How do you control this without blocking them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Give ad-hoc users their own warehouse, separate from ETL and BI.
- Set STATEMENT_TIMEOUT_IN_SECONDS on the warehouse.
- Use Query Acceleration Service for occasional large scans instead of a huge warehouse.
- Add resource monitors and cost dashboards per team.
- Provide curated, pre-aggregated marts so analysts don't need to scan raw data.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.