隔离级别决定在访问数据时数据是如何锁定的、如何与其他进程隔离的。
An isolation level determines how data is locked or isolated from other processes while the data is being accessed. Following are details about the different isolation levels.
下面是一些经常争用的资源的示例,因此,如果配置适当,就能提高组件之间的隔离级别。
Below are examples of resources that are frequently in contention and, thus, if properly configured, can help increase the level of isolation between components.
如果查询是在比创建MQT时更高的隔离级别执行,那么将不会为查询的执行考虑该MQT。
If the query is executed at a higher isolation level than the isolation level at which the MQT is created, that MQT will not be considered for execution of the query.
确定这是否适合您的需要,还要考虑您为事务定义的范围(和隔离级别)将如何影响整体并发需求。
Determine if this is appropriate for your needs, and also consider how the scope (and isolation level) you define for your transactions can impact overall concurrency requirements.
开发了EJB后,程序员必须设置定义各种特征(如ejb的事务支持和隔离级别)的部署描述符。
After developing an EJB, the programmer must set deployment descriptors that define characteristics, such as transaction support and isolation levels for the EJB.
通过修改隔离级别,J2EE开发人员或部署人员可以在性能的约束下平衡数据完整性,从而对应用程序进行调整。
By changing the isolation level, the J2EE developer or deployer can balance data integrity against performance constraints to performance tune the application.
新的CurrentlyCommitted隔离级别在处理写者事务的同时,允许系统中的其他读者事务读取数据。
The new Currently Committed isolation level allows writer transactions to continue processing while the other reader transactions within the system get their data.
isolation:JPA 1.0不支持自定义隔离级别,因此开发人员需要指定数据库端的默认事务隔离级别。
Isolation: JPA 1.0 doesn't support custom isolation levels, so developers are required to specify the default transaction isolation level on the database side.
这是因为export工具被绑定为具有游标稳定性(CS)隔离级别(有关DB 2隔离级别的描述,请参阅侧栏)。
That is because the export utility is bound with the cursor stability (CS) isolation level (for a description of the DB2 isolation levels, see the sidebar).
因为EJB的事务隔离级别是在部署描述符中设置的,所以具有不同事务隔离级别的不同应用程序可以重用同一个EJB。
Because the EJB's transaction isolation level is set in its deployment descriptor, the same EJB could be reused in different applications with different transaction isolation levels.
默认情况下,import工具被绑定为具有读稳定性(RS)隔离级别(有关DB 2隔离级别的描述,请参阅侧栏)。
By default, the import utility is bound with the read stability (RS) isolation level (for a description of the DB2 isolation levels, see the sidebar).
在这一节中,我将谈到可以用来修改DB 2V8.2.2为某些隔离级别而使用的ANSI标准锁机制的一些主要控制。
In this section, I'll cover some of the major controls that you can use to alter that ANSI-standard locking mechanism used by DB2 V8.2.2 for certain isolation levels.
本节将展示如何设置资源共享作用域、如何设置IBM隔离级别扩展,以及如何将访问目的与BMP和CMPEJB联系起来。
This section shows how to set the resource sharing scope, how to set the IBM isolation level extension, and how to associate access intents with BMP and CMP EJBs.
使用SETISOLATION在会话级、使用with子句在sql语句级或使用数据库配置参数在数据库级设置隔离级别。
ISOLATION level is set at the session level using set ISOLATION, set at the SQL statement level using the WITH clause or set at the database level using a database Configuration parameter.
遵循为数据源引用设置事务隔离级别中的步骤将事务隔离级别更改为REPEATABLE_READ,然后再次运行该应用程序。
Follow the steps in transaction isolation level setting for a data source reference to change the transaction isolation level to REPEATABLE_READ, and run the application again.
更改发生在数据库上,所以WebSphere不知道已经发生了更改,而且在下一次从池中检索连接时可能无法重置事务隔离级别。
The change happens on the database, so WebSphere is not aware that it changed and might not reset the transaction isolation level the next time the connection is retrieved from the pool.
要让应用程序工作,只需用REPEATABLE_READ事务隔离级别来配置CustomerBMPEJB的数据源引用。
To make the application work, simply configure the data source reference of Customer BMP EJB with the REPEATABLE_READ transaction isolation level.
如果有一个包含大量读取操作的工作负载,那么您可能想将隔离级别设置为未提交读取(UR),从而不需要在每个语句中设置隔离级别。
If you have a read-heavy workload, you might want to set isolation to uncommitted read (UR) at the connection level so that you don't have to specify it in each statement.
虽然示例中使用的资源适配器不响应J2EE事务性隔离级别设置的变化,但是某些围绕关系数据库系统构建的EIS确实可能会受到影响。
Although resource adapters used in the example do not respond to changes in J2EE transactional isolation level Settings, some EISs built around relational database systems may be affected.
例如,DB 2Fundamentals考试测试考生的安全知识,表、索引和视图的创建和使用,SQL使用,以及隔离级别和锁定。
For example, the DB2 Fundamentals exam tests a candidate's knowledge of security; creating and working with tables, indexes, and views; using SQL; and isolation levels and locking.
SQL 2005有一个 基于快照的隔离级别 ,它能在不允许“脏读”的情况下避免数据读取阻塞数据写入,或者数据写入阻塞数据读取。
SQL 2005 has snapshot-based isolation levels that prevent readers from blocking writers or writers from blocking readers without allowing dirty reads.
对于BMPEJB、session EJB和Web应用程序,您可以使用IBM资源隔离级别扩展来指定与资源引用相关联的隔离级别。
For BMP EJB, session EJB, and Web applications, you can use IBM resource isolation level extension to specify the isolation level associated with the resource reference.
此外,一个WebSphereStudioApplication Developer示例将展示如何在资源引用中设置访问意图(access intent)和隔离级别(isolation level)。
In addition, a WebSphere Studio Application Developer example shows how to set access intent and isolation level in a resource reference.
所以,就无法为这类问题方法设置隔离级别(isolation level)、访问目的(access intent)、安全性(security)和方法许可(method permission)等这些部署描述符属性。
So, deployment descriptor properties such as isolation levels, access intent, security, method permissions, and so on cannot be set for such problem methods.
释放行锁,以便其他应用程序可以对表执行SELECT、INSERT、UPDATE和DELETE(例如,使用游标稳定性(curs or stability)隔离级别或未提交读(uncommitted read)隔离级别)。
Release the row locks so that other applications can SELECT, INSERT, UPDATE, and DELETE from the table (for example, use isolation level cursor stability or uncommitted read).
Principal由协议、域名以及端口三部分组成,在进程级别不同的组合之间互相隔离,它是整个系统的关键部分。
Key to system is the idea of a "principal", which in this case is the triple of protocol, domain-name, and port. Each combination is isolated from any other combination at the process level.
应用程序WPAR为应用程序及其资源的隔离提供了一种相应的环境,以便在应用程序级别支持检查点、重新启动和重新部署。
Application WPARs provide an environment for isolation of applications and their resources to enable checkpoint, restart, and relocation at the application level.
应用推荐