如何在 Neo4j 中终止当前长时间运行的查询 [英] How to kill a currently long running query in Neo4j

查看:16
本文介绍了如何在 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 with

Available in version >3.1 Enterprise with

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

管理员可能会杀死他们"

Admins may "kill'em all"

还有

 :queries

这篇关于如何在 Neo4j 中终止当前长时间运行的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆