Re: Online base backup from the hot-standby - Mailing list pgsql-hackers

From Jun Ishiduka
Subject Re: Online base backup from the hot-standby
Date
Msg-id 201108160613.p7G6DXVC021099@ccmds32.silk.ntts.co.jp
Whole thread Raw
In response to Re: Online base backup from the hot-standby  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
> >> > * Not correspond yet
> >> >
> >> > ?* full_page_write = off
> >> > ? ?-> If the primary is "full_page_write = off", archive recovery may not act
> >> > ? ? ? normally. Therefore the standby may need to check whether "full_page_write
> >> > ? ? ? = off" to WAL.
> >>
> >> Isn't having a standby make the full_page_write = on in all case
> >> (bypass configuration) ?
> >
> > what's the meaning?
> 
> Yeah.  full_page_writes is a WAL generation parameter.  Standbys don't
> generate WAL.  I think you just have to insist that the master has it
> on.

Thanks. 

This has the following two problems.* pg_start_backup() must set 'on' to full_page_writes of the master that   is
actualwriting of the WAL, but not the standby.* The standby doesn't need to connect to the master that's actual writing
 WAL.  (Ex. Standby2 in Cascade Replication: Master - Standby1 - Standby2)
 

I'm worried how I should clear these problems.

Regards.



--------------------------------------------
Jun Ishizuka
NTT Software Corporation
TEL:045-317-7018
E-Mail: ishizuka.jun@po.ntts.co.jp
--------------------------------------------




pgsql-hackers by date:

Previous
From: Jun Ishiduka
Date:
Subject: Re: Online base backup from the hot-standby
Next
From: senthilnathan
Date:
Subject: Re: Backup's from standby