Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Set FillPercent=1.0 in 'bolt compact'. #696

Closed
wants to merge 1 commit into from
Closed

Conversation

dogben
Copy link

@dogben dogben commented Jun 11, 2017

By default, pages are split when they reach half full. For 'bolt compact' we want to fill the entire page for maximum compaction.

I tested on a copy of a production DB of 2.1G. Without setting FillPercent, 'bolt compact' outputs a 1.6G file. After this change, 'bolt compact' outputs a 1.1G file.

By default, pages are split when they reach half full. For 'bolt compact' we want to fill the entire page for maximum compaction.
@dogben
Copy link
Author

dogben commented Jun 15, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants