Search code examples
orientdb

OrientDB disk utilization


I have been working with orientDB and stored about 120 Million records to it, the size on disk was 24 GB, I then I deleted all the records by running the following commands against console :

Delete from E unsafe
Delete from V unsafe

When i checked the DB size on disk it was also 24 GB, Is there anything extra I need to do to get free disk space?


Solution

  • In OrientDB when you delete a record the disk space remains allocated. The only way to free it is to export than re-import the DB.