public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jeff Janes <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Commit with wait event on advisory lock!
Date: Tue, 21 Jan 2025 22:15:19 -0500
Message-ID: <CAMkU=1xhQfTfD+9HvumZVF1QeMZcj9HX3itctxDa=1gBY7SUng@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Tue, Jan 21, 2025 at 9:48 AM <[email protected]> wrote:

> Hi all,
>
>
>
> I have long commits on a production database. To know why this happens I
> organized a snapshot system on table pg_stat_activity.
>
> When I check the result I have this row in it:
>
>
>
> postgres=# select * from public.fdj_ms_slow_stmts where pid = 2285947 \gx
>

What is the full version()?  What is the query used to populate this
snapshot table?  Are the advisory locks being used as session-level locks
or transaction-level locks?

Cheers,

Jeff


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Commit with wait event on advisory lock!
  In-Reply-To: <CAMkU=1xhQfTfD+9HvumZVF1QeMZcj9HX3itctxDa=1gBY7SUng@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox