Oracle 视图 DBA_AUDIT_SESSION 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_AUDIT_SESSION是一个用于报告数据库审计会话的数据字典视图。 它使用Oracle数据库的审计功能报告有关服务器会话活动的信息,例如用户访问、错误、数据库操作和实例管理命令。
使用视图DBA_AUDIT_SESSION:
1.管理员使用此视图来查看有关服务器会话活动的信息,例如用户访问、错误、数据库操作和实例管理命令。
2.这个视图也用于帮助管理员定位服务器会话的错误和故障。
3.管理员可以使用它来跟踪服务器的异常活动,以便更好地保护系统。
4.如果管理员所使用的客户支持Oracle Security Managers,可以使用此视图来查看安全活动。
官方英文解释
DBA_AUDIT_SESSION
displays all audit trail records concerning CONNECT
and DISCONNECT
.
Note:
This view is relevant when using traditional auditing. Traditional auditing is deprecated in Oracle Database 21c. Oracle recommends that you instead use unified auditing, which enables selective and more effective auditing inside Oracle Database.
-
See Oracle Database Security
Guide for more information about unified auditing. -
See Oracle Database Upgrade
Guide for more information about migrating to unified auditing.
This view is populated only in an Oracle Database where unified auditing is not enabled. When unified auditing is enabled in Oracle Database, the audit records are populated in the new audit trail and can be viewed from UNIFIED_AUDIT_TRAIL
.
Related View
USER_AUDIT_SESSION
displays the audit trail records concerning connections and disconnections of the current user.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Operating system login username of the user whose actions were audited |
|
|
|
Name (not ID number) of the user whose actions were audited |
|
|
|
Client host machine name |
|
|
|
Identifier of the user’s terminal |
|
|
|
Date and time of the creation of the audit trail entry (date and time of user login for entries created by |
|
|
|
Name of the action type corresponding to the numeric code in the |
|
|
|
Date and time of user log off |
|
|
|
Logical reads for the session |
|
|
|
Physical reads for the session |
|
|
|
Logical writes for the session |
|
|
|
Deadlocks detected during the session |
|
|
|
|
Numeric ID for each Oracle session |
|
|
|
Oracle error code generated by the action. Some useful values:
|
|
|
Client identifier in each Oracle session |
|
|
|
Amount of CPU time used by each Oracle session (in centiseconds) |
|
|
|
Timestamp of the creation of the audit trail entry (timestamp of user login for entries created by |
|
|
|
Proxy session serial number, if an enterprise user has logged in through the proxy mechanism |
|
|
|
Global user identifier for the user, if the user has logged in as an enterprise user |
|
|
|
Instance number as specified by the |
|
|
|
Operating System process identifier of the Oracle process |
See Also:
“USER_AUDIT_SESSION”