Query Advisor
Analyze a slow query and get ranked, recommend-only optimization suggestions — skip indexes, projections, partition keys, and PREWHERE rewrites. Every DDL/rewrite is text to review and run yourself; nothing here is ever applied automatically. Pick a query from Slow Queries and copy its query ID, or paste SQL directly.
Press Cmd/Ctrl + Enter to analyze.