Re: is it safe to clear oroginal xlog after archiving it?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: is it safe to clear oroginal xlog after archiving it?
Дата
Msg-id 1244135153.23910.231.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на is it safe to clear oroginal xlog after archiving it?  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
On Thu, 2009-06-04 at 14:42 +0200, hubert depesz lubaczewski wrote:

> if zero-ing the files was safe, i could compress them more effectively.

Simple rule: Never, ever, ever remove or edit any file in pg_xlog.

There is a command called pg_resetxlog, though that is not designed to
reduce the amount of space in pg_xlog and using it can cause data loss
if used inappropriately.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


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

Предыдущее
От: Rastislav Hudak
Дата:
Сообщение: Re: recursive execute
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Using a multi-valued function in a view