Re: How to calculate row sizes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Chris Hoover" <revoohc(at)sermonaudio(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to calculate row sizes
Date: 2005-01-04 08:50:33
Message-ID: 200501040950.34265.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Pallav Kalva 2005-01-04 14:56:11 max_fsm_relations
Previous Message Chris Hoover 2005-01-04 02:10:17 Re: How to calculate row sizes