Re: BUG #8681: column 'n_tup_del' of pg_stat_user_tables doesn't change in case of truncate

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8681: column 'n_tup_del' of pg_stat_user_tables doesn't change in case of truncate
Дата
Msg-id 18896.1387239428@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #8681: column 'n_tup_del' of pg_stat_user_tables doesn't change in case of truncate  (Rod Taylor <rod.taylor@gmail.com>)
Список pgsql-bugs
Rod Taylor <rod.taylor@gmail.com> writes:
> Why doesn't truncate reset table statistic to 0?

Well, it does reset the counts that correspond to current table size.
This one doesn't though.  n_tup_del is a count of historical operations.

            regards, tom lane

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

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs