Re: pg_xlog

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: pg_xlog
Дата
Msg-id 4B742E4A020000250002F1F4@gw.wicourts.gov
обсуждение исходный текст
Ответ на pg_xlog  (Albert Shih <Albert.Shih@obspm.fr>)
Ответы Re: pg_xlog
PG_DUMP backup
Список pgsql-admin
Albert Shih <Albert.Shih@obspm.fr> wrote:

> How can I clean up the pg_xlog directory ?
>
> I've 710 go of those file.
>
> I've archive_mode on but not in the pg_xlog directory
> I've something like
>
> archive_mode = on               # allows archiving to be done
> archive_command = 'cp -i %p /databases/Archives/WAL/%f </dev/null'

It will keep each WAL file until your archive command which is
supposed to copy it completes with an exit code of zero.  It sounds
like that's not happening.  What does that destination directory
look like?  What messages are you seeing in your log files?

> so can I just do
>
>     postgresql stop
>     rm f pg_xlog/*
>     postgresql start

No.

-Kevin

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

Предыдущее
От: Albert Shih
Дата:
Сообщение: pg_xlog
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_xlog