From: Peter Eisentraut <peter_e@gmx.net>
To: Chris Hoover <revoohc@sermonaudio.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to calculate row sizes
Date: Tue, 4 Jan 2005 09:50:33 +0100
Message-ID: <200501040950.34265.peter_e@gmx.net> (raw)
In-Reply-To: <41D9FB09.3060107@sermonaudio.com>
References: <MAILSERVERqp2T0apMH0000030f@mail.astudios.com>
<200501032155.20181.peter_e@gmx.net>
<41D9FB09.3060107@sermonaudio.com>
Am Dienstag, 4. Januar 2005 03:10 schrieb Chris Hoover:
> This faq is not very helpful. I really need to know the values for each
> type of column, and then how much to add for the overhead. It only
> gives a single example, and does not address the index size. Nor does
> it give the storage size for the various column types.
The storage requirements for each column type are quite evidently displayed in
the documentation about the data types. The overhead is shown in the FAQ.
If you want more precise values, create a table, fill it with values, run
VACUUM FULL, and look at the file system size. That's the only way you can
be sure.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: peter_e@gmx.net, revoohc@sermonaudio.com
Subject: Re: How to calculate row sizes
In-Reply-To: <200501040950.34265.peter_e@gmx.net>
References: <MAILSERVERqp2T0apMH0000030f@mail.astudios.com> <200501032155.20181.peter_e@gmx.net> <41D9FB09.3060107@sermonaudio.com> <200501040950.34265.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox