Re: Adding new flags to XLogRecord

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding new flags to XLogRecord
Дата
Msg-id 16391.1221741538@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Adding new flags to XLogRecord  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Adding new flags to XLogRecord
Re: Adding new flags to XLogRecord
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Thu, 2008-09-18 at 12:40 +0100, Greg Stark wrote:
>> Why bit just add a new bitfield for flags if we need them? I'm usually  
>> the one worried about data density so perhaps I should be on the other  
>> side of the fence here but I'm not sure. The conventional wisdom is  
>> that wal bandwidth is not a major issue.

> In some cases, but my wish is also to minimise WAL volume as much as
> possible.

I'm with Greg on this one: baroque bit-squeezing schemes are a bad idea.

You still haven't answered the question of what you need four more bits
for (and why four more is all that anyone will ever need --- unless you
can prove that, we might as well just add another flag field).
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: [PATCHES] Infrastructure changes for recovery
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Adding new flags to XLogRecord