Skip to content

A scenario for a platform engineer · Mid level and up

Dashboards queue at nine

Query · Analytics
Monday, 09:02

Every morning two hundred people open their dashboards at once. Each query alone is fast, and the Databricks SQL warehouse shows a long queue until half past nine.

What do you do?

Tap the one you would do. The answer opens below.

Show the best call

Raise the warehouse's maximum number of clusters, so it adds clusters at the peak and drops them after.

The queue is gone by 09:05, and the extra clusters go away when the rush is over.

Why

Two settings do two jobs. The size of a SQL warehouse decides how fast one query runs. The number of clusters decides how many queries run at once. Queuing at busy times is first a sign to add clusters. Queries that are slow on their own are a sign to go up a size.

Read it in the Databricks docs (opens in a new tab)

The other two

Works, at a price. Change the warehouse to a larger size.
Each query is a little faster, so the queue moves quicker. You pay for the larger size all day to fix thirty minutes.
A poor call. Ask teams to open their dashboards at different times.
Nobody changes their morning for a warehouse setting.

The words in this scenario

SQL warehouse.
Compute made for running SQL queries and dashboards. In the docs (opens in a new tab)

Go deeper on brickster.ai

More scenarios

Had one like this at work? Send it to us: the best tickets come from real incidents.

Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.