[Rpm-metadata] random idea for future sqlite-db format changes
seth vidal
skvidal at fedoraproject.org
Fri Sep 5 17:09:49 UTC 2008
Create a reference table for requires since they are so often
duplicated.
requires_ref table:
unique key: reqname, flag, ver, pre
then in the requires table you'd have:
pkgkey, requires_ref.unique_key
then instead of the db holding 51K copies of 'libc.so.6' it only stores
one and is referenced over and over again.
Something to work on when we're feeling good about the idea of breaking
the db format version.
-sv
--
I only speak for me.
More information about the Rpm-metadata
mailing list