Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 70CB1475BDD for ; Tue, 9 Jul 2002 22:09:42 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g6A29fo13384; Tue, 9 Jul 2002 22:09:41 -0400 (EDT) From: Bruce Momjian Message-Id: <200207100209.g6A29fo13384@candle.pha.pa.us> Subject: Re: disk space In-Reply-To: <200207100207.g6A27Ow13113@candle.pha.pa.us> To: Bruce Momjian Date: Tue, 9 Jul 2002 22:09:41 -0400 (EDT) Cc: becks , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200207/154 X-Sequence-Number: 4840 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026