How to tell how much of the database is being used for data.

From: "Steve Oualline" <soualline(at)stbernard(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: How to tell how much of the database is being used for data.
Date: 2006-02-24 23:04:27
Message-ID: E7E213858379814A9AE48CA6754F5ECB067510D0@mail01.stbernard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message brew 2006-02-24 23:19:12 Re: [GENERAL] Requesting LinuxWorld East staffers
Previous Message Bruce Momjian 2006-02-24 21:57:31 Re: [GENERAL] Requesting LinuxWorld East staffers