pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matteo Sgalaberni <sgala@sgala.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: database bloat,non removovable rows, slow query etc...
Date: Fri, 01 Sep 2006 10:43:30 -0400
Message-ID: <4027.1157121810@sss.pgh.pa.us> (raw)
In-Reply-To: <20060901123915.GT2266@sgala.com>
References: <20060901123915.GT2266@sgala.com>

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).

			regards, tom lane



view thread (15+ messages)  latest in thread

Message-ID: <4027.1157121810@sss.pgh.pa.us>
Permalink:  ../4027.1157121810@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4027.1157121810@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, sgala@sgala.com
  Subject: Re: database bloat,non removovable rows, slow query etc...
  In-Reply-To: <4027.1157121810@sss.pgh.pa.us>

* 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