hardfork
hardfork

Reputation: 3261

What is the real size of a Neo4j database?

In this article is written how to calculate the size of a Neo4j database. But the autohor ignores the (large) neostore.transaction.* files.

Using the command du -hc $NEO4J_HOME/data/databases/graph.db/*store.db* says "172 Mb" in my case, but the overview in the Neo4j-browser says 1.92GiB.

Which one is the "real" size?

Upvotes: 1

Views: 1372

Answers (1)

logisima
logisima

Reputation: 7478

It depends of what you called the database size.

The article has right if you considered only the data of the database.

Like you said, the calcul doesn't take in count the neostore.transaction.* because it's not your data, but the transaction log of Neo4j ; it's the same for the indexes.

Upvotes: 2

Related Questions