Re: Strange behaviour with a query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange behaviour with a query
Дата
Msg-id 20715.1239979038@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strange behaviour with a query  (Iñigo Martinez Lasala <imartinez@vectorsf.com>)
Список pgsql-admin
=?ISO-8859-1?Q?I=F1igo?= Martinez Lasala <imartinez@vectorsf.com> writes:
> ANALYZE;
> And everything working like a charm....

> What is the reason for this to happen? Is it common?

It sounds like you might never have ANALYZEd the database at all, or
anyway not have done so recently.  Recommended practice is to ANALYZE
at least as often as you vacuum.  Or turn on autovacuum and let it
take care of it.

            regards, tom lane

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

Предыдущее
От: Iñigo Martinez Lasala
Дата:
Сообщение: Re: Strange behaviour with a query
Следующее
От: Enrico Weigelt
Дата:
Сообщение: pg_dumpall + pgdump_oid table + incremental backup