Re: disk space

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

Bruce Momjian wrote:
> 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.

Actually, I wrote some stuff up for the 7.3 docs on this:

http://developer.postgresql.org/docs/postgres/diskusage.html

--
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

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2002-07-10 02:11:08 Re: Authentication in batch processing
Previous Message Bruce Momjian 2002-07-10 02:07:24 Re: disk space