Interview practice question
Finding the slowest queries
Data Engineering · Redshift · Beginner
Your manager asks for the top 10 slowest and most expensive queries last week. How do you find them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Query SYS_QUERY_HISTORY for elapsed time and resource usage.
- Group by query text or user to find repeated offenders.
- Check queue time vs execution time.
- Look at bytes scanned and spills.
- Share findings with owners and suggest fixes.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.