Re: Monitoring and insight into NOTIFY queue - Mailing list pgsql-general

From Jeff Janes
Subject Re: Monitoring and insight into NOTIFY queue
Date
Msg-id CAMkU=1x2aBL9t1nqLLSiMP5T+zD6U8TEgCM3FYR0Hj19tmYevw@mail.gmail.com
Whole thread Raw
In response to Monitoring and insight into NOTIFY queue  (Jiří Hlinka <jiri.hlinka@gmail.com>)
Responses Re: Monitoring and insight into NOTIFY queue  (Matthew Kelly <mkelly@tripadvisor.com>)
List pgsql-general
On Fri, Feb 19, 2016 at 6:01 AM, Jiří Hlinka <jiri.hlinka@gmail.com> wrote:
> Hello,
>
> I'd like to ask you whether there is a way how to monitor and log details
> about NOTIFY queue? What do you use for this prupose?
>
> In the official documentation I'm unable to find a way how to monitor NOTIFY
> queue in more detail, at least size of this queue, which is critical in case
> of filling up the queue, which will lead to stopping the NOTIFY queue
> functionality.


It won't help you now, but version 9.6 will introduce a new function
that should help:


Date:   Fri Jul 17 09:12:03 2015 -0400

    Add new function pg_notification_queue_usage.

    This tells you what fraction of NOTIFY's queue is currently filled.


Cheers,

Jeff


pgsql-general by date:

Previous
From: Josh berkus
Date:
Subject: Re: Replacement for Oracle Text
Next
From: Oleg Bartunov
Date:
Subject: Re: Replacement for Oracle Text