From: | aravind chandu <avin_friends(at)yahoo(dot)com> |
---|---|
To: | postgresql Forums <pgsql-general(at)postgresql(dot)org> |
Subject: | size of a table on postgresql |
Date: | 2008-08-12 16:39:09 |
Message-ID: | 850830.34014.qm@web31403.mail.mud.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello,
The following is the procedure to calculate the disk space occupied by
postgresql from a flat file.
In this I didn't understood some terms
24 bytes: each row header (approximate)
24 bytes: one int field and one text field
+ 4 bytes: pointer on page to tuple
here row header is taken as 24 bytes and in some sites it is given
row header as 40 bytes and in some 32 bytes
http://www.sbras.ru/rus/docs/db/postgres/doc/howto/faq-english.shtml#3.6
http://www.softlab.ntua.gr/facilities/documentation/unix/postgres/faq-english.html
Is the row header value is constant or it is variable?If so what could be the maximun value?
what is that additional +4bytes as pointer on page to tuple.
Should all these were fixed or is there any command to find the values for these fields?
Please post your comments on it.
Thank You,
Avin.
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2008-08-12 17:21:26 | Re: ftell error during pg_dump |
Previous Message | Bill Moran | 2008-08-12 16:26:44 | Re: automatic REINDEX-ing |