Re: Is there any way to force analyze to run on a whole table?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is there any way to force analyze to run on a whole table?
Дата
Msg-id 13455.1064879672@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is there any way to force analyze to run on a whole table?  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
Joseph Shraibman <jks@selectacast.net> writes:
> Is there any way to force analyze to run on a whole table?

No.  IIRC the sample size is 300 * <largest column statistic setting>,
so at most 300k rows.  In the current implementation, ANALYZE will
actually suck the entire sample into memory, so you really really don't
want it trying to analyze millions of rows anyway...

            regards, tom lane

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Rewriting pg_upgrade
Следующее
От: Phil Campaigne
Дата:
Сообщение: psql error:cannot open libpq.so.3