The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PostgreSQL Disk Usage

Discussion in 'General Discussion' started by IdleServ, Jun 3, 2006.

  1. IdleServ

    IdleServ Active Member

    Joined:
    Oct 27, 2003
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    Thanks to the file layout of pg's data I am unable to determine who is using up 74GB of disk space :eek:

    phpPgAdmin isn't much help as I can't find any info about disk usage.

    Any tips?


    Thanks.
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    1) Go to WHM and install the postgresql-contrib rpm.
    2) Log into shell and su to postgres
    3) run /usr/bin/oid2name

    Voila! You will be shown the disk usage.
     
  3. IdleServ

    IdleServ Active Member

    Joined:
    Oct 27, 2003
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Nice one, thanks a lot :D
     
Loading...

Share This Page