archethic-foundation / archethic-wallet

Archethic Wallet
GNU Affero General Public License v3.0
57 stars 25 forks source link

Compact Hive box #928

Open redDwarf03 opened 7 months ago

redDwarf03 commented 7 months ago

related to #283

Is your feature request related to a problem?

Hive is an append-only data store. When you change or delete a value, the change is written to the end of the box file. Sooner or later, the box file uses more disk space than it should. Hive may automatically "compact" your box at any time to close the "holes" in the file.

Describe the solution you'd like

It may benefit the start time of your app if you induce compaction manually before you close a box.

see: https://docs.hivedb.dev/#/advanced/compaction

Additional context

No response

Epic

No response

redDwarf03 commented 5 months ago

linked to https://github.com/archethic-foundation/archethic-wallet/issues/283