ByteStorage / FlyDB

The high-performance kv storage engine based on bitcask paper made in golang
Apache License 2.0
1.22k stars 99 forks source link

[FEATURE REQUEST] - Implement GC or Shrink of data #300

Open sujit-baniya opened 8 months ago

sujit-baniya commented 8 months ago

As BadgerDB and BuntDB supports GC collector for shrinking the data on timely manner. It would help data for time series data.

Functions:


BuntDB->Shrink()

BadgerDB->RunValueLogGC(0.5)
github-actions[bot] commented 8 months ago

Thank you very much for your issue and we will discuss it.

sjcsjc123 commented 8 months ago

We will add a command to the cli tool in the future to support setting the timing compression time. Thank you for your feedback.