Re: Variation between query runtimes - Mailing list pgsql-performance

From Qingqing Zhou
Subject Re: Variation between query runtimes
Date
Msg-id e6ikpj$1mo4$1@news.hub.org
Whole thread Raw
In response to Variation between query runtimes  ("John Top-k apad" <topkapad@gmail.com>)
List pgsql-performance
""John Top-k apad"" <topkapad@gmail.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



pgsql-performance by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: scaling up postgres
Next
From: "Gourish Singbal"
Date:
Subject: Re: pgsql_tmp and postgres settings