fixed size columns - Mailing list pgsql-general

From elein
Subject fixed size columns
Date
Msg-id 200304300041.h3U0fWBU044210@pimout1-ext.prodigy.net
Whole thread Raw
Responses Re: fixed size columns  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I have a very long, very narrow table that is taking up a few gigabytes.
The table is defined with varchar(n) fields and some character(n) fields.
I am assuming that the majority of all fields are filled.

Are these rows being stored on disk as aligned varlenas? Can I squish out some
space by arranging the columns to groups of 8 bytes? Or is each column
aligned separately on a new 8 byte boundary?  Or is this a futile exercise?

thanks,
elein

--
----------------------------------------------------------------------------------------
elein@varlena.com     Database Consulting     www.varlena.com
              I have always depended on the [QA] of strangers.


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: qsort (was Re: Solaris)
Next
From: Mark Kirkwood
Date:
Subject: Re: qsort (was Re: Solaris)