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.

How to Reclaim Unused Storage Space in Community Edition?

TK36
Node Clone

I have deleted all the nodes and relationships in my database. However, I still can see that so much space is being taken. I found this guide in the neo4j website, but it doesn't seem to work for the community edition. When I type neo4j-admin in my shell I do not even get the command "copy" as an option. I found some posts online that suggest deleting some files in the path data/database/neo4j/... to get rid of the internal ids storage logs, while others recommend not doing so. I am not sure what's the correct way to handle this issue. I am using neo4j 4.4.5 and running it in ubuntu 20.04.

1 REPLY 1

Sorry for that, that should imho not be the case. I never realized that it was released as an EE feature.

https://neo4j.com/docs/operations-manual/current/backup-restore/copy-database/

Could you use an EE docker image to run neo4j-admin copy?
Or just install Neo4j EE e.g. via debian package (or put the enterprise tgz in a folder) and run it from there?

Don't do the manual deletes