中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ORACLE視圖DBA_HIST_UNDOSTAT

發布時間:2020-07-16 20:31:21 來源:網絡 閱讀:1563 作者:onlinekof2001 欄目:關系型數據庫

http://docs.oracle.com/cd/E11882_01/server.112/e40402/statviews_4069.htm

DBA_HIST_UNDOSTAT 視圖

DBA_HIST_UNDOSTAT 顯示Oracle UNDO表空間的歷史的統計數據直方圖,實例中的這些數據包括UNDO消耗、事務一致和查詢執行的時長,該視圖包含V$UNDOSTAT的快照。

ColumnDatatypeNULLDescription
BEGIN_TIMEDATENOT NULLIdentifies the beginning of the time interval
END_TIMEDATENOT NULLIdentifies the end of the time interval
DBIDNUMBERNOT NULLDatabase ID for the snapshot
INSTANCE_NUMBERNUMBERNOT NULLInstance number for the snapshot
SNAP_IDNUMBERNOT NULLUnique snapshot ID
UNDOTSNNUMBERNOT NULLRepresents the last active undo tablespace in the duration of time. The tablespace ID of the active undo tablespace is returned in this column. If more than one undo tablespace was active in that period, the active undo tablespace that was active at the end of the period is reported.
UNDOBLKSNUMBERRepresents the total number of undo blocks consumed. You can use this column to obtain the consumption rate of undo blocks, and thereby estimate the size of the undo tablespace needed to handle the workload on your system.
TXNCOUNTNUMBERIdentifies the total number of transactions executed within the period
MAXQUERYLENNUMBERIdentifies the length of the longest query (in number of seconds) executed in the instance during the period. You can use this statistic to estimate the proper setting of the UNDO_RETENTION initialization parameter. The length of a query is measured from the cursor open time to the last fetch/execute time of the cursor. Only the length of those cursors that have been fetched/executed during the period are reflected in the view.
MAXQUERYSQLIDVARCHAR2(13)SQL identifier of the longest running SQL statement in the period
MAXCONCURRENCYNUMBERIdentifies the highest number of transactions executed concurrently within the period
UNXPSTEALCNTNUMBERNumber of attempts to obtain undo space by stealing unexpired extents from other transactions
UNXPBLKRELCNTNUMBERNumber of unexpired blocks removed from certain undo segments so they can be used by other transactions
UNXPBLKREUCNTNUMBERNumber of unexpired undo blocks reused by transactions
EXPSTEALCNTNUMBERNumber of attempts to steal expired undo blocks from other undo segments
EXPBLKRELCNTNUMBERNumber of expired undo blocks stolen from other undo segments
EXPBLKREUCNTNUMBERNumber of expired undo blocks reused within the same undo segments
SSOLDERRCNTNUMBERIdentifies the number of times the error ORA-01555 occurred. You can use this statistic to decide whether or not the UNDO_RETENTION initialization parameter is set properly given the size of the undo tablespace. Increasing the value of UNDO_RETENTION can reduce the occurrence of this error.
NOSPACEERRCNTNUMBERIdentifies the number of times space was requested in the undo tablespace and there was no free space available. That is, all of the space in the undo tablespace was in use by active transactions. The corrective action is to add more space to the undo tablespace.
ACTIVEBLKSNUMBERTotal number of blocks in the active extents of the undo tablespace for the instance at the sampled time in the period
UNEXPIREDBLKSNUMBERTotal number of blocks in the unexpired extents of the undo tablespace for the instance at the sampled time in the period
EXPIREDBLKSNUMBERTotal number of blocks in the expired extents of the undo tablespace for the instance at the sampled time in the period
TUNED_UNDORETENTIONNUMBERSystem tuned value indicating the period for which undo is being retained

默認情況下V$UNDOSTAT中的信息每10分鐘增加一條記錄,V$UNDOSTAT一般僅保留576條最近的UNDO記錄(相當于4天的UNDO信息,10g 之前保存1008條,相當于7天的信息量),超過的該時間的信息則被保存在DBA_HIST_UNDOSTAT視圖中。該統計僅在UNDO自動管理的模式下有效。

SQL> show parameter undo_management
NAME                         TYPE        VALUE
---------------------------- ----------- ------------------------------
undo_management              string      AUTO

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

湛江市| 卢氏县| 仙居县| 龙陵县| 和硕县| 英吉沙县| 仙桃市| 东方市| 大港区| 临夏市| 陇南市| 乌拉特后旗| 绵竹市| 秦皇岛市| 白河县| 阜新市| 岑巩县| 民和| 重庆市| 太谷县| 潢川县| 攀枝花市| 宜兰市| 溧阳市| 旌德县| 株洲市| 慈利县| 巴南区| 东平县| 宜城市| 瑞昌市| 杨浦区| 兰西县| 大兴区| 盐津县| 余干县| 陵川县| 定边县| 莱阳市| 麦盖提县| 平舆县|