Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 97829 invoked from network); 16 Oct 2006 23:31:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 23:31:09 -0000 Received: (qmail 40374 invoked by uid 500); 16 Oct 2006 23:31:08 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 40351 invoked by uid 500); 16 Oct 2006 23:31:08 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 40342 invoked by uid 99); 16 Oct 2006 23:31:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 16:31:08 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mprudhomapache@gmail.com designates 72.14.214.230 as permitted sender) Received: from [72.14.214.230] (HELO hu-out-0506.google.com) (72.14.214.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 16:31:03 -0700 Received: by hu-out-0506.google.com with SMTP id 27so1175821hub for ; Mon, 16 Oct 2006 16:30:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=c4edEGW9f1xRC+gMt1sQhCg70yX0bV6Nh7yqCAPVUScSnHwqL424DJmmSoa86b6He+whaE+9eRBtfclqNs7TZn2l5H+zueIGt/3FgW8rX4Ew1/PzN5WHxl1rFj2qbFpBixPxaUsN5zrwB30BGOH+psqqjCg6940FDWW1NA4dpaM= Received: by 10.78.97.7 with SMTP id u7mr8429206hub; Mon, 16 Oct 2006 16:30:41 -0700 (PDT) Received: from ?10.32.7.135? ( [66.248.222.242]) by mx.google.com with ESMTP id 23sm1313508hud.2006.10.16.16.30.41; Mon, 16 Oct 2006 16:30:41 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <49BF64BA795F6A498EC2F04F39BAA8D3D97EC4@ptint5.peacetech.com> References: <49BF64BA795F6A498EC2F04F39BAA8D3D97EC4@ptint5.peacetech.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marc Prud'hommeaux Subject: Re: Why would Kodo refuse to batch inserts in certain tables? Big performance drop migrating to Kodo 4.1 Date: Mon, 16 Oct 2006 16:30:24 -0700 To: open-jpa-dev@incubator.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Marc Prud'hommeaux X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Alex- So you are saying that batching is working OK in general, just not for a particular class? And that this particular class was batching fine with previous versions? That is odd, although there are some cases where we might refuse to batch a particular class (because of a driver bug with batching certain column types, etc). As a shot in the dark, we do work around a bug in the Oracle JDBC driver's failure to batch date/time effectively. Can you post the SQL log that shows the series of SQL statements that should have been batched, but weren't? That might help shed light on it. Also, database and JDBC driver type/version would be useful. On Oct 15, 2006, at 7:30 PM, Roytman, Alex wrote: > Hello, > > > > While migrating to Kodo 4.1 I noticed significant drop in insert > performance. I trace it down to some strange batching behavior. While > most of the PC were committed with batched inserts one particular > class > refused to batch and would insert row by row resulting in 10 times > performance drop. > > > > There is nothing special about the class. Its hierarchy is mapped on > base its table except for one of the lowest members which is mapped > vertically. > > > > > > Thank you very much > > > > Alex Roytman > > Peace Technology, Inc. > > 301-206-9696x103 > > >