Re: slow queries after ANALYZE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: slow queries after ANALYZE
Дата
Msg-id 21669.1131744352@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: slow queries after ANALYZE  (DW <dwinner-lists@att.net>)
Список pgsql-performance
DW <dwinner-lists@att.net> writes:
> In the meantime, again I'm new to this -- I got pg_stats; which rows are
>   the relevent ones?

The ones for columns that are mentioned in the problem query.
I don't think you need to worry about columns used only in the SELECT
output list, but anything used in WHERE, GROUP BY, etc is interesting.

> Also, I am running postgresql-server-7.4.9 from FreeBSD port (with
> optimized CFLAGS turned on during compiling)
> OS: FreeBSD 5.4 p8

The hardware environment (particularly disks/filesystems) is relevant
too.

            regards, tom lane

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

Предыдущее
От: DW
Дата:
Сообщение: Re: slow queries after ANALYZE
Следующее
От: Kelly Burkhart
Дата:
Сообщение: Re: 8.x index insert performance