06-20-2023 04:53 PM
In this specific case, we're running a 2XSmall SQL Warehouse on Databricks SQL.
In looking at the SQL Warehouse monitoring log for this cluster, we noticed:
Now, between these queries, the SQL Warehouse should have shut down due to inactivty after 90 minutes.
We have not observed this occurring over the preceding 12 months.
A key variable which has changed is that Databricks recently allowed users to connect to SQL Warehouses in the Data Engineering (Notebooks) service, and this may have occurred, and this may have kept this cluster active, even though no queries were instantiated against the cluster.
Databricks - any feedback on this?
06-20-2023 09:53 PM
Hi @Cameron McPherson
Great to meet you, and thanks for your question!
Let's see if your peers in the community have an answer to your question. Thanks.
12-19-2023 05:21 PM
I recently had this problem on Azure. Created a SQL Warehouse with a 20 minute auto stop setting. When I saw a $1500 bill on my cc in December, I checked on Azure and saw that the SQL Warehouse was up and running since October 8th. I tried to shut it down manually and it just kept running again. I doubled checked the auto stop configuration setting and it was still twenty minutes.
I looked under the query history and I saw that every few seconds a USE command was failing trying to connect to a database that had been deleted some time ago. I think that somehow this error was preventing the inactivity clock from ticking down. I had to actually delete the SQL Warehouse to make it stop.
I only use the Databricks instance for study and had barely been on it in months.
The damage is an $2800 bill that I am still struggling with Microsoft support on because they don't seem to understand how Databricks costs are supposed to work. If or when I resolve this with them I'll get back on here. I guess I could try to reproduce it, but it should be obvious to them that Databricks and VM costs shot up together, and back down together as soon as I deleted the SQL Warehouse. They seem to think I allocated a VM service, and my VM costs are from that. Will try with them, again tomorrow.
12-20-2023 01:28 PM
@Michael42 sounds like some sort of horror story. Let us know how it goes.
It happens to me as well, but I was lucky enough to have this situation on very small compute cluster for just couple of days.
09-06-2024 08:17 AM
Hi! Was anyone able to solve this problem? I'm facing the same issue but without any queries being executed. It just magically turns on and never disables, and I don't see anything in the query history.
09-16-2024 01:22 PM
Also dealing with the same issue! Anybody has any idea how to check it? There is no sort of logs and no actual query happens
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group