[Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
Neal Gompa (ニール・ゴンパ)
notifications at github.com
Sun Jan 15 15:03:09 UTC 2017
I think most of us are keenly aware that Berkeley DB 5.x is dead. While Oracle has Berkeley DB 6.x, it is licensed AGPLv3, which seems to make some people rather skittish.
As a potential alternative, why not use [LMDB](https://symas.com/products/lightning-memory-mapped-database/)? Projects like OpenLDAP, CFEngine, Postfix, etc. have moved to LMDB or use it by default from BDB after BDB 6 arrived.
LMDB is available in Fedora, Mageia, and openSUSE already, so the dependency would already be available for us to use. It should also be easy to support having internal LMDB like OpenSUSE does now for BDB (the [LMDB sources](https://github.com/LMDB/lmdb) look like they're built in a rather simple manner, so embedding it shouldn't be terrible).
According to [the LMDB web page on projects using LMDB](https://symas.com/products/lightning-memory-mapped-database/involvement-in-other-projects/):
> Note, because it’s so easy to modify BerkeleyDB-based projects to use LMDB instead, the list of BerkeleyDB-based adaptations is growing quickly.
I'm not sure how true it is, but it seems to bear out with the number of previously BDB users now being LMDB users.
LMDB is licensed under the OpenLDAP license, which is a BSD-style license, so people who freaked out over BDB 6 shouldn't be freaking out over LMDB.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint