Oracle 视图 DBA_HIST_SYS_TIME_MODEL 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图DBA_HIST_SYS_TIME_MODEL提供了一种描述系统时间性能模型的方法。其数据对应于v$time_model视图中的数据,但是是以历史形式记录的。DBA_HIST_SYS_TIME_MODEL视图可以用来显示系统时间模型启动以及其他oracle组件(如缓冲池)的性能数据。

使用方法:

要获取系统时间性能模型的统计信息,有以下查询:

SELECT snapshot_id, begin_interval_time, db_time, sql_exec_time, db_block_changes FROM dba_hist_sys_time_model;

此查询将返回在启动指定性能模型之前和之后的系统时间模型活动。 得到的结果将显示快照边界,以及在活动之间的系统时间,数据库时间,SQL执行时间和数据块更改的差异。

官方英文解释

DBA_HIST_SYS_TIME_MODEL displays historical system time model statistics, including OLAP timed stastistics.

This view contains snapshots of V$SYS_TIME_MODEL.

Column Datatype NULL Description

SNAP_ID

NUMBER

NOT NULL

Unique snapshot ID

DBID

NUMBER

NOT NULL

Database ID for the snapshot

INSTANCE_NUMBER

NUMBER

NOT NULL

Instance number for the snapshot

STAT_ID

NUMBER

NOT NULL

Statistic ID

STAT_NAME

VARCHAR2(64)

NOT NULL

Statistic name

VALUE

NUMBER

Statistic value

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

See Also:

  • “V$SYS_TIME_MODEL”

  • “DBA_HIST_CON_SYS_TIME_MODEL”

  • “V$CON_SYSMETRIC”


数据运维技术 » Oracle 视图 DBA_HIST_SYS_TIME_MODEL 官方解释,作用,如何使用详细说明