cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Disk Usage: Why does the used disk space is far different from the sum of the other related metrics?

elwosto
Node Clone

Hi there,

I'm using Neo4j 3.4.9, and have been wondering why the reported disk space is correct (4.17GB) but the rest of the metrics don't add up. There are 2.3M nodes and 5.6M relationships. Most of the nodes are short texts (support ticket replies).

2X_1_17f690f33de6c4ddd3a889cefa15711ab84d5801.png

I've been using Kafka Streams to send data back and forward within the DB Engine and from/to outside, to other scripts etc.

Has anyone has any advice on this?

1 ACCEPTED SOLUTION

I guess the delta might be transaction log files. See https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs/.

Maybe branched data stores as well if you use HA style clustering.

View solution in original post

3 REPLIES 3

I guess the delta might be transaction log files. See https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs/.

Maybe branched data stores as well if you use HA style clustering.

HI Elwosto,

The answer is as follows, the Total Store Size = the physical data store files (as in the table above) + the transaction log files size (neostore.transaction.db.). So if you doing a lot of write transactions in a short time the transaction log space can be big. Standard the transaction log files are kept for 7 days.

regards

Thanks guys, it's very likely that! Considering almost every node was created using a new transaction, it makes a lot of sense.

Thanks a lot. I'll keep an eye on it next week.