[Rpm-maint] [rpm-software-management/rpm] RFE: Offer MDBX as an alternative engine to LMDB for rpmdb (#958)
erthink
notifications at github.com
Thu Nov 28 13:09:36 UTC 2019
@pmatilai, briefly **MDBX support 2 times longer keys than LMDB**.
In details:
- the key size limit depends from the database page size.
- for default (4K) pages MDBX now accepts keys up 1980 bytes (ie slightly less than half the page size).
- but this value will soon be revised down to be slightly less than 1/3 of the page size.
- MDBX allows you to set the page size when creating a database, ranging from 512 to 65536 bytes.
So, MDBX allow significant large key sizes, including MAX_PATH (ie 4096) with corresponding size of database page.
P.S. Seems this should be added to the "list of Improvements over LMDB".
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/958#issuecomment-559488562
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191128/7f036f34/attachment.html>
More information about the Rpm-maint
mailing list