【翻譯自mos文章】v$undostat視圖沒有按照每10分鐘進行更新,v$undostat只有1行(one rows),mosundostat

來源:互聯網
上載者:User

【翻譯自mos文章】v$undostat視圖沒有按照每10分鐘進行更新,v$undostat只有1行(one rows),mosundostat


v$undostat視圖沒有按照每10分鐘進行更新,v$undostat只有1行(one rows)

參考原文:
The V$UNDOSTAT view is not getting updated in every 10 minutes. (Doc ID 1206365.1)

適用於:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.


癥狀:
The V$UNDOSTAT view is not getting updated every 10 minutes.

SQL> select BEGIN_TIME,END_TIME, UNDOBLKS from v$undostat;

BEGIN_TIME END_TIME UNDOBLKS
-------------------- -------------------- ----------
21-aug-2010 03:48:44 07-sep-2010 11:02:14 75016989

以上查詢只返回1行。

變化:
SQL> sho parameter undo

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
_in_memory_undo boolean FALSE
_undo_autotune boolean FALSE     --->注意此行記錄。
undo_management string AUTO
undo_retention integer 3600
undo_tablespace string UNDOTBS1

 

The parameter "_undo_autotune" has been set to FALSE.
This has disabled automatic undo tuning.

解決方案:

設定"_undo_autotune" parameter to TRUE:

SQL> alter system set "_undo_autotune"=true;

This disables the standard tracking of UNDO statistics in V$UNDOSTAT.  You can see only the one row of data as noted in this case.

 




相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.