OCP 1Z0 052 178
来源:互联网 发布:蚁群算法例子 编辑:程序博客网 时间:2024/04/19 11:53
has opened three database sessions and executed the following command in one of his sessions:
SQL> UPDATE persons SET ccode='U031' WHERE ccode='U029';
123 rows updated.
SQL> DELETE FROM persons WHERE exp='Y';
3 rows deleted.
The SYS user opens a new session after HR executed the above commands. Which sessions can see
the effect of the UPDATE and DELETE commands?
A.all sessions of the HR user only
B.all sessions of the HR user and the SYS user
C.the session of the HR user that executed the commands
D.all the sessions for which the database users have access privilege to the PERSONS table
Answer: C
未提交数据,只有当前会话可见。
Transaction Interaction and Isolation Level
The ANSI/ISO SQL standard defines three kinds of transaction interaction:
The kinds of interactions that a transaction can have is determined by its isolation level. The ANSI/ISO SQL standard defines four transaction isolation levels.Table 2-5 shows what kind of interactions are possible at each isolation level.
Table 2-5 ANSI/ISO SQL Isolation Levels and Possible Transaction Interactions
READ
UNCOMMITTED
Possible
Possible
Possible
READ
COMMITTED
Not possible
Possible
Possible
REPEATABLE
READ
Not possible
Not possible
Possible
SERIALIZABLE
Not possible
Not possible
Not possible
Table 2-6 shows which ANSI/ISO SQL transaction isolation levels Oracle Database provides.
Table 2-6 ANSI/ISO SQL Isolation Levels Provided by Oracle Database
READ
UNCOMMITTED
No. Oracle Database never permits "dirty reads." Some other database products use this undesirable technique to improve thoughput, but it is not required for high throughput with Oracle Database.
READ
COMMITTED
Yes, by default. In fact, because an Oracle Database query sees only data that was committed at the beginning of the query (the snapshot time), Oracle Database offers more consistency than the ANSI/ISO SQL standard for READ
COMMITTED
isolation requires.
REPEATABLE
READ
Yes, if you set the transaction isolation level to SERIALIZABLE
.
SERIALIZABLE
Yes, if you set the transaction isolation level to SERIALIZABLE
.
- OCP 1Z0 052 178
- OCP 1Z0 053 178
- OCP 1Z0 052 1
- OCP 1Z0 052 2
- OCP 1Z0 052 3
- OCP 1Z0 052 4
- OCP 1Z0 052 5
- OCP 1Z0 052 6
- OCP 1Z0 052 7
- OCP 1Z0 052 8
- OCP 1Z0 052 9
- OCP 1Z0 052 10
- OCP 1Z0 052 11
- OCP 1Z0 052 12
- OCP 1Z0 052 13
- OCP 1Z0 052 14
- OCP 1Z0 052 15
- OCP 1Z0 052 16
- 面向 C++ 的测试驱动开发
- 学习网址记录~~~~~~~~~~~~~~~~~~~·
- 经纬财富:南京现货白银新手入门投资须知
- 请求发送者与接收者解耦——命令模式(二)
- PDF创建和管理控件ActivePDF Toolkit
- OCP 1Z0 052 178
- linux ubuntu ant autoproxy 设置
- 探秘fstab文件里面特殊分区
- JDK环境变量设置
- 如何用代码实现动态生成的Chart 控件的复制粘贴功能
- 微信生态的优劣,将决定微信电商的未来
- iOS 视图控制对象生命周期-init、viewDidLoad、viewWillAppear、viewDidAppear、viewWillDisappear等的区别及用途
- toast
- static函数与普通函数区别