Re: Size comparison between a Composite type and an

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: denis(at)edistar(dot)com
Cc: Douglas McNaught <doug(at)mcnaught(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Size comparison between a Composite type and an
Date: 2006-03-01 16:52:12
Message-ID: 11577.1141231932@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

denis(at)edistar(dot)com writes:
> I made three tables of one column using the three different data types
> and checked the size in bytes of the three tables.
> The results were not as expected.

You forgot to consider per-row overhead, including alignment padding.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Roger Hand 2006-03-01 17:32:24 Re: Looking for a fix to index bloat
Previous Message denis 2006-03-01 16:24:03 Re: Size comparison between a Composite type and an