Re: Disk usage

From: "Jay O'Connor" <joconnor(at)cybermesa(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Disk usage
Date: 2003-05-08 15:45:37
Message-ID: 20030508084537.A1165@altaica
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2003.05.08 04:12 Shridhar Daithankar wrote:
> On 8 May 2003 at 12:41, Daniel Lublin wrote:
>
> >
> > Good day.
> >
> > I am wondering if there is some utility for postgresql, which can
> > display the amount of disk space that a database (and possibly even
> > more finer grained; a table) occupies?
>
> du in $PGDATA coupled with oid2name to figure out what is the object you
> are
> lookng at.
>
> HTH
>

Thanks, I found that helpful.

One question though is about the transaction log files on the px_log
directory I have two huge files totalling about 30 meg. One thing I'm
working on is figuring out how much disk usage I'll have for our data
compared to what we are using now. I'm wondering if I should count those
two files and if there is a way of eliminating them if they ever become not
needed

Thanks

Take care,
Jay

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-05-08 15:54:18 Re: Disk usage
Previous Message scott.marlowe 2003-05-08 15:42:59 Re: Postgresql on Solaris