| |
 |
|
DBA_AUDIT_STATEMENT view tips
Oracle Tips by Burleson Consulting |
DBA_AUDIT_STATEMENT
<< Return to the index
Oracle 11g makes the following comments about the DBA_AUDIT_STATEMENT table: "Audit trail records concerning grant, revoke, audit, noaudit and alter system"
Related notes on DBA_AUDIT_STATEMENT:
Column description of the DBA_AUDIT_STATEMENT view:OS_USERNAMENo comments exist for the OS_USERNAME column of the DBA_AUDIT_STATEMENT table. USERNAMENo comments exist for the USERNAME column of the DBA_AUDIT_STATEMENT table. USERHOSTNo comments exist for the USERHOST column of the DBA_AUDIT_STATEMENT table. TERMINALNo comments exist for the TERMINAL column of the DBA_AUDIT_STATEMENT table. TIMESTAMPNo comments exist for the TIMESTAMP column of the DBA_AUDIT_STATEMENT table. OWNERNo comments exist for the OWNER column of the DBA_AUDIT_STATEMENT table. OBJ_NAMENo comments exist for the OBJ_NAME column of the DBA_AUDIT_STATEMENT table. ACTION_NAMENo comments exist for the ACTION_NAME column of the DBA_AUDIT_STATEMENT table. NEW_NAMENo comments exist for the NEW_NAME column of the DBA_AUDIT_STATEMENT table. OBJ_PRIVILEGENo comments exist for the OBJ_PRIVILEGE column of the DBA_AUDIT_STATEMENT table. SYS_PRIVILEGENo comments exist for the SYS_PRIVILEGE column of the DBA_AUDIT_STATEMENT table. ADMIN_OPTIONNo comments exist for the ADMIN_OPTION column of the DBA_AUDIT_STATEMENT table. GRANTEENo comments exist for the GRANTEE column of the DBA_AUDIT_STATEMENT table. AUDIT_OPTIONNo comments exist for the AUDIT_OPTION column of the DBA_AUDIT_STATEMENT table. SES_ACTIONSNo comments exist for the SES_ACTIONS column of the DBA_AUDIT_STATEMENT table. COMMENT_TEXTNo comments exist for the COMMENT_TEXT column of the DBA_AUDIT_STATEMENT table. SESSIONIDNo comments exist for the SESSIONID column of the DBA_AUDIT_STATEMENT table. ENTRYIDNo comments exist for the ENTRYID column of the DBA_AUDIT_STATEMENT table. STATEMENTIDNo comments exist for the STATEMENTID column of the DBA_AUDIT_STATEMENT table. RETURNCODENo comments exist for the RETURNCODE column of the DBA_AUDIT_STATEMENT table. PRIV_USEDNo comments exist for the PRIV_USED column of the DBA_AUDIT_STATEMENT table. CLIENT_IDNo comments exist for the CLIENT_ID column of the DBA_AUDIT_STATEMENT table. ECONTEXT_IDNo comments exist for the ECONTEXT_ID column of the DBA_AUDIT_STATEMENT table. SESSION_CPUNo comments exist for the SESSION_CPU column of the DBA_AUDIT_STATEMENT table. EXTENDED_TIMESTAMPNo comments exist for the EXTENDED_TIMESTAMP column of the DBA_AUDIT_STATEMENT table. PROXY_SESSIONIDNo comments exist for the PROXY_SESSIONID column of the DBA_AUDIT_STATEMENT table. GLOBAL_UIDNo comments exist for the GLOBAL_UID column of the DBA_AUDIT_STATEMENT table. INSTANCE_NUMBERNo comments exist for the INSTANCE_NUMBER column of the DBA_AUDIT_STATEMENT table. OS_PROCESSNo comments exist for the OS_PROCESS column of the DBA_AUDIT_STATEMENT table. TRANSACTIONIDNo comments exist for the TRANSACTIONID column of the DBA_AUDIT_STATEMENT table. SCNNo comments exist for the SCN column of the DBA_AUDIT_STATEMENT table. SQL_BINDNo comments exist for the SQL_BIND column of the DBA_AUDIT_STATEMENT table. SQL_TEXTNo comments exist for the SQL_TEXT column of the DBA_AUDIT_STATEMENT table. OBJ_EDITION_NAMENo comments exist for the OBJ_EDITION_NAME column of the DBA_AUDIT_STATEMENT table.
DBA_AUDIT_STATEMENT View SourceOracle 11g's data dictionary defines the DBA_AUDIT_STATEMENT view using the following source query:
select OS_USERNAME, USERNAME, USERHOST, TERMINAL, TIMESTAMP,
OWNER, OBJ_NAME, ACTION_NAME, NEW_NAME,
OBJ_PRIVILEGE, SYS_PRIVILEGE, ADMIN_OPTION, GRANTEE, AUDIT_OPTION,
SES_ACTIONS, COMMENT_TEXT, SESSIONID, ENTRYID, STATEMENTID,
RETURNCODE, PRIV_USED, CLIENT_ID, ECONTEXT_ID, SESSION_CPU,
EXTENDED_TIMESTAMP, PROXY_SESSIONID, GLOBAL_UID, INSTANCE_NUMBER,
OS_PROCESS, TRANSACTIONID, SCN, SQL_BIND, SQL_TEXT, OBJ_EDITION_NAME
from dba_audit_trail
where action in ( 17 /* GRANT OBJECT */,
18 /* REVOKE OBJECT */,
30 /* AUDIT OBJECT */,
31 /* NOAUDIT OBJECT */,
49 /* ALTER SYSTEM */,
104 /* SYSTEM AUDIT */,
105 /* SYSTEM NOAUDIT */,
106 /* AUDIT DEFAULT */,
107 /* NOAUDIT DEFAULT */,
108 /* SYSTEM GRANT */,
109 /* SYSTEM REVOKE */,
114 /* GRANT ROLE */,
115 /* REVOKE ROLE */ )
 |
If you like Oracle tuning, see the book "Oracle
Tuning: The Definitive Reference", with 950 pages of tuning tips and
scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot of Oracle tuning scripts. |
 |
 |
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|