Re: monitoring replicatgion : lag calculation

From: Ben Ciceron <ben(at)triggit(dot)com>
To: Lonni J Friedman <netllama(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: monitoring replicatgion : lag calculation
Date: 2011-09-12 18:13:58
Message-ID: CAOsHk6HmxHhD+VA+Bdq9oDcgUMPQEdOmB0PEji01QzNx4f2rfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

perfect - thx!

Cheers,
Ben-

On Mon, Sep 12, 2011 at 10:41 AM, Lonni J Friedman <netllama(at)gmail(dot)com> wrote:
> On Mon, Sep 12, 2011 at 10:04 AM, Ben Ciceron <ben(at)triggit(dot)com> wrote:
>> hello,
>>
>> question about WAL on pg 9.0 :
>>
>> the doc at http://www.postgresql.org/docs/9.1/static/warm-standby.html#SYNCHRONOUS-REPLICATION
>> (section 25.2.5.2. Monitoring) says:
>>
>>  You can calculate this lag by comparing the current WAL write
>> location on the primary with the last WAL location received by the
>> standby.
>>
>> but the WAL values i get are not 177/13C4E158 , 177/13C52BC0 so how to
>> calculate the lag ? should i apply a basic hex conversion first ?
>
> Pretty much.  See:
> http://archives.postgresql.org/pgsql-hackers/2010-11/msg00252.php
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message marvin.deoliveira 2011-09-12 18:29:24 How backup an entire database, except 6 tables?
Previous Message Lonni J Friedman 2011-09-12 17:41:50 Re: monitoring replicatgion : lag calculation