如何在Neo4j中终止当前长时间运行的查询 [英] How to kill a currently long running query in Neo4j
本文介绍了如何在Neo4j中终止当前长时间运行的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Neo4j中终止当前长时间运行的查询(无需重新启动服务器)?
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...
谢谢.
推荐答案
在版本> 3.1 Enterprise中提供</p>
Available in version >3.1 Enterprise with
CALL dbms.listQueries()
CALL dbms.killQuery(queryId)
管理员可以全部杀死"
Admins may "kill'em all"
还有
:queries
这篇关于如何在Neo4j中终止当前长时间运行的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文