Workflows
Debug Slow Queries
Start by reducing query scope and validating each expensive operation independently.
Checklist
- Limit the data range.
- Inspect joins and grouping.
- Remove optional columns.
- Test filters separately.
- Ask AI for alternative query shapes, then review them critically.