pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cript for DISK SPACE USE psql
4+ messages / 4 participants
[nested] [flat]

* Cript for DISK SPACE USE psql
@ 2007-04-16 03:36 Trula Thomas <tthomas@cricketcommunications.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Trula Thomas @ 2007-04-16 03:36 UTC (permalink / raw)
  To: pgsql-admin

Hello, would anyone know the cript for disk space use (psql)? Please help.
Thank you
Trula



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

* Cript for DISK SPACE USE psql
@ 2007-04-16 05:40 Trula Thomas <trulathomas@yahoo.com>
  2007-04-17 08:28 ` Re: Cript for DISK SPACE USE psql Ashish Karalkar <ashish_postgre@yahoo.co.in>
  2007-04-18 04:19 ` Re: Cript for DISK SPACE USE psql adey <adey11@gmail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Trula Thomas @ 2007-04-16 05:40 UTC (permalink / raw)
  To: pgsql-admin

Hello, would anyone know the cript for disk space use (psql)? Please help.
 Thank you
 Trula
       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

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

* Re: Cript for DISK SPACE USE psql
  2007-04-16 05:40 Cript for DISK SPACE USE psql Trula Thomas <trulathomas@yahoo.com>
@ 2007-04-17 08:28 ` Ashish Karalkar <ashish_postgre@yahoo.co.in>
  1 sibling, 0 replies; 4+ messages in thread

From: Ashish Karalkar @ 2007-04-17 08:28 UTC (permalink / raw)
  To: Trula Thomas <trulathomas@yahoo.com>; pgsql-admin

You can use combinations of
  Database Object Size Functions to create the script.
  Hope this will help
  with regards
   
  Ashish...
  

Trula Thomas <trulathomas@yahoo.com> wrote:
  Hello, would anyone know the cript for disk space use (psql)? Please help.
Thank you
Trula    
---------------------------------
  Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos. 

       
---------------------------------
 Check out what you're missing if you're not on Yahoo! Messenger 

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

* Re: Cript for DISK SPACE USE psql
  2007-04-16 05:40 Cript for DISK SPACE USE psql Trula Thomas <trulathomas@yahoo.com>
@ 2007-04-18 04:19 ` adey <adey11@gmail.com>
  1 sibling, 0 replies; 4+ messages in thread

From: adey @ 2007-04-18 04:19 UTC (permalink / raw)
  To: Trula Thomas <trulathomas@yahoo.com>; +Cc: pgsql-admin

Try this:-

-- Query returns size of a database calculated from the no. 8k pages
allocated to tables
SELECT
-- *
 sum( relpages*8/1024 ) as MB
FROM
 pg_class
WHERE
-- relname != ''
-- relname = 'document'
 relnamespace = '2200'


On 4/16/07, Trula Thomas <trulathomas@yahoo.com> wrote:
>
> Hello, would anyone know the cript for disk space use (psql)? Please help.
> Thank you
> Trula
>
> ------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos.<http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3...;
>
>

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


end of thread, other threads:[~2007-04-18 04:19 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-04-16 03:36 Cript for DISK SPACE USE psql Trula Thomas <tthomas@cricketcommunications.com>
2007-04-16 05:40 Cript for DISK SPACE USE psql Trula Thomas <trulathomas@yahoo.com>
2007-04-17 08:28 ` Ashish Karalkar <ashish_postgre@yahoo.co.in>
2007-04-18 04:19 ` adey <adey11@gmail.com>

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