public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ulf Lohbrügge <[email protected]>
To: Tom Lane <[email protected]>
Cc: Scott Marlowe <[email protected]>
Cc: Andres Freund <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Slow execution of SET ROLE, SET search_path and RESET ROLE
Date: Wed, 8 Nov 2017 10:31:42 +0100
Message-ID: <CABZYQRJHhYEGXP6W19GoXajC6Ne3N+eUsn3sn_iC3a91xC=QvA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CABZYQR+Ku+iLFhqwY89QrrnKG9wKxckmssDG2rYKESojiohRgQ@mail.gmail.com>
	<[email protected]>
	<CABZYQR+GE7mV7qiTFGO3EqxdqV_TmSQyzY3ghSE1OfHabZcG7g@mail.gmail.com>
	<[email protected]>
	<CABZYQR+hepKxvDeMReZLcrYYmrhwFU3aX5qGG2QvDYT4V0wHDQ@mail.gmail.com>
	<CAOR=d=3t=y4A+5+iuSaPWj9zgKNin=9rf9+jvR4TAB+g_tXMVA@mail.gmail.com>
	<CABZYQRKGG6AohYi8U9aX+=iYidyWxCn8ratkiiN7YytmFJESNw@mail.gmail.com>
	<[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

2017-11-08 0:45 GMT+01:00 Tom Lane <[email protected]>:

> =?UTF-8?Q?Ulf_Lohbr=C3=BCgge?= <[email protected]> writes:
> > I just ran "check_postgres.pl --action=bloat" and got the following
> output:
> > ...
> > Looks fine, doesn't it?
>
> A possible explanation is that something is taking an exclusive lock
> on some system catalog and holding it for a second or two.  If so,
> turning on log_lock_waits might provide some useful info.
>
>                         regards, tom lane
>

I just checked my configuration and found out that "log_lock_waits" was
already enabled.

Unfortunately there is no log output of locks when those long running "SET
ROLE" statements occur.

Regards,
Ulf


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], [email protected]
  Subject: Re: Slow execution of SET ROLE, SET search_path and RESET ROLE
  In-Reply-To: <CABZYQRJHhYEGXP6W19GoXajC6Ne3N+eUsn3sn_iC3a91xC=QvA@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