[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss4.0.5 Datasource connection too slow

dax@einstix.com do-not-reply at jboss.com
Tue Aug 7 23:52:09 EDT 2007


Hi All,

I wonder if anybody else has faced this problem but, we are facing the following issue:

* Connection object from the JBoss connection pool setting below:
  <local-tx-datasource>
    <jndi-name>DefaultDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/einstix</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>20</max-pool-size>    
    <security-domain>EncryptDBPassword</security-domain>
      
       <type-mapping>mySQL</type-mapping>
      
    </local-tx-datasource>

* For a simple query of retrieving about 15000 records from a simple table takes upto 12 mins to process

Any suggestion what could be the problem.

Also note that if the same query is made using a connection obtained directly using the standard JDBC DriverManager.getConnection(), results processed within less than 30secs.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071815#4071815

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071815



More information about the jboss-user mailing list