From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
To: rjsdg@sapo.pt
Subject: Re: BUG #14452: Unexpected transaction behaviour
Date: Tue, 6 Dec 2016 19:56:16 -0800
Message-ID: <7ff1a524-c292-eda3-6bd3-7d3c5976b419@hogranch.com> (raw)
In-Reply-To: <20161207024625.31175.32486@wrigleys.postgresql.org>
References: <20161207024625.31175.32486@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 12/6/2016 6:46 PM, rjsdg@sapo.pt wrote:
> The system normal throughput is about 110 transactions/min constantly
> without degradation. Recently a new Java module of the application was
> installed and when the app startups the system throughput starts to degrade
> to the point that reaches 50 transactions/min, it’s not an immediate
> downfall in the throughput but it looses like 5 to 10 transactions per
> minute until it reaches 50 transactions per minute. At this point if we
> terminate the only existing backend pid of the new Java module (that is in
> “idle in transaction” with a backend_xmin value) immediatly in the next
> minute the throughput rises again to 110 transactions/min.
'idle in transaction' for more than a short amount of time is bad news,
it blocks all maintenance activity like vacuuming, and causes frequently
updated tables and indexes to bloat badly.
--
john r pierce, recycling bits in santa cruz
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: pierce@hogranch.com, rjsdg@sapo.pt
Subject: Re: BUG #14452: Unexpected transaction behaviour
In-Reply-To: <7ff1a524-c292-eda3-6bd3-7d3c5976b419@hogranch.com>
References: <20161207024625.31175.32486@wrigleys.postgresql.org> <7ff1a524-c292-eda3-6bd3-7d3c5976b419@hogranch.com>
* 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