X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 5C365924CF0 for ; Thu, 22 May 2003 20:25:46 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 99414-04 for ; Thu, 22 May 2003 20:25:15 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by developer.postgresql.org (Postfix) with ESMTP id 2E679924D45 for ; Thu, 22 May 2003 18:21:05 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h4MMKsH10710; Thu, 22 May 2003 18:20:54 -0400 (EDT) From: Bruce Momjian Message-Id: <200305222220.h4MMKsH10710@candle.pha.pa.us> Subject: Re: Table size on disk In-Reply-To: <001401c31f06$42ab1900$fe35393e@cris> To: Cristina Surroca Date: Thu, 22 May 2003 18:20:54 -0400 (EDT) Cc: Kris Kiger , 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-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/322 X-Sequence-Number: 8884 See monitoring disk space chapter in the docs. --------------------------------------------------------------------------- Cristina Surroca wrote: > select relname, relpages from pg_class; > relname is the table name. > relpages is number of pages of 8 K that needs the table to be stored. > > (sorry for my English) > > yours > > Cris.. > ----- Original Message ----- > From: "Kris Kiger" > Cc: > Sent: Tuesday, May 20, 2003 4:58 PM > Subject: [ADMIN] Table size on disk > > > > Is there a good way to tell how much physical space a table takes on > > disk? Thanks > > > > Kris > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 5: Have you checked our extensive FAQ? > > > > http://www.postgresql.org/docs/faqs/FAQ.html > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073