为了实现读写分离,我们需要连接池。
现在,应用程序可以获得连接池。
解决这一问题的方法是使用连接池。
The remedy for this problem would be to implement connection pooling.
启用连接集中器必须将连接池打开?
每个工厂都有一个关联的空闲连接池。
但空闲连接池的实际工作原理是什么?
考虑:不同的技术对连接池是否支持?
Consideration: Does the technology support connection pooling?
本文还阐述了许多连接池属性的行为。
The article also explained the behaviour of a number of connection pool properties.
WebSphere连接池等待时间。
推荐:请调整连接池的最大值和最小值。
Recommendation: Adjust the maximum and minimum sizes of the connection pool.
显示当前的实际连接池大小。
Connection pool size - Displays the current actual connection pool size.
JDBC连接池配置分析。
连接池与代理的分配和解除分配相关联。
Connection pooling is associated with the allocation and deallocation of agents.
执行下列步骤创建连接池。
另一个可能受影响的资源是数据库连接池。
Another resource that can be affected is the database connection pool.
请注意,您还可以在这里指定连接池参数。
Note that you can also specify connection pooling parameters here.
增大最大连接池大小可以帮助缓解此问题。
Increasing the maximum connection pool size might help to alleviate the problem.
因此,应用程序采用连接池机制至关重要。
Therefore, it is very important that an application employs a connection pooling mechanism.
数据源允许利用连接池。
Data sources allow us to take advantage of connection pooling.
该模块的代码必须通过JNDI查找连接池。
The module's code must look up the connection pool through JNDI.
该变量被设计用来保存连接池对象的一个实例。
That variable is designed to hold an instance of a connection pool object.
该参数控制由连接池缓存的最大预编译语句数。
This parameter controls the maximum number of prepared statements cached by a connection pool.
连接池的工作取决于连接和断开连接。
Connection pooling ACTS upon connections and disconnections.
然后,该数据源就可以连接到所选择的连接池了。
The data source then is connected to the selected connection pool.
这个连接器提供连接池,并装载您所指定的驱动。
The connector provides connection pooling and loads the JDBC driver you specify.
JDBC 3.0定义了几个标准的连接池属性。
JDBC 3.0 defines several standard connection pool properties.
新连接池支持。
为了减少此类开销,连接池在空闲时会运行该验证。
In order to reduce this overhead, a connection pool can run validation while it is idle.
可以随意地改变J2C连接工厂的连接池属性。
Optionally, change the connection pool properties of the J2C connection factory.
所以,可能需要提高连接池的平均大小或连接数量。
As a result, you might need to increase the average size of the connection pool or number of connections.
应用推荐