I am working on a project where I need to generate approximately 1 billion GUIDs.
I know GUIDs are not guaranteed to be unique but are unique almost all of the time.
If I generated a billion GUIDs, what is the probability that there will be a match?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Blogpost: GUIDs are globally unique, but substrings of GUIDs aren’t
The .NET GUID consists of
So the UUID probability quoted by Oscar does not work here. But if you create all your 1 billion GUIDs from one computer, there is no chance to get a duplicate (except you are playing with the clock 😉