agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Tim Dudgeon <tdudgeon.ml@gmail.com>
To: pgsql-sql@postgresql.org
Subject: commit not completing - how to investigate?
Date: Fri, 21 Jul 2017 12:32:57 +0100
Message-ID: <5e59f5e0-7168-fb80-d038-7fe9adad4aa9@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
I have a situation where the pg_stat_activity view shows that can have
some processes that are idle and not completing. In some cases the
statement being executed is COMMIT.
How can I investigate WHY these processes are not completing. Presumably
they are waiting on something, but I'm not sure how to work out what
this is.
Thanks
Tim
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
view thread (4+ messages) latest in thread
Message-ID: <5e59f5e0-7168-fb80-d038-7fe9adad4aa9@gmail.com>
Permalink: ../5e59f5e0-7168-fb80-d038-7fe9adad4aa9@gmail.com/
Also on: postgresql.org/message-id/5e59f5e0-7168-fb80-d038-7fe9adad4aa9@gmail.com
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: pgsql-sql@postgresql.org
Cc: tdudgeon.ml@gmail.com
Subject: Re: commit not completing - how to investigate?
In-Reply-To: <5e59f5e0-7168-fb80-d038-7fe9adad4aa9@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