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?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now