另一方面,使用池可以让您精确地本地管理连接限值。
On the other hand, using a pool lets you accurately and locally manage your connection limit.
首先,ZFS使用池存储模型,而不是传统的基于卷的模型。
First, ZFS USES a pooled storage model instead of the traditional volume-based model.
第二个方法演示了使用池态数据库连接直接访问数据库。
The second method demonstrates accessing the database directly using a pooled database connection.
HTTP任务本身能够使用池,所以默认的40个HTTP线程能够支持几千个用户。
The HTTP task itself is able to do the pooling, so the default of 40 HTTP threads can support several thousand users.
使用池的另一个不太明显的优点在于,作为程序员,您不必担心内存泄露:内存由boost库在内部自动进行管理。
Another less obvious benefit of using pools is that as a programmer, you don't have to worry about memory leaks: they're automatically managed internally by the Boost library.
这家医院率先使用了分娩池。
该方法的另一个优点是您可以对于多个数据源使用连接池。
An additional advantage of this approach is that you can use connection pooling with DataSources.
创建一个使用这个新缓存池的新表格空间。
下面的查询清单1说明了哪些表空间使用哪些缓冲池。
The following query Listing 1 shows which table Spaces use which buffer pools.
缺省情况下,应用程序使用缓冲池IBMDEFAULTBP,它是在创建数据库时创建的。
By default, applications use the buffer pool called IBMDEFAULTBP, which is created when the database is created.
如果您要自己创建线程来处理生存期很短的任务,那么您绝对应该考虑使用线程池来替代。
If you find yourself creating threads to handle short-lived tasks, you should definitely consider using a thread pool instead.
在创建一个数据库时,可以指定供该数据库使用的存储池。
When a database is created, you can specify the storage pool for use by the database.
在使用对象池时,分配、初始化、回收和终结只发生一次,从而减少了内存使用和所需的处理时间。
When using an object pool, the allocation, initialization, collection, and finalization only occur once, reducing both the memory usage and the processing time that is required.
要使用存储池手动将块添加到空间中,可使用以下命令。
In order to manually add a chunk to a space using the storage pool, you use the following command.
运行时:在响应时间和CPU的消耗两者上性能的下降(即使当使用对象池时),明显有着复杂嵌套对象。
Run time: performance degradation (even when using object pools), both in response time and CPU consumption, is evident with complex nested objects.
现在,让我们实际使用zfs池。
当从硬盘驱动器读写表和索引数据时,DB 2使用缓冲池来缓存它们。
DB2 USES buffer pools to cache the table and index data as they are being read or written to the hard disk drive.
使用对象池限制特定类的实例的数量。
Object pools are used to restrict the number of instances of a certain class.
说明哪些表空间使用哪些缓冲池。
内存调优:选择要使用的内存池。
使用数据池随机的输入。
有效使用线程池的准则。
SkipTestandShowPlan——使用这个按钮显示Geronimo对这个池使用的部署计划。
Skip Test and show plan - use this button to show the deployment plan that Geronimo USES for this pool.
使用缓冲池的表空间数
消息驱动的Bean侦听器端口如何使用连接池?
How message-driven bean listener ports use the connection pool?
参考DayTraderTest使用数据池的值。
如果当前块都不可扩展,Informix可以使用存储池自动分配新块给存储空间。
If none of its current chunks are extendable, Informix can automatically allocate a new chunk to the storage space using the storage pool.
使用线程池来完成 Runnable操作
Using a thread pool to work its way through the Runnable operations
使用线程池来完成 Runnable操作
Using a thread pool to work its way through the Runnable operations
应用推荐