简体   繁体   English

neo4j需要多少内存来存储关系?

[英]How many memory need neo4j to store a relationship?

I have a lot of nodes and relationships to store to Neo4J. 我有很多节点和关系要存储到Neo4J。 I have 300k nodes and 10k different relationships types. 我有300k节点和10k不同的关系类型。 So, let's say two nodes are linked by the 10k different relationships, I will have 3 billion relationships to store. 因此,假设两个节点通过1万个不同的关系链接在一起,那么我将存储30亿个关系。

I wonder how many memory use one relationship in Neo4J. 我想知道Neo4J中有多少个内存使用一种关系。 The relationship has no properties and its name is just a number with 6 digits max. 该关系没有属性,其名称只是一个最大为6位数的数字。

Any idea? 任何想法?

Thanks 谢谢

请查看http://docs.neo4j.org/chunked/milestone/configuration-caches.html#_object_cache ,尤其是在“堆内存使用情况”下

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM