Re: truncate transaction log

Поиск
Список
Период
Сортировка
От Sergei Shelukhin
Тема Re: truncate transaction log
Дата
Msg-id 1186512133.011190.171480@57g2000hsv.googlegroups.com
обсуждение исходный текст
Ответ на Re: truncate transaction log  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-general
On Aug 7, 9:57 pm, si...@2ndquadrant.com ("Simon Riggs") wrote:
> On Sun, 2007-08-05 at 03:45 -0700, Sergei Shelukhin wrote:
> > Is there any way to truncate WAL log in postgres?
> > We want to use full-backup strategy where we stop the server and copy
> > the data directory, however WAL log is taking dozens gigabytes of
> > spaces.
> > Is there any way to remove it while keeping the database operational/
> > restore-able by copying it back?
>
> Reduce the setting of checkpoint_segments to something more realistic.
>

Hmm. Reduced to 60, during the db conversion from MySQL Postgres used
to complain about this setting so I increased it to the sky. Thanks :)




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

Предыдущее
От: son@raider.co.nz
Дата:
Сообщение: How I can know a back up database is up to date
Следующее
От: Cantor
Дата:
Сообщение: Re: Internal Postgre SQL documentation