How to tell how much of the database is being used for data. - Mailing list pgsql-general

From Steve Oualline
Subject How to tell how much of the database is being used for data.
Date
Msg-id E7E213858379814A9AE48CA6754F5ECB067510D0@mail01.stbernard.com
Whole thread Raw
Responses Re: How to tell how much of the database is being used for data.
List pgsql-general

Question: How can I tell how much free space is in the database itself?

Background: We want to keep as many records as possible in the
database as possible.  Currently we fill the database until the disk
usage reaches 80% then delete and VACUUM FULL the tables.

We'd like to just VACUUM but only VACUUM FULL is sure to
release disk space to the operating system.   However if we knew
how much space was free in the database itself, we could judge how
many new records we could dump into it.

Any help would be appreciated.

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Wrong length of bytea field
Next
From: brew@theMode.com
Date:
Subject: Re: Requesting LinuxWorld East staffers