Re: Monitoring and insight into NOTIFY queue

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Jiří Hlinka <jiri(dot)hlinka(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Monitoring and insight into NOTIFY queue
Date: 2016-02-19 19:18:23
Message-ID: CAMkU=1x2aBL9t1nqLLSiMP5T+zD6U8TEgCM3FYR0Hj19tmYevw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 19, 2016 at 6:01 AM, Jiří Hlinka <jiri(dot)hlinka(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2016-02-19 19:23:34 Re: Replacement for Oracle Text
Previous Message Josh berkus 2016-02-19 17:28:41 Re: Replacement for Oracle Text