Re: Is jdbc replication driver slower than normal jdbc driver ?
connection.xml;
<database>
<vendor>mysql</vendor>
<export-name>Mysql4</export-name>
<data-source-class-name>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</data-source-class-name>
<data-source-type>ConnectionPoolDataSource</data-source-type>
<user>XXXDB</user>
<password>XXXDB</password>
<login-timeout>10</login-timeout>
<stmt-query-timeout>10000</stmt-query-timeout>
<property>
<name>URL</name>
<type>java.lang.String</type>
<value>jdbc:mysql:replication://125.XXX.XXX.XXX:3306,125.XXX.XXX.XXX:3306,125.XXX.XXX.XXX:3307, /XXXDB?useUnicode=true&characterEncoding=utf8&roundRobinLoadBalance=true&autoReconnectForPools=true&autoReconnect=true</value>
</property>
<connection-pool>
<pooling>
<min>1</min>
<max>10</max>
<step>1</step>
<period>3600000</period>
</pooling>
<check-query>/* ping */ SELECT 1</check-query>
</connection-pool>
</database>
</data-source>
what's wrong with this code?
Subject
Written By
Posted
December 02, 2015 10:36PM
December 03, 2015 12:54AM
Re: Is jdbc replication driver slower than normal jdbc driver ?
December 03, 2015 01:13AM
December 03, 2015 01:52AM
December 03, 2015 06:04AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.