Re: Vacuum issues..

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Eamonn Kent <ekent(at)xsigo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum issues..
Date: 2006-08-21 23:20:49
Message-ID: 44EA3FD1.4020505@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Eamonn Kent wrote:
> I am using PostgreSQL 8.1.4 for an embedded application. For some
> reason, vacuum is not able to identify rows that are candidates for
> removal (i.e., mark space as available).
[snip]
>
> If I shutdown our application and run a vacuum full, the space is
> recovered and the database size goes down to 150M.

The most common answer to this is that your application is leaving open
transactions just sitting there. VACUUM can't remove tuples that may
still need to be visible to a transaction that's been open for days.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mohan R 2006-08-22 04:20:34 unsubscribe
Previous Message Eamonn Kent 2006-08-21 18:42:50 Vacuum issues..