Menu

PSA: check auto_stop_mins on your SQL warehouses if you deploy with bundles
📰

PSA: check auto_stop_mins on your SQL warehouses if you deploy with bundles

DEV Community: database·Gandharva·16 days ago
#np6Eme0Q
#devtodatabase#devto#dev#serverless#classic
Reading 0:00
15s threshold

If you create SQL warehouses through Declarative Automation Bundles and leave out auto_stop_mins, the default isn’t what you get in the UI. Bundles default to 10 minutes for Serverless and 120 for Pro/Classic. The UI defaults to 10 for Serverless and 45 for Pro/Classic.

Apparently someone deployed a Serverless warehouse with a bundle, didn’t set the field, and got 120 minutes instead of the 10 the docs list. That hurts if you have a bunch of short scheduled alerts, because each one wakes the warehouse up and then it just sits there until auto-stop kicks in.

A few other things from the same writeup:

The Serverless UI won’t go below 5 min auto-stop, but the API, CLI and bundles accept 1 (databricks warehouses edit --auto-stop-mins 1). Pro and Classic bottom out at 10.

A single slow or spilling query points to warehouse size. Queries waiting at capacity point to max clusters.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.