Re: Online base backup from the hot-standby
Jun Ishiduka <ishizuka.jun@po.ntts.co.jp>
From: Jun Ishiduka <ishizuka.jun@po.ntts.co.jp>
To: robertmhaas@gmail.com, cedric.villemain.debian@gmail.com
Cc: pgsql-hackers@postgresql.org
Date: 2011-08-16T06:12:59Z
Lists: 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 actual writing 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 --------------------------------------------