Help Center/ Database Security Service/ User Guide/ Database Audit/ Managing the Audit System/ Configuring the Automatic Deletion Time of Audit Logs
Updated on 2026-07-07 GMT+08:00

Configuring the Automatic Deletion Time of Audit Logs

You can set the automatic deletion time of audit logs.

Constraints and Limitations

To maintain system stability, historical logs are automatically deleted in chronological order if disk usage exceeds 80%. However, compliance mandates that logs be retained for at least 180 days. To ensure you meet this requirement, you are strongly advised to enable OBS backup.

Configuring the Automatic Deletion Time of Audit Logs

  1. Log in to the DBSS console.
  2. Click in the upper left corner on the displayed page and select a region.
  3. In the navigation tree on the left, choose Settings.
  4. On the Settings page, click the General Settings tab page.
  5. Enter the number of days as required and click Apply.

    Figure 1 General Settings