Re: Slow SELECT - Mailing list pgsql-general

From Tom Lane
Subject Re: Slow SELECT
Date
Msg-id 26762.1065199825@sss.pgh.pa.us
Whole thread Raw
In response to Slow SELECT  (psql-mail@freeuk.com)
Responses Re: Slow SELECT
List pgsql-general
psql-mail@freeuk.com writes:
> I am running a SELECT to get all tuples within a given date range. This
> query is much slwoer than i expected - am i missing something?

Well, it seems to be running at about 5 msec/row, which would be quite
respectable if each fetch required another disk seek.  I'm wondering why
you are (apparently) not managing to get more than one row per page
fetched.  What are your configuration settings --- particularly
shared_buffers?  Could we see the output of VACUUM VERBOSE for this
table?

            regards, tom lane

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Server recommendations
Next
From: "scott.marlowe"
Date:
Subject: Re: updating records