Re: Commit with wait event on advisory lock!

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: msalais(at)msym(dot)fr
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Commit with wait event on advisory lock!
Date: 2025-01-22 03:15:19
Message-ID: CAMkU=1xhQfTfD+9HvumZVF1QeMZcj9HX3itctxDa=1gBY7SUng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Jan 21, 2025 at 9:48 AM <msalais(at)msym(dot)fr> 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message shammat 2025-01-22 07:46:07 Re: Is there a way to check if objects are created with quotes or not?
Previous Message Gurjeet Singh 2025-01-22 01:32:13 Re: Is there a way to check if objects are created with quotes or not?