How Long Is the Database Audit Data Stored by Default?
Database audit can store online and archived audit data for at least 180 days.
On the Dashboard of database audit, you can select the database and audit period to view audit data.
However, the storage duration also depends on the disk capacity of the log database. To store your audit data long enough, you are advised to:
- Choose a database audit edition suitable for your business.
- To audit a small volume of data, apply for the basic edition.
- To audit a large volume of data, apply for the professional or advanced edition.
For more information, see Table 1.
- Back up audit logs.
Edition | Maximum Databases | Performance |
---|---|---|
Basic | 3 |
|
Professional | 6 |
|
Advanced | 30 |
|
- A database instance is uniquely defined by its database IP address and port.
The number of database instances equals the number of database ports. If a database IP address has N database ports, there are N database instances.
Example: A user has two database IP addresses, IP1 and IP2. IP1 has a database port. IP2 has three database ports. IP1 and IP2 have four database instances in total. To audit all of them, select professional edition DBSS, which supports a maximum of six database instances.
- To change the edition of a DBSS instance, unsubscribe from it and apply for a new one.
- The cloud native edition can be purchased only on the RDS console.
- Online SQL statements are counted based on the assumption that the capacity of an SQL statement is 1 KB.