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

本站中文解释

Oracle视图“DBA_HIST_REPORTS_DETAILS”用于报表分析,可以查看数据库当前内存与CPU使用情况等,包括系统报告时间、报告标识、报告级别、报告参数、报告类型、系统报告结果和健康检查报告信息等等。同时也可以查看一段时间内的报表信息,从而帮助管理员分析数据库执行状况以及其它的有助于改善系统性能的报表分析,从而判断出数据库正常运行的状况和可能存在的问题。

要使用Oracle视图 DBA_HIST_REPORTS_DETAILS,需要使用SELECT语句来查询,例如:

SELECT *
FROM dba_hist_reports_details
WHERE report_date > TO_DATE(‘2020-01-02 00:00:00’, ‘YYYY-MM-DD HH24:MI:SS’)
AND report_date

官方英文解释

DBA_HIST_REPORTS_DETAILS displays details about each report captured in Automatic Workload Repository (AWR).

Metadata for each report appears in the DBA_HIST_REPORTS view while the actual report is available in the DBA_HIST_REPORTS_DETAILS view.

Column Datatype NULL Description

SNAP_ID

NUMBER

ID of the first AWR snapshot that will be taken after this report is generated

DBID

NUMBER

Database ID of the current database for the report

INSTANCE_NUMBER

NUMBER

Instance number (for an Oracle RAC system)

REPORT_ID

NUMBER

ID of the captured report

SESSION_ID

NUMBER

ID of the session corresponding to the captured report (currently used only for SQL Monitor reports)

SESSION_SERIAL#

NUMBER

Session serial number relevant to this report (currently used only for SQL Monitor reports)

GENERATION_TIME

DATE

Time when this report was generated

REPORT_COMPRESSED

BLOB

Actual XML report in compressed form

REPORT

CLOB

Full uncompressed report

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:

“DBA_HIST_REPORTS”


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