arcadedb
arcadedb copied to clipboard
Compress buckets
Buckets containing vertices could be compressed by relocating vertices in the early pages of the buckets, deleting all the pages at the end that are empty. This would dramatically reduce the size of a bucket after many deletes.
Example:
Create 1M vertices, then delete the first 9,999,999 records, leaving the latest. This is kinda an extreme use case, but just for the sake of understanding, right now with ArcadeDB, the whole bucket would be allocated with most of the pages empty.