Search Postgresql Archives

Monitoring of a hot standby with a largely idle master

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I think that none of the recovery information functions (https://www.postgresql.org/docs/9.6/static/functions-admin.html#FUNCTIONS-RECOVERY-INFO-TABLE) can distinguish a hot standby which is connected to an idle master, versus one which is disconnected.  For example, because the master has crashed, or someone has changed the firewall rules.

Is there a way to monitor from SQL the last time the standby was able to contact the master and initiate streaming with it?  Other than trying to write a function that parses it out of pg_log?

Cheers,

Jeff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux