Re: Alternative variable length structure

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Alternative variable length structure
Date: 2005-09-08 18:22:28
Message-ID: 43208164.5090303@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ITAGAKI Takahiro wrote:

># select * from pgstattuple('txttbl');
>-[ RECORD 1 ]------+------
>table_len | 8192
>tuple_count | 1
>tuple_len | 57 <-- 28 + (5+3) + (5+3) + (5+3) + (5)
>...
>
># select * from pgstattuple('strtbl');
>-[ RECORD 1 ]------+------
>table_len | 8192
>tuple_count | 1
>tuple_len | 36 <-- 28 + 2 + 2 + 2 + 2
>
>
>

What's the break even point in datum length between the two styles of
header?

And what is the processing overhead of using variable header length?

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message J. Andrew Rogers 2005-09-08 19:21:47 Re: Alternative variable length structure
Previous Message Thomas Hallgren 2005-09-08 18:10:59 Re: Attention PL authors: want to be listed in template table?