Re: Status of autovacuum and the sporadic stats failures ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Status of autovacuum and the sporadic stats failures ?
Дата
Msg-id 12305.1170890019@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Status of autovacuum and the sporadic stats failures ?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> FWIW I'm thinking that the corresponding code for handling the backends'
> stats could be simplified, removing the hack that stores it in
> TopTransactionContext, and just having a call to the stats flush
> function in AbortTransaction and CommitTransaction.

Yeah, thanks for the idea.  The pgstats code itself is now decoupled
from transaction boundaries.  It still has one hack to know that
autovacuum wants to keep its stats for the whole run, but it'll probably
be a lot easier to whack it around the way you want now.
        regards, tom lane


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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: HOT for PostgreSQL 8.3
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Proposal: Commit timestamp