网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

ORACLE视图DBA_HIST_UNDOSTAT

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

网站标题:ORACLE视图DBA_HIST_UNDOSTAT
浏览路径:http://bjjierui.cn/article/pdheps.html

其他资讯