Oracle 视图 DBA_ALERT_HISTORY 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_ALERT_HISTORY显示已有的报警历史记录信息。该视图包含以下字段:
– ALERT_ID:一个唯一标识符,表示报警历史记录
– TIME_ISSUED:报警发出的时间
– ERROR_MESSAGE:报警消息
– ORIGINAL_LEVEL:报警等级:
LOW:低,
MEDIUM:中,
HIGH:高,
SERIOUS:严重
– MESSAGE_TEXT:报警文本
– ERROR_NUMBER:报警错误码
– ALERT_NAME:报警名称
使用方法:
第一步:使用下列语句,显示报警历史记录:
SELECT * FROM DBA_ALERT_HISTORY;
第二步:如果需要查看某个特定的报警,可以使用 WHERE 子句查询:
SELECT *
FROM DBA_ALERT_HISTORY
WHERE ALERT_ID = ‘alert_id_value’;
官方英文解释
DBA_ALERT_HISTORY
describes a time-limited history of alerts which are no longer outstanding.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
| Alert sequence number |
|
| ID of the alert reason | |
|
| Owner of the object on which the alert was issued | |
|
| Name of the object | |
|
| Name of the subobject (for example: partition) | |
|
| Type of the object (for example: table, tablespace) | |
|
| Reason for the alert | |
|
| Time when the alert was last updated | |
|
| Time when the alert was first created | |
|
| Advice of the recommended action | |
|
| Name of the advisor to be invoked for more information | |
|
| Value of the related metrics | |
|
| Message type:
| |
|
| Name of the message group to which the alert belongs | |
|
| Severity message level (1 to 32) | |
|
| ID of the client or security group to which the alert relates | |
|
| ID of the module that originated the alert | |
|
| Process ID | |
|
| DNS host name of the originating host | |
|
| IP or other network address of the originating host | |
|
| Originating instance name | |
|
| Originating instance number | |
|
| User ID | |
|
| Execution Context ID | |
|
| ID of an error instance plus a sequence number | |
|
| Resolution:
| |
|
| PDB name | |
|
| The ID of the container to which the data pertains. Possible values include:
|
标签:历史记录,视图,子句,标识符,已有