From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Optimization of the alignment padding |
Date: | 2005-11-09 13:09:11 |
Message-ID: | 20051109130910.GB4731@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
ITAGAKI Takahiro wrote:
> After the subtransaction had been added,
> the size of HeapTupleHeader became 27 bytes.
> This consumes extra bytes per tuple for the alignment padding,
> especially on systems where MAXIMUM_ALIGNOF is 8.
There was a discussion during the 8.1 devel cycle about shortening the
HeapTupleHeader struct. It involved some games with the command Ids.
Maybe you'll want to look at that, as it could have an impact on what
you're trying to do here. It reduced the size of the header by 4 bytes.
There was even a detailed design posted by Tom, I see you were copied on
it:
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: "Jim C. Nasby" <jnasby(at)pervasive(dot)com>,
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,
ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>,
pgsql-hackers(at)postgresql(dot)org, mkoi-pg(at)aon(dot)at
Date: Wed, 07 Sep 2005 13:38:07 -0400
Subject: Re: [HACKERS] Remove xmin and cmin from frozen tuples
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Creager | 2005-11-09 14:28:28 | Re: SIGSEGV taken on 8.1 during dump/reload |
Previous Message | Alvaro Herrera | 2005-11-09 13:01:34 | Re: plperl error when making 8.2dev CVS |