RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM sqlite3 support

From: James Olin Oden <james.oden@gmail.com>
Date: Thu 14 Jan 2016 - 10:38:30 CET
Message-ID: <CAPWHxfJDvQNVpdRCEvQcpxuO8Wetk68i=Mt8A7_s+aZO3Zarpg@mail.gmail.com>
On Wed, Jan 13, 2016 at 12:10 PM, Jeff Johnson <n3npq@mac.com> wrote:

> Most of the applications that use an rpmdb appear to be a 1-time data
> scrape of an rpmdb
> (libguestfs with db_dump(1) and what has been done in yum/zypper in the
> past). A 1-time
> data scrape of an entire rpmdb perhaps indicates that no database
> whatsoever in rpm
> is what developers wish: there is no reason I know that a pile of *.rpm
> files cannot replace
> the /var/lib/rpm/Packages store and leave indexing to applications (which
> are doing the indexing
> into the data scrape already).
> *shrug*
> Exactly.   BTW, this sort of storage is not to far from the way nosql type
databases like mongodb stores things.   You essentially store documents
that are quickly retrievable, and then the indexing on the document's data
is done in the application (and sometimes with another database).

Either way though it would be a shame for RPM to lose it's ACID properties.
  That said the world is moving to doing rollbacks through a filesystem
snapshot (which I just noted was in RHEL 7 today) so maybe ACID becomes far
less important.

Received on Thu Jan 14 10:44:34 2016
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.