[katello-devel] key-value pairs for objects in katello db

Bryan Kearney bkearney at redhat.com
Wed Aug 15 16:28:49 UTC 2012


On 08/15/2012 10:38 AM, Dmitri Dolguikh wrote:
> On 15/08/12 02:26 PM, Tom McKay wrote:
>> One of the design tasks for this sprint is to come up with a way to
>> associate key-value pairs to systems and subscriptions. This would be
>> similar to the system facts that exist. It would be nice to allow
>> these pairs to exist on other objects now or in the future as well
>> (eg. activation keys).
>>
>> Question: What is the best way to model this in the katello db? Joins
>> or something?
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
> How many key-value pairs are we looking at: per system/per
> subscription/total per katello installation? Should they be mutable? The
> question was raised about searching - do we need to support it?

Per org. I would like to annotate all subscriptions with certain values. 
So, there is a notion of the class, and then the instance with values.

>
> If the total number of key-value pairs is low (doesn't cross a million
> rows threshold) it should work ok, although searches will start to slow
> down when approaching the threshold above.
>

Less than a million :)

-- bk





More information about the katello-devel mailing list