Neo4j use only one core in Cypher query running

2019-05-11 04:18发布

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?

标签: neo4j cypher
1条回答
闹够了就滚
2楼-- · 2019-05-11 05:08

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.

查看更多
登录 后发表回答