Re: Small TRUNCATE glitch

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Small TRUNCATE glitch
Дата
Msg-id 20080403170234.GC22851@svana.org
обсуждение исходный текст
Ответ на Small TRUNCATE glitch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Small TRUNCATE glitch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Apr 03, 2008 at 11:58:11AM -0400, 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.

Wern't there complaints from people regularly truncating and
refilling tables getting bad plans because they lost the statistics?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

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

Предыдущее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: modules
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql \G command -- send query and output using extended format