pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: validation of hot standby
Date: Thu, 28 Feb 2019 20:22:53 -0600
Message-ID: <05c604c1-7226-9fdf-309c-bf6f3d95abbd@gmail.com> (raw)
In-Reply-To: <BYAPR08MB50141E66E1604B49D3B6DA91AC760@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <BYAPR08MB50141E66E1604B49D3B6DA91AC760@BYAPR08MB5014.namprd08.prod.outlook.com>

On 2/28/19 8:00 PM, Julie Nishimura wrote:
> Hello,
> We set up our hot standby by putting master into archive mode and issuing 
> pg_basebackup command, and we are about to start our hot standby instance. 
> What are the things you suggest for validation (assuming it will come up 
> cleanly) and replication caught up?

Run the program pg_controldata on the secondary server. Specifically look 
for the last checkpoint timestamp.  It will lag some, depending on how 
checkpoint frequency is configured on the master.

>
> What do I need to check in addition, making sure the data is clean and not 
> corrupted?
>
> thanks for your help

-- 
Angular momentum makes the world go 'round.

view thread (2+ messages)

Message-ID: <05c604c1-7226-9fdf-309c-bf6f3d95abbd@gmail.com>
Permalink:  ../05c604c1-7226-9fdf-309c-bf6f3d95abbd@gmail.com/
Also on:    postgresql.org/message-id/05c604c1-7226-9fdf-309c-bf6f3d95abbd@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: validation of hot standby
  In-Reply-To: <05c604c1-7226-9fdf-309c-bf6f3d95abbd@gmail.com>
  References: <BYAPR08MB50141E66E1604B49D3B6DA91AC760@BYAPR08MB5014.namprd08.prod.outlook.com> <05c604c1-7226-9fdf-309c-bf6f3d95abbd@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox