pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Sriram Dandapani <sdandapani@counterpane.com>
Cc: pgsql-jdbc@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [JDBC] number of transactions doubling
Date: Thu, 28 Sep 2006 22:24:28 +0000
Message-ID: <451C4B9C.9060108@opencloud.com> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF060E5AD6@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF060E5AD6@ca-mail1.cis.local>

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



view thread (11+ messages)  latest in thread

Message-ID: <451C4B9C.9060108@opencloud.com>
Permalink:  ../451C4B9C.9060108@opencloud.com/
Also on:    postgresql.org/message-id/451C4B9C.9060108@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-admin@postgresql.org
  Cc: oliver@opencloud.com, sdandapani@counterpane.com, pgsql-jdbc@postgresql.org
  Subject: Re: [JDBC] number of transactions doubling
  In-Reply-To: <451C4B9C.9060108@opencloud.com>
  References: <6992E470F12A444BB787B5C937B9D4DF060E5AD6@ca-mail1.cis.local> <451C4B9C.9060108@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