如何将dbms.listQueries()过程添加到Neo4j 3.1.3实例?

时间:2017-05-02 05:56:02

标签: stored-procedures neo4j

我从Neo4j网络用户界面运行了一个耗时的查询,并意外地删除了浏览器页面。现在我对查询状态一无所知。在列表示例脚本/常用过程中的Web UI中,我找到了运行脚本的选项List running queries

// List running queries
CALL dbms.listQueries()

但结果是:

There is no procedure with the name `dbms.listQueries` registered for this database instance. 
Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

我建议,这个程序在某种程度上错过了我的Neo4j发行版,是否可以获取它的代码并将其添加到我的实例中?

2 个答案:

答案 0 :(得分:5)

您可能已对此进行了验证,但如果我查看https://neo4j.com/docs/operations-manual/current/monitoring/query-management/procedures/,则表明这些是Neo4j企业版功能。您正在运行Neo4j企业版?你得到的错误就是我对社区版的看法。

希望这有帮助!

此致 汤姆

答案 1 :(得分:0)

此功能直到3.5.14才适用于Community Edition。不确定将来的版本