Neo4j "empty" database takes up a lot of disk space

I inserted ~ 2M nodes (via the Java API) and deleted them after a day or two of use (via java too). Now my db has 16k nodes and weighs 6 GB .

Why was this space not freed?

What could be the reason?

+4
source share
2 answers

The catalog data/graph.dbcontains several items:

  • Save yourself, split into several files
  • Indices
  • Transaction Log Files
  • Log Files (messages.log)

, keep_logical_logs. , , , .

, .

, , (, du) , Neo4j .

+10

, . , . , ( , , ).

, , , , .

, , ( - ), neo4j, - keep_logical_logs - 1-7 . ( ), .

+4

Source: https://habr.com/ru/post/1545697/


All Articles