Note
This view is available starting with V2.2.30.
Purpose
This view records the action IDs and their corresponding names in audit records.
Applicability
This view is applicable only to OceanBase Database in Oracle mode.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| ACTION | NUMBER(38) | NO | The action ID in the audit record. |
| NAME | VARCHAR2(128) | NO | The name corresponding to the action ID in the audit record. |
Sample query
Query the first 10 action IDs and their corresponding names in the audit records.
obclient [SYS]> SELECT * FROM SYS.AUDIT_ACTIONS WHERE ROWNUM <=10;
The query result is as follows:
+--------+----------------+
| ACTION | NAME |
+--------+----------------+
| 0 | UNKNOWN |
| 1 | CREATE TABLE |
| 2 | INSERT |
| 3 | SELECT |
| 4 | CREATE CLUSTER |
| 5 | ALTER CLUSTER |
| 6 | UPDATE |
| 7 | DELETE |
| 8 | DROP CLUSTER |
| 9 | CREATE INDEX |
+--------+----------------+
10 rows in set
References
View the audit trail entries generated by the
AUDIT EXISTSandAUDIT NOT EXISTSstatements: DBA_AUDIT_EXISTSView the audit trail entries for all objects:
View the audit trail entries for
CONNECTandDISCONNECT:View all audit trail entries:
View the audit trail entries for the
GRANT,REVOKE,AUDIT,NOAUDIT, andALTER SYSTEMstatements:For more information about security audit, see the following topics:
