Re: New feature request: FlashBack Query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New feature request: FlashBack Query
Дата
Msg-id 19209.1171942780@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New feature request: FlashBack Query  (August Zajonc <augustz@augustz.com>)
Ответы Re: New feature request: FlashBack Query
Список pgsql-hackers
August Zajonc <augustz@augustz.com> writes:
> The key is how lightweight the setup could be, which matters because
> clients are not always willing to pay for a PITR setup. The low overhead
> would mean you'd feel fine about setting guc to 1hr or so.

This would have exactly the same performance consequences as always
having an hour-old open transaction.  I'm afraid that describing it
as "low overhead" is mere wishful thinking: it would cripple vacuuming
of high-update tables and greatly increase the typical load on pg_clog
and pg_subtrans.  We already know that pg_subtrans contention can be a
source of context-swap storms, with the size of the window back to
GlobalXmin being the controlling factor for how bad it gets.

It's possible that this last could be addressed by separating the
concept of "old enough to be vacuumed" from GlobalXmin, but it's
certainly not a trivial thing.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] WIP patch - INSERT-able log statements
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql: Fix for plpython functions; return true/false for boolean,