有什么方法可以检查Cypher查询的执行进度吗? [英] Is there any way of checking progress of Cypher query execution?

查看:74
本文介绍了有什么方法可以检查Cypher查询的执行进度吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我执行遍历整个很大图的查询.目前,其中一些耗时1000万,其他耗时3h甚至更多.但是,这仅仅是一个开始.几个小时后,我已经不得不中断其中的一些操作,因为我不知道它们是否会在10分钟或10年后结束.在执行过程中看到某种进度将非常有帮助.

I execute queries that go through the whole, quite big graph. At the moment some of them take 10m and others go up to 3h and even more. However, it is just a start. I already have to break some of them after a few hours because I do not know if they will end in ten minutes or 10 years. It would be very helpful to see some kind of progress during the execution.

推荐答案

目前尚不存在这样的功能.有计划提供一种在即将发布的版本中方便地终止正在运行的查询的方法.

At the moment such a feature does not (yet) exist. There is a plan to provide a way to kill a running query conveniently in one the upcoming releases.

同时,您可以使用一种不属于公共API的功能,称为保护功能.马克在 http://www上做了不错的文章. markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/

In the meantime you can go with a feature that is not part of the public API called guards. Mark did a nice writeup at http://www.markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/

这篇关于有什么方法可以检查Cypher查询的执行进度吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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