Analysis of JDBC connection pool configuration.
JDBC连接池配置分析。
Follow these steps to create a connection pool.
执行下列步骤创建连接池。
Each factory has an associated free connection pool.
每个工厂都有一个关联的空闲连接池。
But how does the free connection pool actually work?
但空闲连接池的实际工作原理是什么?
Create a connection pool for your Informix database.
为Informix数据库创建连接池。
Database connection pool configuration: cmbpool.ini.
数据库连接池配置:cmbpool . ini。
Now the connection pool is available to the application.
现在,应用程序可以获得连接池。
JDBC 3.0 defines several standard connection pool properties.
JDBC 3.0定义了几个标准的连接池属性。
You also can configure a Data Source with the connection pool.
您还可以通过连接池配置数据源(DataSource)。
How message-driven bean listener ports use the connection pool?
消息驱动的Bean侦听器端口如何使用连接池?
The module's code must look up the connection pool through JNDI.
该模块的代码必须通过JNDI查找连接池。
The data source then is connected to the selected connection pool.
然后,该数据源就可以连接到所选择的连接池了。
Next you create a connection pool for the recently created database
接下来将为新创建的数据库创建连接池
Another resource that can be affected is the database connection pool.
另一个可能受影响的资源是数据库连接池。
For example, take a look at the connection pool singleton in Listing 1.
例如,看一下清单1内所示的这个连接池单例。
The free connection pool now contains two free connections - c1 and c2.
空闲连接池现在包含两个空闲连接:c1和c2。
Connection pool size - Displays the current actual connection pool size.
显示当前的实际连接池大小。
That variable is designed to hold an instance of a connection pool object.
该变量被设计用来保存连接池对象的一个实例。
The connection it was using, c1, is put back into the free connection pool.
它使用的连接c1将被放回空闲连接池。
Recommendation: Adjust the maximum and minimum sizes of the connection pool.
推荐:请调整连接池的最大值和最小值。
Increasing the maximum connection pool size might help to alleviate the problem.
增大最大连接池大小可以帮助缓解此问题。
The article also explained the behaviour of a number of connection pool properties.
本文还阐述了许多连接池属性的行为。
In general terms, a connection pool is a pool of free connections to a JMS provider.
总的来说,连接池是一个到JMS提供程序的空闲连接池。
The listener port will always use one connection from the connection pool for running.
侦听器端口将始终使用连接池中的一个连接运行。
In order to reduce this overhead, a connection pool can run validation while it is idle.
为了减少此类开销,连接池在空闲时会运行该验证。
By this time, c1 has been in the free connection pool for 6 minutes, and c2 for 3 minutes.
到此时为止,c1已在空闲连接池中存在了6分钟,c2存在了3分钟。
The connection manager looks for an instance of a connection pool in the application server.
连接管理器在应用服务器中查询连接池的实例。
One symptom of insufficient concurrency and insufficient connection pool size is an idle CPU.
并发性不足和连接池大小不足的一个症状是CPU闲置。
The min-pool-size element specifies the minimum number of connections in the connection pool.
min - pool - size元素指定连接池中的最小连接数目。
This parameter controls the maximum number of prepared statements cached by a connection pool.
该参数控制由连接池缓存的最大预编译语句数。
应用推荐