Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Strange Create Index behaviour



On Wed, 2006-02-15 at 16:51 -0500, Tom Lane wrote:
> Gary Doades <gpd(at)gpdnet(dot)co(dot)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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group