Re: Monitor pg_xlog size via SQL with postgres 9.4

From: Jehan-Guillaume de Rorthais <ioguix(at)free(dot)fr>
To: Sylvain Marechal <marechal(dot)sylvain2(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Monitor pg_xlog size via SQL with postgres 9.4
Date: 2016-09-22 12:48:25
Message-ID: 20160922144825.5421ff5e@firost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 22 Sep 2016 14:23:20 +0200
Sylvain Marechal <marechal(dot)sylvain2(at)gmail(dot)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,

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2016-09-22 13:16:36 Re: Monitor pg_xlog size via SQL with postgres 9.4
Previous Message Sylvain Marechal 2016-09-22 12:23:20 Monitor pg_xlog size via SQL with postgres 9.4