Re: disk space

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: becks <becks(at)ultraviolence(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: disk space
Date: 2002-07-10 02:07:24
Message-ID: 200207100207.g6A27Ow13113@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

becks wrote:
> hello.
> how to check disk space usage for a single table?

Look at relpages in pg_class for that table. VACUUM the table first.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2002-07-10 02:09:41 Re: disk space
Previous Message ashwini sridhar 2002-07-10 01:51:03 unsubscribe me for heavens sakes!!!!!!!!!