Re: replication consistency checking

From: Venkata Balaji N <nag1010(at)gmail(dot)com>
To: hydra <hydrapolic(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: replication consistency checking
Date: 2015-06-04 06:27:48
Message-ID: CAEyp7J_ccGRLXnb6-qB2R=-fgUc7OUYLGSvhupRbshXbsVWuYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jun 4, 2015 at 2:49 PM, hydra <hydrapolic(at)gmail(dot)com> wrote:

> After setting up streaming replication, is it possible to check whether
> the slave has the same data as the master?
>
>
Yes. There are quite a few ways to check the sync status between master and
standby. Which version of PostgreSQL are you using by the way ?

Generally, you can easily build some scripts and schedule them in cron to
check the status. You can use functions or catalog views to monitor the
status, this depends on the version of PG you are using.

You can also use tools like "repmgr" to monitor and manage replication. I
am not 100% sure how good or efficient it is.

Regards,
Venkata Balaji N

Fujitsu Australia

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message hydra 2015-06-04 08:47:03 Re: replication consistency checking
Previous Message hydra 2015-06-04 04:49:31 replication consistency checking