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/09/22 11:48:31 UTC
[GitHub] [incubator-shardingsphere] zcjhwl opened a new issue #3083: Online
problem for sharding-jdbc
zcjhwl opened a new issue #3083: Online problem for sharding-jdbc
URL: https://github.com/apache/incubator-shardingsphere/issues/3083
I am using sharding-jdbc 4.0.0-RC1.
dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
<version>4.0.0-RC1</version>
</dependency>
question
Online problem, every time you restart the project, after a successful restart, a request will appear in the persistence layer for a short time, such as 20 seconds. It takes a long time to appear, and then it will return to normal. At that time, the QPS is stable and the database connection is sufficient.
configuration
- spring.shardingsphere.datasource.ds0.type = com.zaxxer.hikari.HikariDataSource
- spring.shardingsphere.datasource.ds0.driver-class-name = com.mysql.jdbc.Driver
- spring.shardingsphere.datasource.ds0.maximum-pool-size = 100
- spring.shardingsphere.datasource.ds0.minimum-idle = 50
- spring.shardingsphere.datasource.ds0.connection-init-sql = SET NAMES utf8mb4
help
----------------------------------------------------------------
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