Feb 2000

UIDs and DBOS

In the DBOS, every record in every table has a Unique Identity (UID) attribute. The use of this attribute "with no business meaning" is quite common in DB design, but the method of assigning UIDs can vary. I like to think of this UID as an indicator of the location the object occupies in an object space.

A UID authority is an object or function the generates keys for the system to use. It is the responsibility of the UID authority is to guarantee that the UIDs truly are unique.

There are three main ways that object UIDs are stored in databases.

Generation of Keys

Having a single authority distributing keys is ineffective, and a bottleneck. Here of some of the common solutions for replacing a single authority. Many solutions would mix the various types.

Arcavia plans to have DBOS use key servers. There are issues about single machines, with no access to keys. It may be solved by tracking an internal and external set of keys until true keys are available.