pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Table size on disk
3+ messages / 3 participants
[nested] [flat]

* Table size on disk
@ 2003-05-20 14:58  Kris Kiger <kris@musicrebellion.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kris Kiger @ 2003-05-20 14:58 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

Is there a good way to tell how much physical space a table takes on 
disk?  Thanks

Kris




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Table size on disk
@ 2003-05-20 19:30  Cristina Surroca <cris@dmcid.net>
  parent: Kris Kiger <kris@musicrebellion.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Cristina Surroca @ 2003-05-20 19:30 UTC (permalink / raw)
  To: Kris Kiger <kris@musicrebellion.com>; +Cc: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Table size on disk
@ 2003-05-22 22:20  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Cristina Surroca <cris@dmcid.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2003-05-22 22:20 UTC (permalink / raw)
  To: Cristina Surroca <cris@dmcid.net>; +Cc: Kris Kiger <kris@musicrebellion.com>; 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@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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-05-22 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20 14:58 Table size on disk Kris Kiger <kris@musicrebellion.com>
2003-05-20 19:30 ` Cristina Surroca <cris@dmcid.net>
2003-05-22 22:20   ` Bruce Momjian <pgman@candle.pha.pa.us>

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