Re: Fast index build vs. PITR

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Fast index build vs. PITR
Дата
Msg-id 200406010203.i51238520295@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Fast index build vs. PITR  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: Fast index build vs. PITR  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: CVS tip problems
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Converting postgresql.conf parameters to kilobytes