The probability of a collision with a random GUID is 0, for all intents and purposes. Even if you invented a true 100% collision-free ID, the probability of a collision wouldn't be any lower in practice, because the probability of there being a bug in your ID generator or a glitch in your computer hardware caused by a cosmic ray that would produce a collision despite your generated ID would be just as significant as the chance of a GUID collision.
To estimate the probability of a GUID collison, take n
to be the number of rows in your database. A random GUID has m = 122
random bits, so the probability of at least one collision in your database is
p(n) = 1 - (1-1/m)(1-2/m)...(1-(n-1)/m)
≈ n^2 / (2m)
Suppose n = 1,000,000,000
. In that case
p(n) ≈ (10^9)^2 / (2 * 2^122)
≈ 9.4 x 10^-20
The probability of having a RAM error (even with ECC) within 72 hours is astronomically higher!
So the answer is: a GUID is as collision-safe as you can possibly get on a real physical computer in a real physical universe.