half-pa opened a new issue #11213:
URL: https://github.com/apache/shardingsphere/issues/11213


   version:5.0-beta
   config-master-slave.xml
   config:
   `schemaName: master_slave_db
   
   dataSources:
     master:
       url: 
jdbc:mysql://ocalhost:3306/put_up1?useUnicode=true&characterEncoding=utf-8&useSSL=false&useAffectedRows=true&autoReconnect=true
       username: fowrite
       password: 717jL4H729apESWqeDsOnUX6P1iPvO+U2wt9rGI
       connectionTimeoutMilliseconds: 660000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 300000
       maxPoolSize: 3000
       minPoolSize: 10
       maintenanceIntervalMilliseconds: 30000
       keepaliveTime: 260000
     slave0:
       url: 
jdbc:mysql://localhost:3306/put_up2?useUnicode=true&characterEncoding=utf-8&useSSL=false&useAffectedRows=true&autoReconnect=true
       username: forread
       password: (lZeDLLBr7EmHvgrVACiJjV3uoUGC4CuDzvIxv9tc
       connectionTimeoutMilliseconds: 660000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 300000
       maxPoolSize: 3000
       minPoolSize: 10
       maintenanceIntervalMilliseconds: 30000
       keepaliveTime: 260000
   
   rules:
     - !READWRITE_SPLITTING
       dataSources:
         pr_ds:
           writeDataSourceName: master
           readDataSourceNames:
             - slave0
           loadBalancerName: roundRobin
       loadBalancers:
         roundRobin:
           type: ROUND_ROBIN`
   
   when I excute1000 query sqls ,my master DB (DB for write) got the query 
request more than my slave DB 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to