SQL Warehouse - Auto Stop not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 11:21 PM
We have Azure Databricks - SQL Serverless Warehouse with Classic configuration. The config details shared in below snip.
As per the Auto Stop config, the Serverless warehouse should be stopped after 10 min of inactivity. However, when we were monitoring the cluser count, we observed that the cluster is always in running mode & it does not show as shut down. Sharing the image from the monitoring tab for the last 7 days & last 8 hours.
Last 8 Hours: As you can observe in below screenshot, the cluster should be shut down for duration of 3 to 6 am but the cluster count is always 1.
#sqlwarehouse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 01:19 AM
A dbsql warehouse can be triggered not only by a query from a JDBC/ODBC client but also by an idle session, as sessions are managed within the backend clusters. Clusters must be running to maintain these sessions, even before a query is submitted to the database.
You need to check if your JDBC client keeps on opening and closing empty sessions without actually submitting any queries.

