โ12-12-2024 08:54 AM
We're experiencing an issue with our Databricks dbt workflow and workflow job is using the SQL warehouse L size cluster that's been working smoothly for the past couple of weeks. However, today we've noticed that at a specific time, all queries are getting stuck in an 'orphan' state and none are being executed. and the query's is not having any abnormality those are very lite sql's. after restarting the SQL Warehouse jobs process continues.
is any permanent fix for this?
โ12-12-2024 09:44 AM
Here are some steps and considerations to help troubleshoot and resolve this issue:
Check SQL Warehouse Sizing and Scaling:
Monitor Query Performance:
โ01-02-2025 05:24 AM
@Walter_C No luck, after the sql warehouse reboot it is coming back, is any remedy apart from the query's killing ?
โ01-02-2025 05:28 AM
this is happening weekly once or twice and suddenly all the queries went to hang state. and observed all the query's are started on almost same time 1-2 mins different, max limit is 10 concurrent due to this other jobs are not moving.
โ01-02-2025 05:37 AM
verified the sql monitor no peak queued queries
data volumes are same and some time even one row sql also went to hang state
verified the history and query profiles same sql is working after the reboot.
โ01-02-2025 06:12 AM
You have mentioned that this was working properly in the past, does this warehouses have autoscaling enabled?
โ01-02-2025 06:16 AM
"working properly in the past " its a diffrent issue that is connection failure added the profile.yml with your suggests it went well.
this is new issue : query's are going to orphan state (hang not moving) on sql warehouse
โ01-02-2025 07:28 AM
Do you have capability to open support case so we can look at your workspace?
โ01-02-2025 08:14 AM
yes we have a open ticket with MS EXT CHAT 2412190030007696
โ01-02-2025 09:03 AM
Thanks, MSFT might reach out to us and we will provide assistance
โ01-16-2025 03:41 AM
Databricks team resolved and applied a patch (spark config on sql warehouse).
โ01-16-2025 04:31 AM
Great to hear your issue got resolved
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