连接池增加 maxPoolPreparedStatementPerConnectionSize 参数,可指定 PSCache 大小
This commit is contained in:
@@ -44,6 +44,9 @@ jdbc:
|
|||||||
removeAbandoned: true
|
removeAbandoned: true
|
||||||
removeAbandonedTimeout: 2100
|
removeAbandonedTimeout: 2100
|
||||||
|
|
||||||
|
# Oracle 下会自动开启 PSCache,并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同(4.1.5+)
|
||||||
|
maxPoolPreparedStatementPerConnectionSize: ~
|
||||||
|
|
||||||
# JTA 分布式事务(v4.0.4+)
|
# JTA 分布式事务(v4.0.4+)
|
||||||
jta:
|
jta:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -101,6 +101,9 @@ jdbc:
|
|||||||
# # 是否自动回收泄露的连接和超时时间,单位秒(35分钟)(4.0.6+)
|
# # 是否自动回收泄露的连接和超时时间,单位秒(35分钟)(4.0.6+)
|
||||||
# removeAbandoned: true
|
# removeAbandoned: true
|
||||||
# removeAbandonedTimeout: 2100
|
# removeAbandonedTimeout: 2100
|
||||||
|
#
|
||||||
|
# # Oracle 下会自动开启 PSCache,并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同(4.1.5+)
|
||||||
|
# maxPoolPreparedStatementPerConnectionSize: ~
|
||||||
|
|
||||||
# # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2")
|
# # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2")
|
||||||
# dataSourceNames: ds2
|
# dataSourceNames: ds2
|
||||||
|
|||||||
Reference in New Issue
Block a user