Re: What's The Difference Between VACUUM and VACUUM ANALYZE?

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: What's The Difference Between VACUUM and VACUUM ANALYZE?
Дата
Msg-id 87hcqmi680.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: What's The Difference Between VACUUM and VACUUM ANALYZE?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-performance
"Alvaro Herrera" <alvherre@commandprompt.com> writes:

> Steinar H. Gunderson wrote:
>
>> Shoot me if I'm wrong here, but doesn't VACUUM ANALYZE check _all_ tuples,
>> as compared to the random selection employed by ANALYZE?
>
> You are wrong, but it won't be me the one to shoot you.
>
> There have been noises towards making the ANALYZE portion use the same
> scan that VACUUM already does, but nobody has written the code (it would
> be useful for some kinds of stats).

I think it does for the count of total records in the table.
But not for the rest of the stats.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: david@lang.hm
Дата:
Сообщение: Re: Best OS for Postgres 8.2
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: FW: