@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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to