From: Alexey Bashtanov <bashtanov@imap.cc>
To: Chris Withers <chris@withers.org>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: debugging intermittent slow updates under higher load
Date: Thu, 6 Dec 2018 11:00:18 +0000
Message-ID: <9b949350-e294-c3f9-4d73-1eb05cad3819@imap.cc> (raw)
In-Reply-To: <df4814c9-b52e-8873-4022-82f7a2476f6c@withers.org>
References: <bda6cf39-08ad-322f-d562-49c042cb4012@withers.org>
<56acdbff-1e87-e1f9-3e9e-873685ad0e1e@imap.cc>
<df4814c9-b52e-8873-4022-82f7a2476f6c@withers.org>
> Is there any existing tooling that does this?
There must be some, google for queries involving pg_locks
> I'm loath to start hacking something up when I'd hope others have done
> a better job already...
If you log all queries that take more than a second to complete, is your
update the only one logged, or something (the would-be blocker) gets
logged down together with it?
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bashtanov@imap.cc, chris@withers.org
Subject: Re: debugging intermittent slow updates under higher load
In-Reply-To: <9b949350-e294-c3f9-4d73-1eb05cad3819@imap.cc>
References: <bda6cf39-08ad-322f-d562-49c042cb4012@withers.org> <56acdbff-1e87-e1f9-3e9e-873685ad0e1e@imap.cc> <df4814c9-b52e-8873-4022-82f7a2476f6c@withers.org> <9b949350-e294-c3f9-4d73-1eb05cad3819@imap.cc>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox