连接池增加 maxPoolPreparedStatementPerConnectionSize 参数,可指定 PSCache 大小

This commit is contained in:
thinkgem
2019-05-30 12:27:34 +08:00
parent e1f5650696
commit 64f13684c9
2 changed files with 6 additions and 0 deletions

View File

@@ -101,6 +101,9 @@ jdbc:
# # 是否自动回收泄露的连接和超时时间单位秒35分钟4.0.6+
# removeAbandoned: true
# removeAbandonedTimeout: 2100
#
# # Oracle 下会自动开启 PSCache并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同4.1.5+
# maxPoolPreparedStatementPerConnectionSize: ~
# # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2")
# dataSourceNames: ds2