Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
On 01/16/2017 02:51 AM, Neal Gompa wrote: On Sun, Jan 15, 2017 at 11:43 AM, Ralf Corsepiuswrote: On 01/15/2017 04:03 PM, Neal Gompa (ニール・ゴンパ) wrote: 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. Unless a different DB offers substantial advantages over BDB to RPM, which does not endanger or destabilize rpm, I do not see any reason to switch different DB. BDB 5 is unmaintained. There's no one upstream working on it, since Oracle has moved onto BDB 6. No one wants to use BDB 6. RPM should not depend on dead software. And there are significant performance advantages to LMDB, according to various benchmarks[1].And LMDB looks like it could enable making the RPMDB to be more resilient[2]. [1]: https://symas.com/products/lightning-memory-mapped-database/project-benchmarks/ [2]: https://symas.com/products/lightning-memory-mapped-database/feature-comparison/ Lies, statistics, benchmarks, vendor benchmarks... ditto with feature comparisons. BDB5 being unmaintained is a real concern though. - Panu - ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
On Sun, Jan 15, 2017 at 11:43 AM, Ralf Corsepiuswrote: > On 01/15/2017 04:03 PM, Neal Gompa (ニール・ゴンパ) wrote: > >> 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. > > > Unless a different DB offers substantial advantages over BDB to RPM, which > does not endanger or destabilize rpm, I do not see any reason to switch > different DB. > BDB 5 is unmaintained. There's no one upstream working on it, since Oracle has moved onto BDB 6. No one wants to use BDB 6. RPM should not depend on dead software. And there are significant performance advantages to LMDB, according to various benchmarks[1]. And LMDB looks like it could enable making the RPMDB to be more resilient[2]. [1]: https://symas.com/products/lightning-memory-mapped-database/project-benchmarks/ [2]: https://symas.com/products/lightning-memory-mapped-database/feature-comparison/ -- 真実はいつも一つ!/ Always, there's only one truth! ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
LMDB as an alternative to BDB would further help with targetting less-known and new platforms. and as far as I know, make RPM buildable and usable on midipix for example. -- 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/128#issuecomment-272751416___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
At https://bugzilla.redhat.com/show_bug.cgi?id=1086784, there also was kind of discussion about that. -- 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/128#issuecomment-272750293___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
On 01/15/2017 04:03 PM, Neal Gompa (ニール・ゴンパ) wrote: 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. Unless a different DB offers substantial advantages over BDB to RPM, which does not endanger or destabilize rpm, I do not see any reason to switch different DB. Ralf ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] RFE: Offer LMDB as an alternative engine to BDB for rpmdb (#128)
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: https://github.com/rpm-software-management/rpm/issues/128___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint