Neo4j 在 Cypher 查询运行中仅使用一个核心

标签 neo4j cypher

当我在 UI 中运行 Cypher 查询时,服务器中只有一个核心正在运行并且查询卡住或响应非常慢。

我使用 Neo4j 3.0.7 社区。

有人知道我可以为使用所有内核调整什么吗?

最佳答案

单个 Cypher 查询仅限于单个线程。看到这个 tweet来自 2015 年底 Stefan Armbruster :

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



如果你的查询很慢,你可以使用各种技巧来优化它:这个 blog post是一个很好的起点。

关于Neo4j 在 Cypher 查询运行中仅使用一个核心,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41364713/

相关文章:

Neo4j 事务锁定

database - Neo4j 将属性值限制为仅 x 变化

neo4j - 创建大量关系时内存不足

docker - 无法从同一网络中的另一个测试容器连接到 neo4j 测试容器

neo4j - Cypher查询使用neo4j 3.1.0版本查找最长路径

java - 删除neo4j中的多个节点及其关系

neo4j - SET 与 cypher 中的 CASE 语句结合使用

Neo4j/Cypher 有效分页,按超大子图排序

neo4j - 从 Neo4j 迁移到 Grakn

neo4j - 可视化图形数据库