enq: US - contention等待事件
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.
posted on 2013-03-19 00:47 Oracle和MySQL 阅读(290) 评论(0) 收藏 举报
 
                    
                
 2群基础群 适合刚入门的同学,会共享最佳入门实践和资料 QQ群  # QQ群号:171092051 # 已经升级到 500人的超级群,空位多多,无需面试
2群基础群 适合刚入门的同学,会共享最佳入门实践和资料 QQ群  # QQ群号:171092051 # 已经升级到 500人的超级群,空位多多,无需面试
     
                
            
         
 浙公网安备 33010602011771号
浙公网安备 33010602011771号