initialPoolSize, minPoolSize, maxPoolSize define the number of Connections that will be pooled. Please ensure that minPoolSize <= maxPoolSize. Unreasonable values of initialPoolSize will be ignored, and minPoolSize will be used instead.
Within the range between minPoolSize and maxPoolSize, the number of Connections in a pool varies according to usage patterns. The number of Connections increases whenever a Connection is requested by a user, no Connections are available, and the pool has not yet reached maxPoolSize in the number of Connections managed. Since Connection acquisition is very slow, it is almost always useful to increase the number of Connections eagerly, in batches, rather than forcing each client to wait for a new Connection to provoke a single acquisition when the load is increasing. acquireIncrement determines how many Connections a c3p0 pool will attempt to acquire when the pool has run out of Connections. (Regardless of acquireIncrement, the pool will never allow maxPoolSize to be exceeded.)
The number of Connections in a pool decreases whenever a pool tests a Connection and finds it to be broken (see Configuring Connection Testing below), or when a Connection is expired by the pool after sitting idle for a period of time, or for being too old (See Managing Pool Size and Connection Age.)
分享到:
相关推荐
YOLO框架train.py 中参数配置解释、数据标注格式解释总结手册。YOLO(You Only Look Once)是一种流行的实时目标检测算法。在YOLO的train.py文件中,通常会包含大量的参数配置,这些配置用于定义训练过程的各个方面...
Bonecp的各个参数配置,以及各个参数的说明解释。
mysql参数配置,其中包括对参数的名词解释,和如何配置等信息
jm编码算法描述及配置文件参数解释.rar
诺基亚移动无线参数详细解释 第一部分:网络参数规划 1 1 MSC参数 1 1.1 寻呼参数 3 1.2 切换参数 6 1.3 信令参数 9 1.4 MIS参数 12 2 BSC参数 13 2.1 GEN参数 14 2.2 MIS参数 17 2.3 SUP参数 19 3. BTS参数 20 3.1 ...
config的配置参数的详细解释 此为PCB行业工程CAM软件,genesis2000
如果想对hp小机进行很详细的优化,对一些重要的核心参数需要了解才可以进行调整,下边是对hp小机的一些核心参数的解释,希望对大家有用。 acctresume 和 acctsuspend 只在启用 HP-UX 统计时使用。这些变量是统计...
JVM是Java Virtual Machine(Java虚拟机)的缩写,JVM是一种用于计算设备的规范,它...JVM在执行字节码时,实际上最终还是把字节码解释成具体平台上的机器指令执行。编译虚拟机的指令集与编译微处理器的指令集非常类似
JVT-Q042(参数解释).doc JM编码器中的参数解释
RNC四期开通配置指导书(参数解释版)
NULL 博文链接:https://1017401036.iteye.com/blog/2332228
列出REDIS常用的参数配置建议及解释。
redis参数解释。主要讲解redis的配置文件内容,详细的解释每个参数的意义和使用方法
首先后台设置网站的送货方式以及相应的金额,并设置好支付方式即在线支付设置,各在线支付开关及配置以及收款帐号等信息。用户通过前台购物车购物提交订单后,可以输入自己的收货信息,然后选择送货方式即可,系统会...
db2 日志详解 里边包含有对数据库配置文件中有关日志的一些参数设置方法和解释
用Spring aop需要配置的参数,注解方式,使用起来更简单,好用
grbl1.1f 版本配置教程,详细解释每个设置的含义,帮助你更好的配置机器
在linux下安装软件包的时候需要对其进行配置,文档对--prefix --HOST等configure参数进行了剖析,非常useful!
nginx配置优化 每个参数都有详细的解释,包含多线程,负载均衡 ,无效联系我:351137017