Re: [PATCHES] WAL logging freezing

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [PATCHES] WAL logging freezing
Дата
Msg-id 45422974.6010109@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [PATCHES] WAL logging freezing  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] WAL logging freezing  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Heikki Linnakangas <heikki@enterprisedb.com> writes:
>> I would've liked to give freezing a new opcode,
>>   but we've ran out of them (see htup.h).
>
> Hardly ... we have plenty of unused rmgr id's still.

Good point.

> The real issue that still has to be resolved is the interaction of all
> this stuff with PITR scenarios --- is it still safe to not log hint-bit
> updates when PITR is on?  I think it's premature to start writing
> patches until we've decided how this really needs to work.

Not logging hint-bit updates seems safe to me. As long as we have the
clog, the hint-bit is just a hint. The problem with freezing is that
after freezing tuples, the corresponding clog page can go away.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: bug in on_error_rollback !?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] WAL logging freezing