Re: Planner estimates and VACUUM/autovacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Planner estimates and VACUUM/autovacuum
Дата
Msg-id 17918.1391461412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Planner estimates and VACUUM/autovacuum  (Artur Zając <azajac@ang.com.pl>)
Список pgsql-performance
=?iso-8859-2?Q?Artur_Zaj=B1c?= <azajac@ang.com.pl> writes:
> That is strange for me. VACUUM updates pg_class.reltuples differently (only
> live roiws count) than autovacuum (live and dead rows). Why?

I don't have time to poke into this in detail right now, but I think
that more likely the issue is that ANALYZE might have a different rule
than VACUUM.  autovacuum will fire those operations independently, which
doesn't match what you're doing by hand.

Which is not to say that we shouldn't think about fixing that, but that
it's important to understand the problem clearly first.

            regards, tom lane


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

Предыдущее
От: Artur Zając
Дата:
Сообщение: Planner estimates and VACUUM/autovacuum
Следующее
От: Dattaram Porob
Дата:
Сообщение: Re: Increased memory utilization by pgsql backend after upgrade from 9.1.3 to 9.2.6