[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpmdb compression?



On Fri, 25 Aug 2000, Jeff Johnson wrote:

> Rpm-4.0 uses db3 hash access for package headers, with a monotonically
> increasing instance number as retrieval key. Not using the packages.rpm
> offset as retrieval key means that dynamic garbage collection is possible, but
> then there are other performance heuristics (e.g. no. items per hash bucket)
> that may increase the size of the package header database (read: I dunno
> whether /var/lib/rpm/Packages is gonna be larger or smaller than
> /var/lib/rpm/packages.rpm).

It will almost certainly be larger right after --rebuilddb, but have a
significantly smaller steady state ( which is much more important). Nice
work on the db switch Jeff.

Erik

-------------------------------------------------------------------------------
|            "Who is John Galt?" - Atlas Shrugged by Ayn Rand		      |
|                                                                             |
|  Linux Application Development  --  http://people.redhat.com/johnsonm/lad   |





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []