Shu, Xinxin wrote:
CC technical list
Shu, Xinxin wrote:
Several other questions about lmdb
- does lmdb store one key-value pair in a single page?
Usually, yes, a key-value pair must fit in a single page. This is already documented.
http://symas.com/mdb/doc/group__mdb.html#gaaf0be004f33828bf2fb09d77eb3cef94
How lmdb organizes these key-value pairs in a single page
Not documented. You can read the explanation in the source code. It will not be documented elsewhere since implementation details like this aren't relevant to users, and DB internal formats are subject to change.
- if size is larger than single page size , how lmdb process this request?
Like all B+tree databases, it uses overflow pages.