On Mar 31, 2008, at 6:20 AM, Julien wrote: > What do you think is best practice? Also, how do you explain that > youtube, for example, only uses a dozen characters (and not 36 like a > UUID) to identify videos?
UUIDs are designed to be unique within a database no matter how many tables or rows are used. Not only that, but they are likely to be unique even after two databases are merged. So if YouTube and Google and the US Federal Gonverment and all the rest of the databases in the world were using UUIDs, and they all merged into one huge Omni- database, there would be ~40% chance of conflict. Since that’s not likely to happen any time soon, 12 characters are enough. And if YouTube and Vidder merge, they can just add a y/v to the end and that’s good enough. -- Peter of the Norse --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---