Oracle 视图 DBA_ACCHK_EVENTS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_ACCHK_EVENTS提供一种查看所有访问控制审查器事件的有效方法,其显示的结果包括事件的分组、时间戳、实例和对象名称。
使用DBA_ACCHK_EVENTS视图,可以做大量的安全系统审核,包括对数据库访问控制的审核,以及确定用户可见的拥有者和目标模式。此外,可以使用DBA_ACCHK_EVENTS视图来识别具有外部登录权限的特权用户,以及数据库中的存储过程、函数和其他对象。
要使用DBA_ACCHK_EVENTS视图,首先要确保安全系统审核器已启用,并通过按照ALTER SYSTEM SETВ dtv_enable=TRUEВ 语句,使之启用。
接下来,可以使用SELECT * FROM DBA_ACCHK_EVENTS语句来检索事件信息。可以将WHERE子句用于定义查询条件,例如某特定用户的行为,或者某特定对象被发现的特定用法。
如果需要的话,也可以将GROUP BY子句用于对结果集进行分组,例如,显示所有用户的每个行为发生的次数。同样,还可以使用ORDER BY子句对结果集进行排序,例如,在按照日期顺序显示某个审计事件。
总而言之,DBA_ACCHK_EVENTS视图可用于审查所有访问控制审查器事件,以进行安全性审核,识别异常的数据库访问行为,并分析现有数据库对象的可见性。
官方英文解释
DBA_ACCHK_EVENTS
displays information about events that occurred during an Application Continuity Protection Check (ACCHK) workload run.
Each row in this view represents one trace record for an event. You can use this view in conjunction with the DBA_ACCHK_STATISTICS
view. Join the SESSION_ID
and SERIAL#
columns in this view with the SESSION_ID
and SERIAL#
columns in DBA_ACCHK_STATISTICS
to view Application Continuity protection statistics for a particular session.
The ACCHK_READ
role allows users with no administrative privileges to query this view.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Identifier for the instance in which the trace record was generated |
|
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
|
Time at which the event occurred |
|
|
|
ID of the session that generated the trace record |
|
|
|
Serial number of the session that generated the trace record |
|
|
|
Service name of the session that generated the trace record |
|
|
|
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: |
Note:
This view is available starting with Oracle Database 21c.
See Also:
“DBA_ACCHK_STATISTICS”