Neo4j可扩展性 [英] Neo4j Scalability

查看:160
本文介绍了Neo4j可扩展性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读此文章.它指出,Neo4j可以水平缩放,但是只能提高读取性能和容错能力...因此,将存储的图形复制到群集中的每个服务器上.但是,如果我有一个大于一个服务器可以存储的数据集怎么办? Neo4j在这种情况下会失败吗?在这种情况下,我是否必须垂直扩展并购买更大的HDD?

I have read this article. It states, that Neo4j can scale horizontally, but only to increase read performance and fault tolerance... so the stored graph is copied to each server in a cluster. But what if I have a dataset that is larger than one server can store? Does Neo4j fail in this situation? Do I have to scale vertically in this situation and buy larger HDD?

谢谢

推荐答案

是.您需要足够的硬盘驱动器空间才能在群集的所有节点上包含完整的图形,而无处可寻.

Yes. You need enough hard drive space to contain the full graph on all nodes of the cluster, no way around that.

如果您要引用RAM而不是硬盘空间,则不必将所有数据库都存储在内存中(由neo4j.conf中的pagecache设置定义),但这意味着您将击中所有pagecache未命中的磁盘.

If you're instead referring to RAM instead of hard drive space, then it isn't necessary to have all of the db in memory (defined by the pagecache setting in neo4j.conf), but that will mean you'll hit the disk on all pagecache misses.

这是文档中的内存配置部分有关详细信息.

Here's the memory configuration section in the docs for details.

这篇关于Neo4j可扩展性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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