Re: proposal: enhancing slow query log, and autoexplain log about waiting on lock before query exec time

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: enhancing slow query log, and autoexplain log about waiting on lock before query exec time
Date: 2016-02-14 16:46:47
Message-ID: 19407.1455468407@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> We have a patch, that inject logs about the time waiting on locks before
> query execution. This feature helps us lot of, and I hope, it can be
> generally useful.

Doesn't log_lock_waits cover that territory already?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-02-14 16:51:14 Re: Bool btree_gin index not chosen on equality contraint, but on greater/lower?
Previous Message Fabien COELHO 2016-02-14 16:28:16 Re: extend pgbench expressions with functions