Replication: How to query current segments allocation relative to "Wal keep segments"?

From: Edson Carlos Ericksson Richter <edsonrichter(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Replication: How to query current segments allocation relative to "Wal keep segments"?
Date: 2015-01-03 16:48:24
Message-ID: BLU436-SMTP1E0AF0536FB819B7634AACF5A0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm maintaining async replication (streaming) between four database
servers arranged on 2 x 2.
How to query current segments allocation relative to "Wal keep
segments" in each master server?
I want to add this query to Postbix in order to monitor if the "wal keep
segments" parameter is too short, like having an alert at 70%, for example.

Thanks,

Edson

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2015-01-03 17:05:39 Re: partial "on-delete set null" constraint
Previous Message John Casey 2015-01-03 16:33:53 ALTER TABLE to ADD BDR global sequence