How can I know the disk space used by a table?

From: "Andrea Aime" <aaime(at)comune(dot)modena(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: How can I know the disk space used by a table?
Date: 2001-08-07 14:17:23
Message-ID: 3B6FF873.E0284F04@comune.modena.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi everybody,
is there any way to have an estimate of the disk space used by a table?
Any system table to query, or something like this?
Using record size * record number is not always possible, if you use
a TEXT field the size used is 4+n, so it's dependent on inserted data.
best regards
Andrea Aime

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Åkerud 2001-08-07 14:39:42 Transactions and timestamps
Previous Message Mathieu Arnold 2001-08-07 14:13:59 Re: minimum hardware for Postgresql Install