Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-08-2021 12:39 PM
Question: how much ‘storage space’ the each node in the database taking in Neo4j?
I understand that Nodes occupy 15B of space, relationships occupy 31B of space and properties occupy 41B of space.
Storage depends on the nodes, relationships and number of properties and index occupies ~30% approximately.
Also understand the below link.. Understanding Neo4j’s data on disk - Knowledge Base
I have used the below query to find out the node and relationship.
CALL db.relationshipTypes() YIELD relationshipType as type
CALL apoc.cypher.run('MATCH ()-[:'+type+'
]->() RETURN count(*) as count',{}) YIELD value
RETURN type, value.count
CALL db.labels() YIELD label
CALL apoc.cypher.run('MATCH (:'+label+'
) RETURN count(*) as count',{}) YIELD value
RETURN label, value.count
How to find out count of Properties and index for Customer node to find out the disk space calculations.
Thanks in Advance
Rameshkumar.s
03-08-2021 12:43 PM
Question : I need to calculate the how much ‘storage space’ the each node in the database taking in Neo4j?.. i need a help on formula and query for count (node,rel,property and index) for the calculations
03-09-2021 04:41 AM
Maybe you can try out this tool - Hardware Sizing Calculator - Neo4j Graph Database Platform
Ignore the hardware recommendations, but look at the disk usage computation.
All the sessions of the conference are now available online