Unique IDs

Use this information to understand what Unique IDs are in the context of Cúram and how to use them in your application.

Unique IDs are numbers that are generated by the Cúram infrastructure for use as unique database keys. They come in two types:

  • Human-readable Unique IDs are ascending sequences of numbers, usually starting at 1, and are used as database keys where the key value might need to be presented in a User Interface to a human user.
  • Non-human-readable Unique IDs are typically large positive or negative values in the approximate range 1E-19 to 1E+19. The sequence of non-human-readable Unique IDs does not repeat (for 2^64 key values), but is random in a way that can improve database performance in some circumstances.

A Unique ID key set is a named non-repeating set of 2^64 Unique ID key values. Key sets can be configured by developers and used to generate Unique IDs for a particular purpose. Each key set can be configured to be human-readable or non-human-readable. The infrastructure uses a number of predefined key sets that must be configured as part of a Cúram installation.