Re: vacuum problem - Mailing list pgsql-bugs

From Tom Lane
Subject Re: vacuum problem
Date
Msg-id 5003.1094867785@sss.pgh.pa.us
Whole thread Raw
In response to vacuum problem  ("John R Pierce" <pierce@hogranch.com>)
List pgsql-bugs
"John R Pierce" <pierce@hogranch.com> writes:
> Got something really odd happening here.
> Simple test program, in java, with jdbc, postgres 7.4.5, on a redhat linux
> system...   app does a heavy loop of a prepared UPDATE, then Commit, 10000s
> of times.   the table has a few columns, nothing fancy at all.    On our
> Redhat Enterprise 2.1 server (dual xeon, 3GB ram, etc), I can't vacuum the
> table it generates, it won't free the 'dead' rows...

You've got some background client holding a transaction open.  Or else
the test program isn't really committing when you think it is.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Wes
Date:
Subject: "make check" failure on 8.0 b2
Next
From: Tom Lane
Date:
Subject: Re: bug-report-template