Mailinglist Archive: zypp-devel (68 mails)

< Previous Next >
[zypp-devel] status 15.5
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Tue, 15 May 2007 18:35:24 +0200
  • Message-id: <200705151835.25339.dmacvicar@xxxxxxx>

The cache schema has got support to store all attributes in a dynamic way. 
This means we will rarelly need to change the schema if the resolvable 
attributes change. Think of it as a meta-schema.

Right now the cache store is storing all attributes of packages , and getting 
a final size of 39 mb for complete stable-x86. Without filelists and 
changelogs. Wich is pretty good.

The schema is able to store any metadata for resolvables. And it is fast 
(almost sqlite disk-access time, that is 0.07 s ) to get any attribute on the 
fly.

The query-API also has got support to query all this. This will allow a 
flexible api for querying because you can specify the attributes as strings. 
It will get better when I start to use it in the CachedSource itself.

Also, the schema allows to specify a hint that a resolvable can share 
attribute with other one, in a weak-relation ship, that means, it is only a 
hint the reader of the cache can use. The query api will implement this hint.

Duncan
-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups