Oracle 视图 V$HM_RUN 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$HM_RUN视图主要用于查看与Oracle Health Monitor有关的状态或信息。
Oracle Health Monitor旨在通过管理监控器来收集数据库和应用服务器状态和信息,以帮助诊断、故障定位、性能调整等目的。该视图存储有关以下内容的信息:
1、正在进行的监视及每个监视器运行状态;
2、每个监视器最近一次启动和完成时间;
3、监视器最近一次启动和完成是否成功;
4、监视器运行次数。
使用方法:
可以使用以下SQL语句查看V$HM_RUN视图的相关信息:
SELECT * FROM V$HM_RUN;
此外,也可以根据四个字段(MON_ID,LAST_START_TIME,LAST_END_TIME,STATE)来获取更加细致的信息:
SELECT MON_ID, LAST_START_TIME, LAST_END_TIME, STATE FROM V$HM_RUN;
官方英文解释
V$HM_RUN
displays information about all Health Monitor checks and their status.
Column | Datatype | Description |
---|---|---|
|
|
Unique ID to represent the run |
|
|
Unique name used to identify the run |
|
|
Name of the check |
|
|
Mode of the run:
|
|
|
Number of seconds allowed for this run to complete before it is aborted |
|
|
Start time of the run |
|
|
Last resumed time for the run |
|
|
End time of the run |
|
|
Last modified time of the run record |
|
|
Status of the run:
|
|
|
Source incident ID that activated this run |
|
|
Number of incidents created by this run |
|
|
Error number if the run failed to complete because of an error |
|
|
Problem ID of the source incident ID that may have activated this Run |
|
|
The ID of the container to which the data pertains. Possible values include:
|