Forum Post: RE: GUID or not?

  • Thread starter Thread starter Alex Hart
  • Start date Start date
Status
Not open for further replies.
A

Alex Hart

Guest
Gus, I do understand that. :-) my gut feeling is just that the smaller the "random part" the greater the chance of duplication. Also the V1 GUID Algorithms tend to use MAC address and Time as part of the value but these are indicated by a 1 as the first digit/character on the 3rd grouping. These ID's are all Version 4 which are PSEUDO random number (number 4 in first digit of the 3rd grouping. And the numbers I generated today all had exactly the same values in the first 4 groupings. The UUID only changes from position 23 onwards. Not saying it is wrong, but merely asking id the GUID's could not be a bit more random? But I will go write some code to populate a table with extremely large number of GUID as primary keys and see how often duplication comes up. I am just interested in knowing how the IDs are created and if it could be improved upon. :-)

Continue reading...
 
Status
Not open for further replies.
Back
Top