[英]C3P0 max statements configuration?
I am using C3P0. 我正在使用C3P0。 i have below configuration. 我有以下配置。 i need to cache the statements. 我需要缓存语句。
maxPoolSize="20"
minPoolSize="6"
acquireIncrement="3"
initialPoolSize="3"
maxStatements="2000"
here i have set maxStatements
to 2000
. 这里我将maxStatements
设置为2000
。 maxPoolSize
is 20
. maxPoolSize
是20
。 does it mean total 2000*20=40000 statements wil be cached? 是否意味着要缓存总计2000 * 20 = 40000个语句?
Thanks! 谢谢!
no maxStatements
is the global cache max size. no maxStatements
是全局缓存最大大小。
maxStatementsPerConnection
is the per connection value. maxStatementsPerConnection
是每个连接值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.