Re: qsort again (was Re: [PERFORM] Strange Create Index behaviour)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: qsort again (was Re: [PERFORM] Strange Create Index behaviour)
Date: 2006-02-16 04:54:54
Message-ID: 23297.1140065694@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

"Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu> writes:
> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote
>> No, I mean I ran the bit of SQL script I gave 100 separate times.

> I must misunderstand something here -- I can't figure out that why the cost
> of the same procedure keep climbing?

No, the run cost varies randomly depending on the random data supplied
by the test script. The reason the numbers are increasing is that I
sorted them for ease of inspection.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-16 05:27:40 Re: [HACKERS] Patch Submission Guidelines
Previous Message Qingqing Zhou 2006-02-16 04:51:32 Re: qsort again (was Re: [PERFORM] Strange Create Index behaviour)

Browse pgsql-performance by date

  From Date Subject
Next Message Gary Doades 2006-02-16 11:06:32 Re: [HACKERS] qsort again (was Re: Strange Create Index
Previous Message Qingqing Zhou 2006-02-16 04:51:32 Re: qsort again (was Re: [PERFORM] Strange Create Index behaviour)