Re: pg_class : reltuples

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_class : reltuples
Дата
Msg-id 18391.974924420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_class : reltuples  (Sandeep Joshi <sjoshi@Zambeel.com>)
Список pgsql-general
Sandeep Joshi <sjoshi@Zambeel.com> writes:
> I had to run "vacuum" to get corect no.s.  Why is that? I thought
> "pg_class" will be upto date.

reltuples and relpages are just updated by vacuum (and maybe create
index).  They're not intended to be accurate values, only approximate
statistics.

            regards, tom lane

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