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

本站中文解释

Oracle视图DBA_HIST_STAT_NAME是一个数据字典视图,可以用来查询数据库历史统计数据的统计名称。它提供了当前数据库及其参数的统计名称信息,如子池或者实例的统计器的统计名称。

使用DBA_HIST_STAT_NAME视图查询历史统计数据的步骤如下:

1.从DBA_HIST_STAT_NAME视图中读取要查询的相关信息,包括统计名称、数据库及其参数。

2.使用DBA_HIST_STAT_NAME视图中的统计名称、位置和时间参数查询相应的数据。

3.使用查询结果绘制图表或报告,以便更直观地分析数据库历史统计数据。

官方英文解释

DBA_HIST_STAT_NAME displays decoded statistic names for the statistics captured in the Workload Repository.

This includes OLAP statisitics and OLAP timed events. This view captures information from V$STATNAME and is used with DBA_HIST_SYSSTAT and DBA_HIST_SYS_TIME_MODEL.

Column Datatype NULL Description

DBID

NUMBER

NOT NULL

Database ID

STAT_ID

NUMBER

NOT NULL

Statistic identifier

STAT_NAME

VARCHAR2(64)

NOT NULL

Statistic name

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$STATNAME”

  • “DBA_HIST_SYSSTAT”

  • “DBA_HIST_SYS_TIME_MODEL”


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