Fedora Looking To Transition The RPM Database From Berkeley DB To SQLite
Written by Michael Larabel in Fedora on 16 March 2020 at 11:45 AM EDT. 39 Comments
FEDORA --
As a move ultimately for Red Hat Enterprise Linux as well, Red Hat developers working on Fedora are planning to transition the RPM database (RPMDB) away from the long-standing Berkeley DB to using SQLite.

Since Oracle's acquisition of Berkeley DB developer Sleepycat Software in 2006, Berkeley DB's 6.0 release and newer has been under an AGPL license and commercial license rather than their previous free software license. That dual license change has kept RPMDB back on Berkeley DB even while the latest upstream of Berkeley DB is version 18.1.

Moving off the aging Berkeley DB 5 is long overdue but for Fedora 33 later this year might finally happen and a full transition away by Fedora 32 in one year's time.

In place of Berkeley DB, developers are looking at moving to the RPM database over to using SQLite. This ultimately should lead to a more robust RPM database as well once fully implemented and making use of SQLite's modern features.

More details on the RPMDB SQLite transition plans via this Wiki page. Also for Fedora 33 the plan is making use of RPM 4.16. With RPM 4.16 is the initial experimental SQLite back-end, an improved expression parser, SSD detection and optimization, and other features.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week