enq: US - contention等待事件
原创
©著作权归作者所有:来自51CTO博客作者maclean_007的原创作品,请联系作者获取转载授权,否则将追究法律责任
This event indicates the session is currently waiting on the Undo Segments and is often related to using system managed undo with an auto tuned undo retention period. In 10g, Oracle added the _undo_autotune parameter which allows the database instance to extend and override "UNDO_RETENTION" settings. This is especically true when the datafiles for the Undo Tablespace are set to automatically extend. However, there are limitations and issues with this feature discussed in more detail in the Solutions section below.
Here are more details about Automatic Tuning of Undo.
Solutions
Review Bug 7291739 which affected Oracle 10.2.0.4 and is fixed in 10.2.0.4.4 / 10.2.0.5 and 11.2. It is caused by runaway queries inflating the undo retention time. This fix allows users to specify a high threshold for undo retention via the "_highthreshold_undoretention" parameter. The tuned value of undo retention will then not exceed the set value.
Ensure the UNDO tablespace has enough space and/or can autoextend to accomodate the undo settings.
If all else fails or you cannot install the latest patchset, disable automatic undo tuning by setting "_undo_autotune" = false.
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Oracle enq: TX contention 和 enq: TM contention 等待事件说明
和Oracle性能优化密切相关的一些知识参考如下Blog
oracle matrix session object table