Subject | Re: [firebird-support] GUID as PK |
---|---|
Author | Ann W. Harrison |
Post date | 2007-10-19T19:19:25Z |
Alexandre Benson Smith wrote:
them so the MAC address (which tends to be stable on any one server)
was first rather than last. That let the prefix compression eliminate
the duplicated bytes. New UUIDs are random, so the compression is
unpredictable.
Regards,
Ann
>The compression on old style UUIDs could be improved by inverting
> The number of index entries on a page will be of course small when one
> uses a UUID/GUID instead of a integer. I don't have numbers about how
> compression goes on a series of UUID/GUID values (since it's "random"
> the redundant data should be small and has poor compression). Maybe the
> compression ratio is terrible, maybe not so bad as one expects, I don't
> know... :-)
them so the MAC address (which tends to be stable on any one server)
was first rather than last. That let the prefix compression eliminate
the duplicated bytes. New UUIDs are random, so the compression is
unpredictable.
Regards,
Ann