How to kill a currently long running query in Neo4j

前端 未结 5 977
失恋的感觉
失恋的感觉 2021-02-06 22:31

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

5条回答
  •  鱼传尺愫
    2021-02-06 23:08

    Available in version >3.1 Enterprise with

    CALL dbms.listQueries()
    CALL dbms.killQuery(queryId) 
    

    Admins may "kill'em all"

    There is also

     :queries
    

提交回复
热议问题