Re: vacuum problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "John R Pierce" <pierce(at)hogranch(dot)com>
Cc: "pgsql -bugs" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: vacuum problem
Date: 2004-09-11 01:56:25
Message-ID: 5003.1094867785@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"John R Pierce" <pierce(at)hogranch(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-09-11 01:58:48 Re: bug-report-template
Previous Message John R Pierce 2004-09-11 00:13:36 vacuum problem