Re: slow query performance

Поиск
Список
Период
Сортировка
От Jeff
Тема Re: slow query performance
Дата
Msg-id 20031030082005.3878fc93.threshar@torgo.978.org
обсуждение исходный текст
Ответ на Re: slow query performance  (Shridhar Daithankar <shridhar_daithankar@myrealbox.com>)
Ответы Re: slow query performance
Список pgsql-general
> > For instance:
> >     SELECT station, air_temp FROM obs
> >          WHERE station = 'EGBB'
> >             AND valid_time > '28/8/03 00:00'
> >      AND valid_time < '28/10/03 00:00'
> >
> > takes 4 mins 32 secs.

How many rows should that return?
[explain analyze will tell you that]

and while that runs is your disk thrashing? vmstat's bi/bo columns will
tell you.

7.1 is quite old, but I do understand the pain of migraing to 7.3 [or
.4beta] with huge db's

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

В списке pgsql-general по дате отправления:

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: dump schema schema only?
Следующее
От: "Dave Weaver"
Дата:
Сообщение: Re: slow query performance