Re: Fast index build vs. PITR - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Fast index build vs. PITR
Date
Msg-id 200406010203.i51238520295@candle.pha.pa.us
Whole thread Raw
In response to Re: Fast index build vs. PITR  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: Fast index build vs. PITR
List pgsql-hackers
Christopher Kings-Lynne wrote:
> > What I'm thinking about right now is tweaking the index-build code to
> > write to WAL only if it sees that PITR is actually in use.  It would
> > have to look at the GUC variables to determine whether WAL archiving
> > is enabled.  If archiving isn't turned on, then we could assume that
> > rollforward from a past backup isn't needed in this installation, and
> > use the WAL-less index build method.
> 
> Seems reasonable.

What happens if someone turns on archiving while the index is being
built?  Is that possible?

I assume if someone turns on archiving in postgresql.conf, sighups the
postmaster, then does a tar backup, they should be able to do archiving,
no?


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CVS tip problems
Next
From: Neil Conway
Date:
Subject: Re: Converting postgresql.conf parameters to kilobytes