Neo4j在Cypher查询运行中仅使用一个核心 [英] Neo4j use only one core in Cypher query running
问题描述
当我在UI中运行Cypher查询时,服务器中只有一个核心正在运行,查询卡住或响应速度很慢.
我使用Neo4j 3.0.7社区. p>
有人知道我可以使用所有内核进行调整吗?
单个Cypher查询仅限于单个线程.请参阅
(大多数情况下)密码语句是一个事务,因此只能在一个线程上进行.
如果查询很慢,则可以使用各种技巧对其进行优化:博客文章是一个很好的起点.
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?
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.
这篇关于Neo4j在Cypher查询运行中仅使用一个核心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!