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

Determine max key/value sizes #117

Closed
benbjohnson opened this issue Apr 3, 2014 · 1 comment
Closed

Determine max key/value sizes #117

benbjohnson opened this issue Apr 3, 2014 · 1 comment
Assignees
Milestone

Comments

@benbjohnson
Copy link
Member

Currently there are max key and value sizes but they were conservative guesses when the project started. They need to be updated to the actual limits.

@benbjohnson
Copy link
Member Author

The current settings are safe and are above the range that's recommended to use. For example, large keys cause branch pages to grow since some keys are duplicated in branches. Really large values are probably a bad idea since there are a minimum two keys per page so changing one value will cause that value and the other value in the page to be copied to a new page (since Bolt is copy-on-write).

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

No branches or pull requests

1 participant