Subject | Re: [firebird-support] Who's using some GUID (Global Unique IDentifiers) in FB? |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-08T08:43:16Z |
Hi,
except when you have a network card in your PC. Then,
they use the MAC address (or something like that) from
the card, which is unique, and therefor become unique
IDs, unless your PC reboots in about half a second or so.
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> > However, it is guaranteed unique until the year 3040.From what I understood, GUIDs are basically random
>
> Can I ask where you got this snippet of information?
>
> Specifically the ideas of "guarantee" and "year 3040".
>
> I thought that GUIDs were effectively random numbers, created
> in such a way that the _chances_ of duplication were extremely
> small. But still only chance and not a guarantee.
except when you have a network card in your PC. Then,
they use the MAC address (or something like that) from
the card, which is unique, and therefor become unique
IDs, unless your PC reboots in about half a second or so.
> I am guessing that the date must come about from estimatingWith regards,
> how many computers there are generating so many GUIDs per
> second that a duplication is likely by that time. (Of course
> if you use GUIDs for a purely in-house database across 3 PCs
> you can probably expect them to be useful for much longer. :-)
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com