leyou.bi.datasource.druid.initialSize=5
leyou.bi.datasource.druid.minIdle=5
leyou.bi.datasource.druid.maxActive=20
leyou.bi.datasource.druid.maxWait=60000
leyou.bi.datasource.druid.timeBetweenEvictionRunsMillis=60000
leyou.bi.datasource.druid.minEvictableIdleTimeMillis=30
leyou.bi.datasource.druid.validationQuery=SELECT 1
leyou.bi.datasource.druid.validationQueryTimeout=0
leyou.bi.datasource.druid.testWhileIdle=true
leyou.bi.datasource.druid.testOnBorrow=false
leyou.bi.datasource.druid.testOnReturn=false
leyou.bi.datasource.druid.poolPreparedStatements=true
leyou.bi.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20
leyou.bi.datasource.druid.filters=stat,wall
leyou.bi.datasource.druid.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
leyou.bi.datasource.druid.maxPreparedTransactions=500
leyou.bi.datasource.druid.useGlobalDataSourceStat=true
Druid常用配置
最新推荐文章于 2024-06-13 08:32:25 发布