Re: Proposal for CSN based snapshots

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Proposal for CSN based snapshots
Дата
Msg-id 53A19472.8020206@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Proposal for CSN based snapshots  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 06/18/2014 09:12 PM, Robert Haas wrote:
> No.  Otherwise, one of those bits could get changed after a backend
> takes a snapshot and before it finishes using it - so that the
> transaction snapshot is in effect changing underneath it.  You could
> avoid that by memorizing the contents of CLOG when taking a snapshot,
> but that would defeat the whole purpose of CSN-based snapshots, which
> is to make the small and fixed-size.

Ah.

Thankyou. I appreciate the explanation.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: API change advice: Passing plan invalidation info from the rewriter into the planner?
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Cube distance patch?