Re: Deleting old archived WAL files

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Deleting old archived WAL files
Дата
Msg-id 1225401988.3971.440.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: Deleting old archived WAL files  (Chander Ganesan <chander@otg-nc.com>)
Список pgsql-admin
On Thu, 2008-10-30 at 16:17 -0400, Chander Ganesan wrote:

> Why?  If you haven't saved a backup that you made previously (using
> pg_start_backup()), having archived wal files is useless.  I don't see
> why you just don't arbitrarily remove them immediately.
>
> WAL files are useful when you have a "starting point" (i.e., a backup
> made using the PITR backup method), and a set of WAL files generated
> "after" the starting point. If you don't preserve the start point
> (i.e., the PITR backup) then the WAL files are basically useless.

They are still better than nothing at all. I haven't read the whole
thread, but suggesting deleting things like that makes me go all
twitchy. :-). Do a couple of proper backups and then delete em.

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


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

Предыдущее
От: Chander Ganesan
Дата:
Сообщение: Re: Deleting old archived WAL files
Следующее
От: "pronix pronix"
Дата:
Сообщение: how i can restrict databaseusers ?