On 01/31/2016 04:17 PM, Jonathan Underwood wrote:
On 29 Jan 2016 10:03 pm, "Richard W.M. Jones"
<rjones(a)redhat.com> wrote:
>
>
> FWIW I found the new database backend (not mentioned anywhere in the
> original submission). It is here:
>
>
http://rpm.org/gitweb?p=rpm.git;a=tree;f=lib/backend/ndb
>
> Since this change has (rashly) been approved by FESCO, I guess we're
> going to be copying this code into some libguestfs tools, and we'll
> have to keep up with changes to RPM. It's a drag compared to using a
> real key-value store.
>
>
I wonder if the MDB (or LMDB) database from the openldap team was evaluated
as a possible BDB replacement?
LMDB seems a poor match because it requires the administrator to set a
maximum database size, its key length is limited compared to Berkeley DB
(which supports multi-megabyte keys). This means integrating it takes
more than just rewriting the API calls.
Florian