Re: Slow SELECT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow SELECT
Дата
Msg-id 26762.1065199825@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow SELECT  (psql-mail@freeuk.com)
Ответы Re: Slow SELECT
Список 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 по дате отправления:

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: Server recommendations
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: updating records