Re: Streaming Replication patch for CommitFest 2009-09 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Streaming Replication patch for CommitFest 2009-09
Date
Msg-id 4AAE69C4.9030407@enterprisedb.com
Whole thread Raw
In response to Re: Streaming Replication patch for CommitFest 2009-09  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-hackers
Greg Smith wrote:
> Putting on my DBA hat for a minute, the first question I see people
> asking is "how do I measure how far behind the slaves are?".  Presumably
> you can get that out of pg_controldata; my first question is whether
> that's complete enough information?  If not, what else should be monitored?
> 
> I don't think running that program going to fly for a production quality
> integrated replication setup though.  The UI admins are going to want
> would allow querying this easily via a standard database query.  Most
> monitoring systems can issue psql queries but not necessarily run a
> remote binary.  I think that parts of pg_controldata needs to get
> exposed via some number of built-in UDFs instead, and whatever new
> internal state makes sense too.  I could help out writing those, if
> someone more familiar with the replication internals can help me nail
> down a spec on what to watch.

Yep, assuming for a moment that hot standby goes into 8.5, status
functions that return such information is the natural interface. It
should be trivial to write them as soon as hot standby and streaming
replication are in place.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [PATCH] 8.5 plpgsql change for named notation: treat word following AS keyword as label v3
Next
From: Andrew Dunstan
Date:
Subject: Re: Streaming Replication patch for CommitFest 2009-09