Re: Monitor pg_xlog size via SQL with postgres 9.4 - Mailing list pgsql-general

From Jehan-Guillaume de Rorthais
Subject Re: Monitor pg_xlog size via SQL with postgres 9.4
Date
Msg-id 20160922144825.5421ff5e@firost
Whole thread Raw
In response to Monitor pg_xlog size via SQL with postgres 9.4  (Sylvain Marechal <marechal.sylvain2@gmail.com>)
List pgsql-general
On Thu, 22 Sep 2016 14:23:20 +0200
Sylvain Marechal <marechal.sylvain2@gmail.com> wrote:

> Hello all,
>
> is there a way to monitor the size of the pg_xlog directory in SQL? The
> goal is to monitor the pg_xlog file without ressorting to a 'du' like
> solution that needs a direct access to the machine.

You might be inspired by the following query:

https://github.com/OPMDG/check_pgactivity/blob/master/check_pgactivity#L6156

Regards,


pgsql-general by date:

Previous
From: Sylvain Marechal
Date:
Subject: Monitor pg_xlog size via SQL with postgres 9.4
Next
From: Francisco Olarte
Date:
Subject: Re: Monitor pg_xlog size via SQL with postgres 9.4