Re: Autovacuum versus rolled-back transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autovacuum versus rolled-back transactions
Дата
Msg-id 15412.1180660768@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Autovacuum versus rolled-back transactions  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Autovacuum versus rolled-back transactions  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> If we apply Heikki's idea of advancing OldestXmin, I think what we
> should do is grab the value from pgstats when vacuum starts, and each
> time we're going to advance OldestXmin, grab the value from pgstats
> again; accumulate the differences from the various pgstat grabs.  At the
> end we send the accumulated differences as the new dead tuple count.

Considering that each of those values will be up to half a second old,
I can hardly think that this will accomplish anything except to
introduce a great deal of noise ...
        regards, tom lane


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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Autovacuum versus rolled-back transactions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum versus rolled-back transactions