Re: Small TRUNCATE glitch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Small TRUNCATE glitch
Дата
Msg-id 20080403221353.GP2528@alvh.no-ip.org
обсуждение исходный текст
Ответ на Small TRUNCATE glitch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Small TRUNCATE glitch
Список pgsql-hackers
Tom Lane wrote:
> Just noticed that TRUNCATE fails to clear the stats collector's counts
> for the table.  I am not sure if it should reset the event counts or
> not (any thoughts?) but surely it is wrong to not zero the live/dead
> tuple counts.

Agreed, the live/dead counters should be reset.  Regarding event counts,
my take is that we should have a separate statement count for truncate
(obviously not a tuple count), and the others should be left alone.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: psql \G command -- send query and output using extended format
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql \G command -- send query and output using extended format