Neo4j use only one core in Cypher query running

懵懂的女人 提交于 2019-12-07 16:10:49

问题


When i run a Cypher query in UI, only one core in server is going up and the query gets stuck or responds very slow.

I use Neo4j 3.0.7 Community.

Someone have idea what i can tune for using all cores?


回答1:


A single Cypher query is limited to a single thread. See this tweet from late 2015 by Stefan Armbruster:

A cypher statement is (in most cases) one transaction and therefore only on one thread.

If your query is slow, you can use various tricks for optimizing it: this blog post is a good starting point.



来源:https://stackoverflow.com/questions/41364713/neo4j-use-only-one-core-in-cypher-query-running

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!