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 callThe 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
- Databricks SQL: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Follow cost optimizationNews, releases, videos and questions on it, gathered daily.
More scenarios
- Cut the cost of the night jobs · platform engineer
- Five minutes of waiting for two minutes of work · platform engineer
- A cluster ran all weekend · platform engineer
- All 47 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.