You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/10/16 09:46:51 UTC

[GitHub] [incubator-shardingsphere] Myshiner commented on issue #3294: How to compute the max pool size of sharding-proxy ?

Myshiner commented on issue #3294: How to compute the max pool size of sharding-proxy ?
URL: https://github.com/apache/incubator-shardingsphere/issues/3294#issuecomment-542621408
 
 
   I got the result.
   mysql> sctl:show cached_connections;
   +--------------------+
   | CACHED_CONNECTIONS |
   +--------------------+
   | 0                  |
   +--------------------+
   1 row in set (0.00 sec)
   
   I wonder what's the max connection of sharding-proxy, just like the "max_connections" and "max_user_connections" of mysql. Bcoz there are so many config files like "config-master_slave.yaml" and "config-sharding_yaml", and every config file include at lest two "maxPoolSize" parameters by default value 50, maybe i have 5 logic schemas to use master-slave, and 2 logic schemas to use sharding, so i have 5 config files named config-master_slave*.yaml and 2 files named config-sharding*.yaml, so what's the total pool size ?
   By the way, can i set the parameter maxPoolSize with different value to different schema ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services