Re: How to free disk space

From: "postgres Emanuel CALVO FRANCO" <postgres(dot)arg(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to free disk space
Date: 2008-10-21 13:00:30
Message-ID: f205bb120810210600k60ed8c8v9de9087db30d55d2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

After run VACUUM, you must run REINDEXDB to decrease indexes.

You can pg_resetxlog too, but you need restart server to do that.

2008/10/21 Ruben Blanco <rubenblan(at)gmail(dot)com>:
> Hi:
>
> My database is growing fast taking too much disk space. How can I free disk
> space without performing a VACCUM FULL? It locks the database for several
> hours, and that is not a solution.
>
> I guess a backup-restore would do the work but, isn't there a better way to
> do this without shutting down postgres?
>
> Thanks in advandce.
>
>

--
Emanuel Calvo Franco
Syscope Postgresql DBA
BaPUG Member

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philip W. Dalrymple 2008-10-21 13:01:54 Re: Session variables (how do I pass session data to a function)
Previous Message Matthias Karlsson 2008-10-21 12:31:53 Re: How best to implement a multi-table constraint?