[Rpm-maint] Rpm Database musings

Michael Schroeder mls at suse.de
Wed Mar 27 18:24:05 UTC 2013

On Thu, Mar 14, 2013 at 03:33:44PM +0200, Panu Matilainen wrote:
> What I've had in mind is lumping all the index stuff (possibly along with 
> actual data for the critical parts) into a single file so there'd be just 
> two files db-related files to worry about. But for now, I'm just happy to 
> have an alternative implementation for the pkgs + index databases to play 
> around with :)

I added 'rpmxdb', a meta database that can manage multiple sub-databases.
I changed the rpmidx code so that can can work both with files and
with rpmxdb.

The rpmxdb needs a bit of testing and improving (it doesn't shrink the
file yet if there's much free space), but it seems to work well and
it also is not slower than the file based code.


Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg

More information about the Rpm-maint mailing list