Re: Change sort order on UUIDs?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert Wojciechowski" <robertw(at)expressyard(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Change sort order on UUIDs?
Date: 2007-06-14 20:50:08
Message-ID: 20332.1181854208@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Robert Wojciechowski" <robertw(at)expressyard(dot)com> writes:
> I've been testing the new UUID functionality in 8.3dev and noticed that
> UUIDs are sorted using memcmp in their default in-memory layout,
> ...
> When done that way, you're going to see a lot of index B-tree
> fragmentation with even DCE 1.1 (ISO/IEC 11578:1996) time based UUIDs,

This claim seems like nonsense. Btrees don't care about the ordering
details of what they index.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-06-14 21:02:01 Re: Change sort order on UUIDs?
Previous Message Teodor Sigaev 2007-06-14 20:25:49 Re: tsearch_core patch: permissions and security issues