Re: Size comparison between a Composite type and an - Mailing list pgsql-general

From Tom Lane
Subject Re: Size comparison between a Composite type and an
Date
Msg-id 11577.1141231932@sss.pgh.pa.us
Whole thread Raw
In response to Re: Size comparison between a Composite type and an  (denis@edistar.com)
List pgsql-general
denis@edistar.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

pgsql-general by date:

Previous
From: denis@edistar.com
Date:
Subject: Re: Size comparison between a Composite type and an
Next
From: "Roger Hand"
Date:
Subject: Re: Looking for a fix to index bloat