Re: Reduce heap tuple header size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reduce heap tuple header size
Дата
Msg-id 6173.1024064182@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Reduce heap tuple header size  (Manfred Koizar <mkoi-pg@aon.at>)
Ответы Re: Reduce heap tuple header size  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-patches
Manfred Koizar <mkoi-pg@aon.at> writes:
> This patch, which is built upon the "HeapTupleHeader accessor macros"
> patch from 2002-06-10, is supposed to reduce the heap tuple header size
> by four bytes on most architectures.  Of course it changes the on-disk
> tuple format and therefore requires initdb.

As I commented before, I am not in favor of this.  I don't think that a
four-byte savings justifies a forced initdb with no chance of
pg_upgrade, plus loss of redundancy (= reduced chance of detecting or
recovering from corruption), plus significantly slower access to
several critical header fields.  The tqual.c routines are already
hotspots in many scenarios.  I believe this will make them noticeably
slower.

            regards, tom lane

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

Предыдущее
От: Ron Snyder
Дата:
Сообщение: Re: guc.c and postgresql.conf.sample constistency check
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: guc.c and postgresql.conf.sample constistency checker