Re: index file bloating still in 7.4 ?

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: index file bloating still in 7.4 ?
Date: 2003-10-21 10:56:56
Message-ID: 20031021105655.GB9837@libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

A

--
----
Andrew Sullivan 204-4141 Yonge Street
Afilias Canada Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Harry Broomhall 2003-10-21 11:40:26 Re: Performance weirdness with/without vacuum analyze
Previous Message Josh Berkus 2003-10-21 00:55:12 SRFs ... no performance penalty?