From: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
---|---|
To: | "Chatha, Karan (CMG-Atlanta)" <Karan(dot)Chatha(at)coxinc(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Replication Lag |
Date: | 2014-03-21 19:13:08 |
Message-ID: | 532C8F44.4030301@pinpointresearch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On 03/20/2014 07:42 PM, Chatha, Karan (CMG-Atlanta) wrote:
>
> We are having replication lag issues in our production environment.
> We are on postgres 9.015.
>
Er. 9.0.15?
>
> We have one master and 8 slaves. We don't see any loads or io on the
> slaves. All we see is replication lag which we measure in megs. We
> can reproduce
>
> this by doing transactions on the master and we see that transactions
> are not coming over to slave.
>
Are you seeing a *lag* in replication or no replication at all?
>
> Is there any way we are hitting a bug?
>
Possibly but I'm going to guess that the most likely location of the bug
is somewhere in your configuration. You need to provide more
information. This page is a good guide:
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
In particular, I'd like to know for starters:
0. What form of replication are you using? Bucardo? Slony? Pgpool?
Londiste? Mammoth? Hot-standby? Warm-standby? ...
1. Did it ever work?
2. If so, what changed? (configuration, upgrades, network, ???)
3. Are all machines on the same version?
4. Have you done any upgrades? If so, did you follow all the special
notes regarding each upgrade? Occasionally minor upgrades require steps
beyond simply replacing the binary and at times those have involved
replication issues.
5. Anything of interest in the logs on the master or any of the
standbys? Be sure sufficient logging is enabled.
Cheers,
Steve
From | Date | Subject | |
---|---|---|---|
Next Message | Chatha, Karan (CMG-Atlanta) | 2014-03-21 19:43:45 | Re: Replication Lag |
Previous Message | Fernando Hevia | 2014-03-21 16:01:16 | Re: Senha do postgres sendo alterada. |