QuestionQ61

VerifiedAnalyzing Queries

A data analyst notices that a critical dashboard loads slowly and suspects that a particular SQL query is responsible for performance problems. To identify the root cause, the analyst wants to review query-execution characteristics over time, including execution time, data scanned, and rows processed. The analyst uses the Databricks SQL environment and has access to admin tools and workspace objects.

How should the analyst investigate query performance over time?

Explanation

Databricks Query Insights, accessed through query history, provides execution history and query metrics such as duration, rows read or returned, and I/O performance. Those historical metrics enable comparison of repeated executions to detect performance degradation. Query profiles instead provide detailed operator-level diagnostics for a specific execution.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!