On Tuesday 21 October 2008 09:00:30 postgres Emanuel CALVO FRANCO wrote: > After run VACUUM, you must run REINDEXDB to decrease indexes. > This is probably overkill, as you won't need to do this for a lot of tables in your database, and the locking issues are probably unhelpful. > You can pg_resetxlog too, but you need restart server to do that. > No No No!!! You should never ever ever run pg_resetxlog on a production machine!! I'm not sure where you got this idea, but it is a bad one to be sure! > 2008/10/21 Ruben Blanco <rubenblan@xxxxxxxxx>: > > 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 -- Robert Treat Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general