arcadedb icon indicating copy to clipboard operation
arcadedb copied to clipboard

Compress buckets

Open lvca opened this issue 8 months ago • 0 comments

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.

lvca avatar Apr 03 '25 01:04 lvca