Re: Streaming replication status

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Streaming replication status
Дата
Msg-id 4B4CFA91.4050005@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Streaming replication status  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Streaming replication status  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Streaming replication status  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Re: Streaming replication status  (Josh Berkus <josh@agliodbs.com>)
Re: Streaming replication status  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
Bruce Momjian wrote:
> Right, so what is the risk of shipping without any fancy monitoring?
>   

You can monitor the code right now by watching the output shown in the 
ps display and by trolling the database logs.  If I had to I could build 
a whole monitoring system out of those components, it would just be very 
fragile.  I'd rather see one or two very basic bits of internals exposed 
beyond those to reduce that effort.  I think it's a stretch to say that 
request represents a design change; a couple of UDFs to expose some 
internals is all I think it would take to dramatically drop the amount 
of process/log scraping required here to support a SR system.

I guess the slightly more ambitious performance monitoring bits that 
Simon was suggesting may cross the line as being too late to implement 
now though (depends on how productive the people actually coding on this 
are I guess), and certainly the ideas thrown out for implementing any 
smart behavior or alerting when replication goes bad like Josh's 
"archiving_lag_action" seem based the deadline to get addressed 
now--even though I agree with the basic idea.

-- 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Streaming replication status
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Streaming replication status