pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Bahadur Singh <bahadursingh@yahoo.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: [BUGS] BUG #1347: Bulk Import  stopps after a while (
Date: Wed, 15 Dec 2004 02:40:39 +1300
Message-ID: <41BEED57.2090904@opencloud.com> (raw)
In-Reply-To: <20041214122627.22135.qmail@web50802.mail.yahoo.com>
References: <20041214122627.22135.qmail@web50802.mail.yahoo.com>

Bahadur Singh wrote:
> Finally I am able to force the driver to do the DEBUG
> level output on the console.
> 
> err.zip contains Debug level output.

OK, it looks like it is the connection deadlock issue, but triggered by 
a case I hadn't considered. For some reason every query in the batch is 
creating a new named statement on the backend .. and the statement 
cleanup process that happens before query execution is flooding 
statement Close commands down the connection on the second batch 
execution, which appears to deadlock the connection. The exact behaviour 
will be fairly unpredicatable as it depends on when the JVM does garbage 
collection.

I will try to find some time to investigate this properly tomorrow.

-O



view thread (17+ messages)  latest in thread

Message-ID: <41BEED57.2090904@opencloud.com>
Permalink:  ../41BEED57.2090904@opencloud.com/
Also on:    postgresql.org/message-id/41BEED57.2090904@opencloud.com

 · 

reply

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: oliver@opencloud.com, bahadursingh@yahoo.com, books@ejurka.com
  Subject: Re: [BUGS] BUG #1347: Bulk Import  stopps after a while (
  In-Reply-To: <41BEED57.2090904@opencloud.com>
  References: <20041214122627.22135.qmail@web50802.mail.yahoo.com> <41BEED57.2090904@opencloud.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