From: Xavier Santana <xsantana@slash-solutions.com>
To: pgsql-jdbc@postgresql.org
Subject: Commit gets locked until vacuum is performed
Date: Mon, 12 Jul 2010 12:49:13 +0200
Message-ID: <4C3AF329.30200@slash-solutions.com> (raw)
Hi all,
I'm using JDBC driver 8.1-413.jdbc3 to access a PostgreSQL 8.1.3
database on windows.
Sometimes, when my application performs a commit of a transaction with
maybe 100 or 200 inserts, the operation gets locked, with no error
message or exception.
When that happens, if I perform a vacuum over the database (for example
from pgAdmin), the operation unlocks and the commit finishes correctly.
Any idea of what can be happening?
Thanks in advance.
Xavier
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: xsantana@slash-solutions.com
Subject: Re: Commit gets locked until vacuum is performed
In-Reply-To: <4C3AF329.30200@slash-solutions.com>
References: <4C3AF329.30200@slash-solutions.com>
* 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