Re: [BUGS] BUG #1347: Bulk Import stopps after a while ( - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: [BUGS] BUG #1347: Bulk Import stopps after a while (
Date
Msg-id 41BEED57.2090904@opencloud.com
Whole thread Raw
Responses Re: [BUGS] BUG #1347: Bulk Import stopps after a while (  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Updated french translation for JDBC driver
Next
From: Markus Schaber
Date:
Subject: Re: [BUGS] BUG #1347: Bulk Import stopps after a while (