Re: How to free disk space

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: How to free disk space
Дата
Msg-id 200810211246.03528.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответ на Re: How to free disk space  ("postgres Emanuel CALVO FRANCO" <postgres.arg@gmail.com>)
Ответы Re: How to free disk space  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
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@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

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

В списке pgsql-general по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: index scan leads to result that is different from sec scan after upgrading to 8.3.4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Varchar vs varchar(64)