These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: URGENT : Pb de performance sur DB2 for iSeries (jtopen 5.2)
PostPosted: Tue Nov 21, 2006 6:51 am 
Newbie

Joined: Fri Dec 09, 2005 5:16 am
Posts: 5
Hibernate version: 3.1

Driver JDBC : jtopen 5.2 (version open source jt400.jar)

Mapping documents:

<property name="hibernate.connection.url">jdbc:as400://myBase;libraries=*libl;naming=system</property>
<property name="hibernate.connection.driver_class">com.ibm.as400.access.AS400JDBCDriver</property>
<property name="hibernate.connection.isolation">1</property>
<property name="dialect">org.hibernate.dialect.DB2400Dialect</property>
<property name="hibernate.connection.username">login</property>
<property name="hibernate.connection.password">password</property>

<property name="show_sql">false</property>
<property name="format_sql">true</property>
<property name="hibernate.use_outer_join">true</property>
<property name="hibernate.query.substitutions">1</property>
<property name="hibernate.connection.autocommit">false</property>

<!-- configuration C3P0 -->
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
<property name="c3p0.acquire_increment">3</property>
<property name="c3p0.idle_test_period">180</property>
<property name="c3p0.max_size">100</property>
<property name="c3p0.max_statements">0</property>
<property name="c3p0.min_size">10</property>
<property name="c3p0.timeout">1000</property>

Problème :
Je travaille avec deux shémas identiques sur deux base différentes : Oracle 10g et DB2 for iSeries V5R3. Après mesure sur manipulation de 20 000 enregistrements, il apparaît que les traitements sur DB2 sont en moyenne 9 fois plus lent que sur Oracle.

Apparement, il existe des problèmes de compatibilité entre Hibernate et jtopen (http://opensource.atlassian.com/project ... e/HHH-1479?)

Vous avez une idée sur ce que je peux faire pour améliorer la situation ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.