Re: [JDBC] number of transactions doubling - Mailing list pgsql-admin

From Oliver Jowett
Subject Re: [JDBC] number of transactions doubling
Date
Msg-id 451C4B9C.9060108@opencloud.com
Whole thread Raw
In response to number of transactions doubling  ("Sriram Dandapani" <sdandapani@counterpane.com>)
List pgsql-admin
Sriram Dandapani wrote:

> The target table has triggers that route data to appropriate tables. The
> tables to which data is routed has check constraints that do further
> inserts. (All of this happens in 1 jdbc transaction)
>
> I expect  JDBC Batching to generate fewer transactions depending on
> batch size.

Have you turned autocommit off?

-O

pgsql-admin by date:

Previous
From: "Paul B. Anderson"
Date:
Subject: Addendum on stored procedure array limits
Next
From: "Sriram Dandapani"
Date:
Subject: Re: [JDBC] number of transactions doubling