| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: pg_basebackup on slave running for a long time |
| Date: | 2016-11-22 16:42:43 |
| Message-ID: | 96382535-d73b-54b5-49cb-4146e94e3724@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 11/22/2016 2:34 AM, Subhankar Chattopadhyay wrote:
> So, the question here is while I apply update on Slave, how do I know
> if if it will be able to catch up or I need Wal archive? Is there a
> way I can determine this? In my case, while applying update on slave,
> the db process will be stopped, so the query, even if it gives correct
> value, won't help. Can anybody help in here?
if the slave it setup with the proper recovery commands to fetch from
the WAL archive, then when the slave is woken up after a slumber it will
attempt to recover as many WAL's as it can from the archive before it
resumes streaming. This will happen automatically.
--
john r pierce, recycling bits in santa cruz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John R Pierce | 2016-11-22 16:51:34 | Re: pg_basebackup on slave running for a long time |
| Previous Message | John R Pierce | 2016-11-22 16:40:35 | Re: How to open PGStrom (an extension of PostgreSQL) in Netbeans? |