Re: questions about a table's row estimates

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: questions about a table's row estimates
Дата
Msg-id 11912.1265912246@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: questions about a table's row estimates  (Ben Chobot <bench@silentmedia.com>)
Список pgsql-general
Ben Chobot <bench@silentmedia.com> writes:
> And unfortunately, Tom, we're not resetting stats counters. :(

Mph.  Well, the other thing that comes to mind is that n_live_tup
(and n_dead_tup) is typically updated by ANALYZE, but only to an
estimate based on ANALYZE's partial sample of the table.  If the
sample isn't very representative then it might be far off.
How does n_live_tup compare to an actual COUNT(*) count?

            regards, tom lane

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: problems maintaining boolean columns in a large table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump superflous warning message