众所周知,使用数据库连接池可以获得许多性能优势。
It is common knowledge that you can gain a lot of performance benefits by using database connection pools.
根据规范,应用程序模块使用数据库连接池需要两个步骤。
As per the specification, two steps are needed for an application module to use a database connection pool.
会话bean非常简单并且使用数据库连接池直接访问数据库。
The session bean is very simple and accesses the database directly using a pooled database connection.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
实现数据库连接池,重用连接对象,而不是重复地打开和关闭连接。
Implement connection pools to the database and reuse connection objects, rather than repeatedly opening and closing connections.
提出一种自优化数据库连接池的设计方式。
A new design approach on database connection pool, self-optimized connection pool, is proposed in the paper.
本例中的EJB组件使用JNDI查询来确定数据库连接池资源的位置。
The EJB component in this example USES a JNDI lookup to locate the database connection pool resource.
您了解了如何使用Geronimo控制台来初始化数据库并配置数据库连接池。
You learned how the Geronimo console is used to initialize the database and configure a database connection pool.
在数据库连接上采用数据库连接池技术,以提高数据库连接的效率和性能。
Database connection pool technology was adopted to improve the efficiency and performance of database connection.
通过结合车辆定位平台的实例,设计和实现了数据库连接池,并验证了其有效性。
The design and implementation of database connection pool are done through an instance of vehicle positioning platform, which proves the efficiency of this method.
同样地,应用程序设计也能调优性能:更少的对象创建、实时的数据库优化以及使用数据库连接池。
Similarly the application design can be tuned for performance: Fewer object creations, ongoing database refinements, and using database connection pooling.
在对数据库连接进行分析的基础上,提出了一种合理、有效的数据库连接池的设计与实现方案。
A reasonable, efficient design and realization scheme for database connection pools was presented, which is based on the analysis of database connections.
监视诸如堆、Servlet线程和数据库连接池等顶级组件,可以了解JVM处理请求时所发生的情况。
Monitoring the top-level components, such as the heap, servlet threads, and DB connection pool, provides an insight into what is happening when a request is being processed by the JVM.
比如数据库连接池就是单例设计模式的一个例子:我们一般不想让应用程序具有连接池类的多个资源密集型实例。
An example use case for a singleton would be a database connection pool: you don't want your application to have multiple resource-intensive instances of a connection pool class.
清单6中的脚本将Trade6应用程序中使用的JDBC数据源的数据库连接池限制设置为 113。
The script in Listing 6 sets the database connection pool limit to 113 for the JDBC data source used in the Trade6 application.
数据访问效率低下已成为多层体系结构应用软件的主要性能瓶颈,而数据库连接池技术是解决这一问题的主要途径。
One major performance bottleneck of the multi-layer application software is low data access efficiency; connection pool technology is an effective way to solve this problem.
数据库连接池的工作方式与数据存储池相似,但是连接池在更低的层次(LibraryServer数据库的实际数据库连接)上透明地工作。
The database connection pool works similarly to the datastore pool, but the connection pool works transparently at the lower level of actual database connections to the Library Server database.
当数据库连接池与Derby (org.apache.derby/derby/10.1.1.0/jar)或Derbynet (org.apache.derby/derbynet/10.1.1.0/jar)驱动程序具有依赖性时就会引发此条件。
The condition is caused when a database connection pool has a dependency on the Derby (org.apache.derby/derby/10.1.1.0/jar) or Derbynet (org.apache.derby/derbynet/10.1.1.0/jar) drivers.
打开和关闭连接的过程开销较大,会影响到应用程序或数据库的性能,而使用连接池就可以消除大部分这样的开销。
Opening and closing connections is an expensive process affecting application or database performance and the use of connection pooling helps eliminate most of that overhead.
要连接到该数据库,可以将SQLLoginModule配置为直接使用JDBC,或者使用CommunityEdition中的连接池。
To connect to the database, the SQLLoginModule can be configured to either use JDBC directly, or use the connection pools in Community Edition.
有关连接池的文档(请参阅参考资料)指出应用程序在执行它们的事务时应该短暂地维持数据库连接。
Documentation on connection pooling (see the Resources section later in this article) states that applications should briefly hold database connections while executing their transactions.
由于连接池有许多优点,所以在Web应用程序中偏爱使用数据源对象的方法来处理数据库连接。
Because of the advantages of connection pooling, using data source objects is the preferred method of handling database connections in Web applications.
连接池是指维护一组数据库连接,以使应用程序服务器上的应用程序能够重用它们。
Connection pooling is the maintenance of a group of database connections for reuse by applications on an application server.
Sequel具有线程安全,连接池等特性,同时提供了简洁的DSL用来创建数据库查询以及表方案。
Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas.
所有这一切都依赖于数据库服务器和管理连接池的中间件的可伸缩性。
All this depends on both the scalability of the database server and the middleware managing the connection pool.
大多数数据库厂商也实现了自己的兼容jdbc 3.0的连接池。
Most database vendors also implement their own JDBC 3.0-compliant connection pools.
同时考虑到了多用户请求对系统性能的影响,对底层数据库使用了连接池技术。
Taking into account users 'requests impact on the system performance, Connection Pool technology is used in the underlying database.
每个J2C连接工厂和每个JDBC数据源本身都有连接到相应远程系统(企业信息系统或数据库)的连接池。
Each J2C connection factory and each JDBC datasource has its own pool of connections to the corresponding remote system (Enterprise Information system or database).
相反,我们可以使用DataSource对象(WebSphere中定义的一种使用连接池机制的数据库连接)连接到我们的DB 2II数据库,这正是我们准备做的。
Instead, we connected to our DB2 II database using a DataSource object (a pooled database connection defined in WebSphere) and we were ready to go.
相反,我们可以使用DataSource对象(WebSphere中定义的一种使用连接池机制的数据库连接)连接到我们的DB 2II数据库,这正是我们准备做的。
Instead, we connected to our DB2 II database using a DataSource object (a pooled database connection defined in WebSphere) and we were ready to go.
应用推荐