Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PostgreSQL Disk Usage

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

  1. IdleServ

    IdleServ Well-Known Member

    Joined:
    Oct 27, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    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:
    191
    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 Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice