cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

As an admin of a Databricks SQL environment, can I cancel long running queries?

User16826992666
Valued Contributor

I don't want one long or poorly written query to block my entire SQL endpoint for everyone else. Do I have the ability to kill specific queries?

1 ACCEPTED SOLUTION

Accepted Solutions

Digan_Parikh
Valued Contributor

You can go to the query dashboard, find the query and stop the query. Another way is to restart the endpoint.

View solution in original post

2 REPLIES 2

Digan_Parikh
Valued Contributor

You can go to the query dashboard, find the query and stop the query. Another way is to restart the endpoint.

DevB
New Contributor II

Is there a way to stop the session programmatically? like "kill session_id" or something similar in API?

Connect with Databricks Users in Your Area

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