Re: WAL and archive disks full

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WAL and archive disks full
Дата
Msg-id 16189.1282609022@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WAL and archive disks full  (Kieren Scott <kierenscott@hotmail.com>)
Ответы Re: WAL and archive disks full  (Kieren Scott <kierenscott@hotmail.com>)
Список pgsql-admin
Kieren Scott <kierenscott@hotmail.com> writes:
> [ hypothetical scenario: ]
> You can't start the instance because it needs to write to the WAL disk
> (which is full), but if you manually move WAL files off the WAL disk,
> the archiver will fail because it can't find WAL files it needs to
> archive.

Uh, no, that shouldn't be a problem.  You can manually move the same WAL
files that the archiver would move.  Look into the
pg_xlog/archive_status subdirectory.  Any WAL files that have a ".ready"
file in there can be moved to archive, and then you delete the .ready
file, and you're good to go.

Of course, if you don't have any .ready files, you're going to need to
look elsewhere for some disk space to reclaim :-(

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unable to drop role
Следующее
От: "Benjamin Krajmalnik"
Дата:
Сообщение: Re: pgBouncer for connection pooling