enq: RO - fast object reuse \ CR - block range reuse ckpt

本文探讨了RDBMS12.2.0.1版本中遇到的enq:RO-fastobjectreuse和CR-blockrangereuseckpt等待事件问题。详细介绍了这些事件与drop/truncate操作的关系,并提供了降低并发冲突的建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

RDBMS 12.2.0.1

在AWR中看到enq: RO - fast object reuse 和 CR - block range reuse ckpt等待事件,但是不是很多。查询了一些文档,整理出来。

enq: RO - fast object reuse ,是和drop / truncate动作有关。

官方文档:

Resolving Issues Where 'enq: RO - fast object reuse' Contention Seen During Drop or Truncate Operations (Doc ID 1475659.1)

"enq: RO - fast object reuse"

The RO enqueue known as "Multiple object resue" enqueue, is used to synchronise operations between foreground process and a background process such as DBWR or CKPT. It is typically used when dropping objects or truncating tables.

Following is the sequence of events When a truncate/drop occurs:

  1. Foreground process acquires the "RO" enqueue in exclusive mode
  2. Cross instance calls (or one call if it is a single object) are issued ("CI" enqueue is acquired)
  3. CKPT processes on each of instances requests the DBWR to write the dirty buffers to the disk and invalidate all the clean buffers.
  4. After DBWR completes writing all blocks, the foreground process releases the RO enqueue.

Application Logic

Since this is a concurrency issue, logic and processes should be examined to eliminate needless DROP or TRUNCATE commands.
You may also consider the use of temporary tables as an alternative as the same mechanism used does not apply to temporary objects  
Another option is to reschedule the actions causing the problem to period of lower concurrency.

 

--

CR - block range reuse ckpt 等待时间,网上看,是和一些并行有关(官方文档和MOS上未查看到,以后有机会再补充)。 

END。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值