pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Cristina Surroca <cris@dmcid.net>
Cc: Kris Kiger <kris@musicrebellion.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Table size on disk
Date: Thu, 22 May 2003 18:20:54 -0400 (EDT)
Message-ID: <200305222220.h4MMKsH10710@candle.pha.pa.us> (raw)
In-Reply-To: <001401c31f06$42ab1900$fe35393e@cris>


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" <kris@musicrebellion.com>
> Cc: <pgsql-admin@postgresql.org>
> 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



view thread (3+ messages)

Message-ID: <200305222220.h4MMKsH10710@candle.pha.pa.us>
Permalink:  ../200305222220.h4MMKsH10710@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200305222220.h4MMKsH10710@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, cris@dmcid.net, kris@musicrebellion.com
  Subject: Re: Table size on disk
  In-Reply-To: <200305222220.h4MMKsH10710@candle.pha.pa.us>
  References: <001401c31f06$42ab1900$fe35393e@cris> <200305222220.h4MMKsH10710@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox