Re: Strange Create Index behaviour - Mailing list pgsql-performance

From Simon Riggs
Subject Re: Strange Create Index behaviour
Date
Msg-id 1140047481.12131.205.camel@localhost.localdomain
Whole thread Raw
In response to Re: Strange Create Index behaviour  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Wed, 2006-02-15 at 16:51 -0500, Tom Lane wrote:
> Gary Doades <gpd@gpdnet.co.uk> writes:
> > Interestingly, if I don't delete the table after a run, but just drop
> > and re-create the index repeatedly it stays a pretty consistent time,
> > either repeatedly good or repeatedly bad!
>
> This is consistent with the theory of a data-dependent performance
> problem in qsort.  If you don't generate a fresh set of random test
> data, then you get repeatable runtimes.  With a new set of test data,
> you might or might not hit the not-so-sweet-spot that we seem to have
> detected.

Agreed. Good analysis...

Best Regards, Simon Riggs


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: qsort again (was Re: Strange Create Index behaviour)
Next
From: Gary Doades
Date:
Subject: Re: qsort again (was Re: Strange Create Index behaviour)