Primary key uniqueness in UltraLite

UltraLite can maintain primary key uniqueness using any of the techniques supported by MobiLink. See Maintaining unique primary keys.

One of these methods is to use a global ID. The global ID affects how the GLOBAL AUTOINCREMENT column values are generated. You need to use columns declared as GLOBAL AUTOINCREMENT when a MobiLink server must manage synchronizations for multiple clients.

GLOBAL AUTOINCREMENT is similar to AUTOINCREMENT, except that the domain is partitioned. UltraLite supplies column values only from the partition assigned to the database's global ID.

See also

Using GLOBAL AUTOINCREMENT in UltraLite
Determining the most recently assigned GLOBAL AUTOINCREMENT value
Overriding partition sizes for autoincremented columns