Re: Help:How do you find that how much storage is taken by the database?? - Mailing list pgsql-general

From Sevo Stille
Subject Re: Help:How do you find that how much storage is taken by the database??
Date
Msg-id 3950CEF1.23015169@ip23.net
Whole thread Raw
In response to Help:How do you find that how much storage is taken by the database??  (NEERAJ BANSAL <nbansal1@email.mot.com>)
List pgsql-general
Ron Peterson wrote:
>
> NEERAJ BANSAL wrote:
> >
> > Hi,
> >
> > How do you find that how much storage the data in the database or tables
> > is taking in bytes or any other format???
> > Is there any command which tells you this???
>
> ls -l /usr/local/pgsql/data/base

Which would give you the size of the directories, not the disk usage of
their content. Make that du -sk /usr/local/pgsql/data/base/*

Sevo

--
sevo@ip23.net

pgsql-general by date:

Previous
From: "Bryan White"
Date:
Subject: table contraints and pg_dump
Next
From: Marc Britten
Date:
Subject: boolean isn't boolean?