Re: Reduce heap tuple header size

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Manfred Koizar <mkoi-pg(at)aon(dot)at>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Reduce heap tuple header size
Date: 2002-06-25 20:20:36
Message-ID: 10502.1025036436@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> Well, it turned out that pgbench does a terrible job with runtimes below
> 30 minutes. Seems that one checkpoint more or less can have a
> significant impact on the numbers reported by such run.

Yeah, it is *very* painful to get reproducible numbers out of pgbench.

> Using the above, the discussed change to the tuple header shows less
> than 1% difference.

So the bottom line is that there is probably no measurable performance
difference, but a 3% space savings, at least for average row lengths
comparable to those used in pgbench. (Obviously the space savings is
going to depend on average row length...)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2002-06-25 20:42:08 Re: Reduce heap tuple header size
Previous Message Jan Wieck 2002-06-25 20:15:45 Re: Reduce heap tuple header size

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-06-25 20:34:02 Re: Dependency / Constraint patch
Previous Message Jan Wieck 2002-06-25 20:15:45 Re: Reduce heap tuple header size