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.



本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277923

相关文章
|
SQL Oracle 关系型数据库
ORACLE等待事件:enq: TX - row lock contention
enq: TX - row lock contention等待事件,这个是数据库里面一个比较常见的等待事件。enq是enqueue的缩写,它是一种保护共享资源的锁定机制,一个排队机制,先进先出(FIFO)。
1690 0
|
SQL Oracle 关系型数据库
|
SQL Oracle 关系型数据库
|
SQL 关系型数据库 Oracle
|
SQL 关系型数据库 Oracle