Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group