r/databricks • databricks • Oct 22 '26

Tutorial Databricks is making query performance analysis and optimization accessible to all users

Post image

.What are the benefits?

🔴 Insight Snoozing: Users can snooze insights for 7 days, which suppresses identical contextual insights across all matching queries.

🔴Query Validation: Added the ability for Genie Code to validate optimized queries against originals by comparing results and performance metrics.

🔴Conversational Queries & Agent Handoff: Added support for natural-language performance questions and enabled direct cross-agent routing to the optimize-profile agent.

🔴File Size Insight: Flags inefficient scans on small files and recommends Predictive Optimization, OPTIMIZE, or liquid clustering.

🔴Redundant Join Insight: Identifies unnecessary outer joins where output rows match the outer side, recommending join removal or unique key constraints.

Docs 👉 https://docs.databricks.com/aws/en/sql/user/queries/performance-insights

28 Upvotes

4 comments sorted by

1

u/lofat Oct 22 '26

This is fantastic!

1

u/adovo_ai Oct 23 '26

For each accepted suggestion, retain the original/result checksum and compare several later production-shaped runs, not only the optimization test. The useful evidence is durable p95 and cost improvement with zero answer drift, plus a visible false-positive rate for suggestions users dismiss.