Re: Table size on disk

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Cristina Surroca <cris(at)dmcid(dot)net>
Cc: Kris Kiger <kris(at)musicrebellion(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Table size on disk
Date: 2003-05-22 22:20:54
Message-ID: 200305222220.h4MMKsH10710@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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(at)musicrebellion(dot)com>
> Cc: <pgsql-admin(at)postgresql(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message scott.marlowe 2003-05-22 22:23:44 Re: [GENERAL] Q: Structured index - which one runs faster?
Previous Message Larry Rosenman 2003-05-22 22:08:35 Re: audit trail