Skip to content

boltdb fragmentation #15397

Answered by ptabor
cenkalti asked this question in Q&A
Mar 2, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Please read: etcd-io/bbolt#401.

In short: With NoFreelistSync=True, your performance should not be severely impacted... just wested disk space.
Without NoFreelistSync, your perf will be affected due to need to update list of all free pages in each transaction.

But the cost of NoFreelistSync is paid during DB startup time (as it requires full scan on startup).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cenkalti
Comment options

cenkalti Mar 3, 2023
Collaborator Author

@ahrtr
Comment options

ahrtr Mar 3, 2023
Maintainer

@chaochn47
Comment options

@serathius
Comment options

Answer selected by ahrtr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants