Re: [HACKERS] Index creation takes for ever - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] Index creation takes for ever
Date
Msg-id 200312010502.hB152s918672@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Index creation takes for ever  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Index creation takes for ever
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> If qsort is to blame, then maybe this patch could help.  It sorts
> >> equal key values on item pointer.  And if it doesn't help index
> >> creation speed, at least the resulting index has better correlation.
>
> > I will try to apply it within the next 48 hours.
>
> I think this is a *very* dubious idea.  It introduces a low-level
> implementation dependency into our sort behavior on the strength of no
> more than an unfounded speculation that some platform's broken qsort
> might run faster.  Even if the speculation were proven true, I'd be
> hesistant to apply it.

Roger --- patch removed.  Thanks.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: unique hash indexes
Next
From: Bruce Momjian
Date:
Subject: Re: WIP: unique hash indexes