QuestionQ39

VerifiedProductionizing Data Pipelines

A data engineering team has noticed that their Databricks SQL queries are running too slowly when they are submitted to a non-running SQL endpoint. The data engineering team wants this issue to be resolved.

Which of the following approaches can the team use to reduce the time it takes to return results in this scenario?

Explanation

The delay in this scenario comes from cluster startup time, not query execution time — a stopped SQL warehouse must provision compute before it can run anything. Serverless SQL warehouses draw from a pool of pre-provisioned, rapid-start compute, cutting that startup delay from minutes to seconds, whereas increasing cluster size or raising the autoscaling maximum only improves performance once a warehouse is already running and does nothing to reduce cold-start latency.

Community Discussion

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