Data Management (DMS) provides the operation audit feature in addition to the basic features of operation log management. You can use this feature to troubleshoot database issues with ease and audit operations that are performed on databases. You can also use this feature to view and manage the SQL statements that are used in the SQL Console, tickets, logon information, and operation logs.
Features
Module | Description | Item |
---|---|---|
Operation Logs | Displays the logs of all the operations that are performed in DMS. | Includes the logs of management and configuration operations, SQL statements that are used in the SQL Console, tickets, and logon information. |
Operation audit | Displays all the operations that are performed on the databases in DMS.
Note This module provides a user interface (UI) for you to audit operations in a centralized
manner. This also helps you troubleshoot database issues with ease.
|
Includes SQL statements that are used in the SQL Console, tickets, and logon information.
Note Only DMS administrators, database administrators (DBAs), ticket submitters, and stakeholders
involved in the ticket approval process can view the ticket details.
|
Log retention period
- Three years: DMS retains logs for three years for database instances that are managed in Stable Change or Security Collaboration mode.
- Seven days: DMS retains logs only for seven days for database instances that are managed in Flexible Management mode.
- If you change the control mode of an instance from Flexible Management to another mode, the log retention period of the instance is changed from seven days to three years, and you can access all the logs that are not deleted.
- If you change the control mode of an instance from Stable Change or Security Collaboration to Flexible Management, you can view logs only for the last seven days. Logs that are generated more than seven days ago might be deleted and cannot be viewed.
Procedure and supported roles
Auditing scope | Limit | Link to operation audit | Supported role |
---|---|---|---|
Database | You can view and audit only the operations that are performed on the current database. |
|
You can be a DMS administrator, a security administrator, a DBA, an instance owner,
or a regular user.
Note If you are a regular user, you can view and audit only the operations that you performed
on the current database.
|
Instance | You can view and audit only the operations that are performed on the current instance. | In the left-side navigation pane of the DMS console, click the database instance in which the database that you want to audit resides, right-click the database, and then choose | .You can be a DMS administrator, a security administrator, a DBA, an instance owner,
or a regular user.
Note If you are a regular user, you can view and audit only the operations that you performed
on the current instance.
|
Global | You can view and audit all the operations that are performed in DMS. | In the top navigation bar of the DMS console, move the pointer over Operation Audit. | and clickYou can be a DMS administrator, a security administrator, or a DBA. |
Download operation records
The following section describes how to download all the SQL statements that are used in the SQL Console in the last month.
Download operation logs
You can download operation logs by calling the GetOpLog operation. For more information, see GetOpLog.