Co-Authored By:

Asked by: Beau Steinbrecht
technology and computing databasesWhat are the chances of a GUID collision?
Furthermore, what are the chances of generating the same GUID?
The term GUID is generally used by developersworking with Microsoft technologies, while UUID is used everywhereelse. 128-bits is big enough and the generation algorithm is uniqueenough that if 1,000,000,000 GUIDs per second were generatedfor 1 year the probability of a duplicate would be only50%.
Also know, how many GUID combinations are there?
GeneratingGUID Trivia: "There are 122 random bits (128 - 2 forvariant - 4 for version) so this calculates to 2^122 or5,316,911,983,139,663,491,615,228,241,121,400,000 possiblecombinations."
GUIDs are designed to be unique, notrandom. The GUID generation algorithm was designedfor uniqueness. It was not designed for randomness or forunpredictability. Indeed, if you look at an earlier discussion, youcan see that so-called Algorithm 1 is non-random and totallypredictable.