How to kill a currently long running query in Neo4j

前端 未结 5 971
失恋的感觉
失恋的感觉 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:06

    I think there is no way to abort queries in Neo4j.

    There is a way to kill long running queries automatically with the Guard stuff (you can pick either max number of operations or a timeout). There were some instructions sent out (couldn't find it immediately and I need to run).

提交回复
热议问题