Re: Variation between query runtimes

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Variation between query runtimes
Date: 2006-06-12 02:50:28
Message-ID: e6ikpj$1mo4$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


""John Top-k apad"" <topkapad(at)gmail(dot)com> wrote
>
> from pg_stast_get_blocks_fetched i can see that both queries need almost
the
> same number of disk fetches which is quite reasonable ( the index is
> unclustered).
>
> But as you can see there is a great variation between query
> runtimes.Cansomeone explain this differnce?
>

Can you give a self-contained example (including what you did to clear the
file system cache (maybe unmount?) to *not* let the 2nd query to use the
file content from the 1st query)?

Regards,
Qingqing

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Gourish Singbal 2006-06-12 05:56:23 Re: pgsql_tmp and postgres settings
Previous Message Joshua D. Drake 2006-06-11 23:21:54 Re: scaling up postgres