首页 > 其他 > 详细

19c生产enq: FB - contention一例

时间:2020-10-13 10:22:33      阅读:203      评论:0      收藏:0      [点我收藏+]

Troubleshooting ‘enq: FB - contention‘ Format Block Enqueues. (Doc ID 1379986.1)

In this Document
Purpose
Details
If this wait appears in the Top 5 waits, one can look to implement the following:
References
APPLIES TO:
Oracle Database - Enterprise Edition
Information in this document applies to any platform.
***Checked for relevance on 02-Sep-2016***
Database performance may get affected, inserts/DML might become slow.


PURPOSE
To understand enq: FB Contention, impact of this on Database Performance and how to resolve this contention.

DETAILS
enq: FB - contention is associated with block formatting. This enqueue is acquired to ensure only one process can format the blocks.

 

**If this wait appears in the Top 5 waits, one can look to implement the following:
1、Pre allocate the extents to the segment having a high number of inserts.
2、Look for any IO issue that is causing slowdown in formatting the blocks. One can see the average wait time for other IO waits like db file sequential read,log file parallel write etc. to see any generic IO issues.
3、Some time high IO operation like large index block split may require more extent allocation and may cause the enq: FB contention.
4、Avoid doing Multiple sessions doing the insert. Each session may try to format the block and can trigger the contention.
5、Check if any Parallel DML is happening; parallel slaves may try to format the blocks simultaneously.**

 

Bugs related to enq: FB contention:

Bug 6468758: STBH: USER SESSION BLOCKED BY ENQ: FB - CONTENTION
Bug 5557421: SELF-DEADLOCK OCCURS WHEN IMP SESSION IS KILLED
Bug 9239623: STBH: MMON IN CONTROL FILE SEQUENTIAL READ BLOCKING OTHER SESSIONS
BUG 9864080 - INSERT STATEMENT HAS SLOW PERFORMANCE WITH GC CR MULTIBLOCK REQUESTS; BB BUG 8735005
BUG 8735005 - SLOW INSERT - POSSIBLY DUE TO INDEX BLOCK SPLIT

因为在做压测,所以解决方法,预分配块即可。 

19c生产enq: FB - contention一例

原文:https://www.cnblogs.com/zhjh256/p/13806291.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!