From: Markus Schaber <schabi@logix-tt.com>
To: pgsql-performance@postgresql.org
Cc: Matteo Sgalaberni <sgala@sgala.com>
Subject: Re: database bloat,non removovable rows, slow query etc...
Date: Fri, 01 Sep 2006 18:09:31 +0200
Message-ID: <44F85B3B.6080106@logix-tt.com> (raw)
In-Reply-To: <4027.1157121810@sss.pgh.pa.us>
References: <20060901123915.GT2266@sgala.com>
<4027.1157121810@sss.pgh.pa.us>
Hi, Tom and Matteo,
Tom Lane wrote:
> Matteo Sgalaberni <sgala@sgala.com> writes:
>> 22 daemons that have a persistent connection to this database(all
>> connection are in "idle"(no transaction opened).
>
> You may think that, but you are wrong.
>
>> INFO: "cliente": found 0 removable, 29931 nonremovable row versions in 559 pages
>> DETAIL: 29398 dead row versions cannot be removed yet.
>
> The only way the above can happen is if there are some fairly old open
> transactions. Looking in pg_stat_activity might help you identify the
> culprit(s).
Another possibility might be an outstanding two-phase-commit transaction.
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
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: schabi@logix-tt.com, sgala@sgala.com
Subject: Re: database bloat,non removovable rows, slow query etc...
In-Reply-To: <44F85B3B.6080106@logix-tt.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