What is a GUID (or UUID), and what is used for?
- A GUID (UUID) is a Gloabal Unique Idenfifier (Universally Unique identifier) that is used to identify information in computer systems in a way to avoid duplicates, in most real-life situations. Is is represented by a 128-bit number
- A GUID (UUID) makes data replication trivial - as opposed to integers ids, and it's usefull in combining multiple database sources
-
UUIDs were initially used by Apollo Computer in their Network Computing System (NCS) during the 1980s. The Open Software Foundation (OSF) later adopted UUIDs for their Distributed Computing Environment (DCE), drawing inspiration from the NCS UUID design. The DCE UUIDs were influenced by the 64-bit unique identifiers used in Domain/OS, an operating system created by Apollo Computer. Subsequently, Microsoft Windows platforms adopted the DCE UUID design, referring to them as Globally Unique Identifiers (GUIDs).
- GUIDs are generally unique across applications. While there's a possibility of duplicates, the likelihood depends on the number of records compared to the vast number of potential GUID combinations.