Re: wal archiving question - Mailing list pgsql-general

From Tom Lane
Subject Re: wal archiving question
Date
Msg-id 13564.1354743943@sss.pgh.pa.us
Whole thread Raw
In response to Re: wal archiving question  (akp geek <akpgeek@gmail.com>)
Responses Re: wal archiving question
List pgsql-general
akp geek <akpgeek@gmail.com> writes:
> thank you all. There is a mistake I did then. I created a base backup when
> I started the DB , that was exactly an year ago. I need to do that again
> and then delete the old files.

Yeah, you should be making new base backups a lot more frequently than
that, probably.  Consider: if your DB died today and you had to restore
from the base backup, you'd have to replay a year's worth of WAL to get
back where you were.  That'd take ages.  So the bloat in the archive
directory is just one reason not to do it like that.

            regards, tom lane


pgsql-general by date:

Previous
From: akp geek
Date:
Subject: Re: wal archiving question
Next
From: Glenn Pierce
Date:
Subject: Trigger / constraint issue