Re: Idea: recycle WAL segments, don't delete/recreate 'em - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Idea: recycle WAL segments, don't delete/recreate 'em
Date
Msg-id 200107181611.f6IGBpJ14163@candle.pha.pa.us
Whole thread Raw
In response to Re: Idea: recycle WAL segments, don't delete/recreate 'em  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Nonetheless, at some point an old WAL segment will become deletable
> (unless you have infinite space on your WAL disk).  ISTM that at that
> point, it makes sense to consider recycling the file rather than
> deleting it.

Of course, if you plan to keep your WAL files on the same drive, you
don't really need point-in-time recovery anyway because you have the
physical data files.  The only case I can keeping WAL files around for
point-in-time is if your WAL files are on a separate drive from the data
files, but even then, the page images should be stripped out and the WAL
archived somewhere else, hopefully in a configurable way to another
disk, tape, or networked computer.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Patrick Macdonald
Date:
Subject: Re: Idea: recycle WAL segments, don't delete/recreate 'em
Next
From: Philip Warner
Date:
Subject: Re: pg_depend