Re: How to free disk space - Mailing list pgsql-general

From postgres Emanuel CALVO FRANCO
Subject Re: How to free disk space
Date
Msg-id f205bb120810210600k60ed8c8v9de9087db30d55d2@mail.gmail.com
Whole thread Raw
In response to How to free disk space  ("Ruben Blanco" <rubenblan@gmail.com>)
Responses Re: How to free disk space  (Robert Treat <xzilla@users.sourceforge.net>)
List 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@gmail.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

pgsql-general by date:

Previous
From: "Matthias Karlsson"
Date:
Subject: Re: How best to implement a multi-table constraint?
Next
From: "Philip W. Dalrymple"
Date:
Subject: Re: Session variables (how do I pass session data to a function)