连接集中器(事务池)。
从空闲代理池找到一个不活动的代理,然后将连接或事务请求传递给该代理进行服务。
Find an inactive agent from the idle agents pool and then pass the connection or transaction request to that agent for servicing.
这使得资源适配器及应用程序服务器共享资源并提供例如安全、连接池及事务处理这样的服务。
This allows the resource adapter and application server to share resources and provide services such as security, connection pooling, and transaction management.
资源管理器实现了对象池,它能够获得实现持久化、安全性状态管理和事务的托管资源模式。
The resource manager implements the object pool and it gets the managed resource that implements persistence, security state management, and transaction.
也就是说,真正的数据库连接会相对较少关闭,但它们的池代理则会随着每个事务获取或释放。
That is, the real database connections are closed relatively infrequently, but their pooled proxies are acquired and released with every transaction.
对于托管连接池,需要进行类似的考虑:在批(及其事务)完成之前,(事务)连接将不返回到池。
A similar consideration exists with pools of managed connections: a (transactional) connection will not return to the pool until the batch (and its transaction) is completed.
在受管模式下,应用程序服务器与资源适配器建立接口,从而管理诸如连接池、事务管理、跟踪和安全性之类的服务质量特性。
Under managed mode, the application server interfaces with resource adapters to manage quality of service features such as connection pooling, transaction management, tracing, and security.
在JMS连接工厂中,有几个与连接池、消息持久性、路由和事务等相关的可用配置选项。
There are several configuration options available in the JMS connection factory relevant to connection pooling, message persistence, routing, transactions, and so on.
这时,与事务范围相关联的所有对象被自动释放回它们的池。
At that point, all objects bound to the transaction scope are automatically released back to their pools.
图3中没有看到的是对象池、自动事务处理、安全性以及EJB技术提供的所有其他好东西。
What you don't see in Figure 3 is object pooling, automatic transaction processing, security, and all the other good things that EJB technology provides.
因此并发事务比较少,这又进一步限制了更大的缓冲池的实际影响。
Thus the number of concurrent transactions was relatively low. Because of that, the net effect of having more buffer pool was limited.
测试结果证明了缓冲池在这里影响不大,但对于存在大量并发事务的环境是有影响的。
This finding tends to reinforce the notion that buffer pool was not much of a factor here but could be a factor in an environment with a much higher number of concurrent transactions.
不将JMS连接视为事务资源,所以只要它关闭,就将返回到连接池。
The JMS connection is not considered to be a transactional resource, and so returns to the pool of connections as soon as it is closed.
每个J2EE容器都可以创建有事务意识的池态DataSource对象,但J2EE规范并不向您展示如何创建,因为这不在J2EE规范内。
Every J2EE container can create transaction-aware pooled DataSource objects, but the J2EE specification doesn't show you how, because it's outside the spec.
对xa事务和连接池的支持。
通用JDBCType2驱动程序分别使用 com.ibm.db2.jcc.DB2XADataSource和 com.ibm.db2.jcc.DB2ConnectionPoolDataSource来支持分布式事务和连接池。
The Universal JDBC Type 2 driver supports distributed transactions using com.ibm.db2.jcc.DB2XADataSource, and connection pooling using com.ibm.db2.jcc.DB2ConnectionPoolDataSource.
开始时,我们将创建实例应用程序,这个程序使用Hibernate自己的连接池以及事务管理(同样请参考“fullcream ”架构)。
To begin, we will create a sample application which USES Hibernate's own connection pooling and transaction management (also referred to as "full cream" architecture).
图3显示了用一个包含250个4K页面的缓冲池所完成的事务数目:(注意:您系统上的性能结果可能不同。)
Figure 3 shows the number of transactions completed with one buffer pool of 250 4k pages: (Note: Performance results may differ on your system.)
这个结果演示了并发事务对缓冲池的影响,以及缓冲池的大小如何影响服务器的性能。
This finding demonstrates the effect of concurrent transactions on the buffer pool and how changes in the buffer pool affect server performance.
通过12000个4K页面的更大缓冲池,性能结果从每10秒完成43个事务增加到完成66个事务,如图4中所示。
With the bigger buffer pool of 12000 4k pages, the performance result improves from 43 completed transactions per 10 seconds to 66 completed transactions, as shown in Figure 4.
但是将会话视为事务性的,所以直到事务完成,它才返回到连接的会话池。
The session, however, is considered transactional, and so will not be returned to the connection's pool of sessions until the transaction has completed.
典型的分布式应用会通过中间件服务器调用一些系统服务,例如事务、安全以及缓冲池等。
Distributed applications typically use middleware servers to leverage the system services such as transaction, security, and pooling.
有关连接池的文档(请参阅参考资料)指出应用程序在执行它们的事务时应该短暂地维持数据库连接。
Documentation on connection pooling (see the Resources section later in this article) states that applications should briefly hold database connections while executing their transactions.
作为结果,活动的分布式事务的数量使用非xa连接池被JD BC连接池的最大容量所限制。
As a result, the number of active distributed transactions using the non-XA connection pool is limited by the maximum capacity of the JDBC connection pool.
作为结果,活动的分布式事务的数量使用非xa连接池被JD BC连接池的最大容量所限制。
As a result, the number of active distributed transactions using the non-XA connection pool is limited by the maximum capacity of the JDBC connection pool.
应用推荐