RPM Community Forums

Mailing List Message of <rpm-devel>

Re: size of db_* files in lib/rpm

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Mon 28 Jan 2008 - 09:29:04 CET
Message-ID: <20080128082904.GA9211@engelschall.com>
On Mon, Jan 28, 2008, Peter Kalbus wrote:

>> On embedded, you can likely eliminate all the db_* utilities.
>>
>> Of course when something breaks, you will be flying blind.
>>
>> db_stat is useful for diagnosing locking problems.
>> db_verify is useful if you need to check that the rpmdb is intact.
>> db_dump/db_load are necessary to convert with possible format changes.
>
> okay, that makes sence.
> are these utility the same for berkeley db and sqlite databases (including
> both abstractions) or only neded for berkeley db versions?

Only for Berkeley-DB. SQLite has a single CLI under sqlite3(1), but this
is not shipped with RPM and should be already installed externally when
you are building RPM against SQLite.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Mon Jan 28 21:37:32 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.