How to kill a currently long running query in Neo4j
neo4j
Solution
Available in version >3.1 Enterprise with
CALL dbms.listQueries()
CALL dbms.killQuery(queryId)
Admins may "kill'em all"
There is also
:queries
Problem
How can I kill a currently long-running query in Neo4j (without restarting the server)? I know we can globally set a timeout for queries, but sometimes I want to execute heavy queries/creates/updates on the server that could take a while... Thanks.