Oracle 视图 DBA_ACCHK_EVENTS_SUMMARY 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_ACCHK_EVENTS_SUMMARY概要统计每个数据库实例的应用程序异常检查运行的错误发生次数。
它可以帮助数据库管理员监控数据库的性能,识别和处理可能出现的异常情况。
使用方法:
要正确使用此视图,您首先需要启用Oracle数据库实例上的应用程序异常检查(ACCHK)。具体操作是:
1、连接到Database Server服务器上。
2、启用ACCHK:
SQL>EXECUTE DBMS_ACCHK.CHECK_SETUP_ENABLED;
3、重新打开数据库服务,ACCHK控件将自动启动。
4、运行查询:
select * from DBA_ACCHK_EVENTS_SUMMARY;
运行此查询将生成有关每个事件的统计信息,并可以查明事件总数和最后一次事件发生的时间。用此信息,您可以识别可能出现的数据库异常情况,并采取必要的补救措施来改善性能。
官方英文解释
DBA_ACCHK_EVENTS_SUMMARY
displays summary information about events that occurred during an Application Continuity Protection Check (ACCHK) workload run.
This view describes the number of times a particular type of event occurred in a session. You can use this view in conjunction with the DBA_ACCHK_STATISTICS_SUMMARY
view. Join the INST_ID
and CON_ID
columns in this view with the INST_ID
and CON_ID
columns in DBA_ACCHK_STATISTICS_SUMMARY
to view Application Continuity protection statistics for a particular instance.
The ACCHK_READ
role allows users with no administrative privileges to query this view.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Identifier for the instance |
|
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
|
Service name of the session |
|
|
|
Indicates the
|
|
|
|
Indicates the
|
|
|
|
Indicates the
|
|
|
|
Name of the operating system program that generated the trace record |
|
|
|
Name of the module that generated the trace record |
|
|
|
Name of the action that generated the trace record |
|
|
|
SQL identifier of the SQL statement that generated the trace record |
|
|
|
Name of the user call that generated the trace record |
|
|
|
Event type. Possible values:
|
|
|
|
If an error occurred, this column displays the error code: |
|
|
|
Number of times the event occurred during the workload run |
Note:
This view is available starting with Oracle Database 21c.