Oracle Database 11g的locking提升

本文详细介绍了Oracle Database 11g在锁定机制方面的改进,包括序列化锁的DDL_LOCK_TIMEOUT参数,允许DDL命令等待DML锁;明确的locking table功能,允许DDL命令在执行前等待特定时间获取锁;以及共享锁的改变,某些DDL操作不再需要排他锁,减少DML操作的等待。这些特性提升了数据库在高并发环境下的性能和用户体验。
摘要由CSDN通过智能技术生成

11g Locking Enhancements (Doc ID 464512.1)

适用

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.1.0.6 [Release 11.1] Oracle Database Exadata Cloud Machine - Version N/A and later Oracle Cloud Infrastructure - Database Service - Version N/A and later Oracle Database Cloud Exadata Service - Version N/A and later Oracle Database Exadata Express Cloud Service - Version N/A and later Information in this document applies to any platform. Information in this document applies to any platform.

目的

本文描述了Oracle Database 11gR1引入的与Locking相关的新特性:

序列化锁

明确的locking table

共享锁

范围

DBA有兴趣了解与 11g 中引入的锁定相关的新特性。

细节

序列化锁

Oracle Database 11g中允许DDL命令等待DML锁,你可以通过在系统或会话级别设置 DDL_LOCK_TIMEOUT 参数来限制 DDL 命令等待 DML 锁的时间,该初始化参数默认设置为零,即:nowait,保证向后兼容。

值的范围是0-1000000(以秒为单位)&#

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值