ITPub博客

首页 > 数据库 > Oracle > 33_事务ACID及隔离级别

33_事务ACID及隔离级别

原创 Oracle 作者:哎呀我的天呐 时间:2014-12-01 15:27:13 0 删除 编辑

ACID 分别指:
原子性:... ...

一致性:... ...

隔离性:update 锁  A用户修改了这行,未提交时,B用户不能修改。

持久性:

事务的隔离级别:
set transaction isolation level read commited  默认的级别。

set  transaction isolation level serializable

set transaction read only

set transaction read write

没什么用!!!什么玩意。。。


01:00:34 SQL> select a.sid , a.serial# from v$session a, v$mystat b
01:00:46   2  where a.sid = b.sid and rownum < 2; 


       SID    SERIAL#
---------- ----------
       151  434

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29990276/viewspace-1352874/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 32_事务概述
请登录后发表评论 登录
全部评论
https://cloud.tencent.com/developer/inventory/14362

注册时间:2014-10-30

  • 博文量
    403
  • 访问量
    2528690