pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Cc: Andrew Sullivan <andrew@libertyrms.info>
Subject: Re: index file bloating still in 7.4 ?
Date: Tue, 21 Oct 2003 14:12:34 +0200
Message-ID: <3F9522B2.2010009@bigfoot.com> (raw )
In-Reply-To: <20031021105655.GB9837@libertyrms.info >
References: <p0510030cbbb7667a7f87@[192.168.10.52] >
<200310181458.15575.josh@agliodbs.com >
<p0510030dbbb79c742da5@[192.168.10.52] >
<16213.1066530060@sss.pgh.pa.us >
<p0510030ebbb7cabb0ceb@[192.168.10.52] >
<17172.1066542509@sss.pgh.pa.us >
<p05100313bbb852b0fe68@[192.168.10.52] >
<19692.1066578442@sss.pgh.pa.us >
<p05100318bbb86e62801a@[192.168.10.52] >
<15968.1066686172@sss.pgh.pa.us >
<20031021105655.GB9837@libertyrms.info >
Andrew Sullivan wrote:
> On Mon, Oct 20, 2003 at 05:42:52PM -0400, Tom Lane wrote:
>
>
>>hold of these dead rows instead of recycling them. I suspect you have
>>a client process somewhere that is holding an open transaction for a
>>long time ... probably not doing anything, just sitting there with an
>>unclosed BEGIN ...
>
>
> Which could be because you're doing something nasty with one of the
> "autocommit=off" clients. Most of the client libraries implement
> this by doing "commit;begin;" at every commit. This means you have
> way more idle in transaction connections than you think. Look in
> pg_stat_activity, assuming you've turned on query echoing.
Or is enough do a ps -eafwww | grep post
to see the state of the connections
Regards
Gaetano Mendola
view thread (18+ messages) latest in thread
Message-ID: <3F9522B2.2010009@bigfoot.com>
Permalink: ../3F9522B2.2010009@bigfoot.com/
Also on: postgresql.org/message-id/3F9522B2.2010009@bigfoot.com
copy link · copy postgr.es
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-performance@postgresql.org
Cc: mendola@bigfoot.com, andrew@libertyrms.info
Subject: Re: index file bloating still in 7.4 ?
In-Reply-To: <3F9522B2.2010009@bigfoot.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