From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | hans wulf <lotu1(at)gmx(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: 9.1.3 Standby catchup mode |
Date: | 2012-04-11 05:07:59 |
Message-ID: | CAHGQGwEFhMWVyL03v-r37q66TskG_DoBu9_eTVqxswbG1cVGqg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Fri, Apr 6, 2012 at 1:35 AM, hans wulf <lotu1(at)gmx(dot)net> wrote:
> I am wondering how the catchup mode of a hot synchron slave server works on 9.1.3 if there is no WAL archive.
>
> Can the slave only request WALs that are still in the xlog directory of the master server? Or does the master regenerate some kind of fake log for the catchup mode?
No. If the WAL file which the standby requests doesn't exist in the
pg_xlog directory
of the master, replication just fails. In this case, you need to take
a fresh base backup and
start the standby from that backup.
> E.g. in case of a slave failure I could use a weekly backup and let the catchup mode do the rest? Or does that only work if you use WAL archive?
Or increase wal_keep_segments to high so that all WAL files which the
standby requests
are guaranteed to exist in the pg_xlog directory of the master.
Regards,
--
Fujii Masao
From | Date | Subject | |
---|---|---|---|
Next Message | 乔志强 | 2012-04-11 06:31:13 | Re: [streaming replication] 9.1.3 streaming replication bug ? |
Previous Message | hamann.w | 2012-04-11 04:17:14 | pltcl and modules |
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2012-04-11 05:35:59 | Re: [HACKERS] Regarding GSoc Application |
Previous Message | Atri Sharma | 2012-04-11 04:36:40 | Re: [HACKERS] Regarding GSoc Application |