Updated on 2024-05-31 GMT+08:00

Audit and Logs

Audit

Cloud Trace Service (CTS) records operations on the cloud resources in your account. You can use the logs generated by CTS to perform security analysis, track resource changes, audit compliance, and locate faults.

For details about how to enable and configure CTS, see Enabling CTS.

With CTS, you can record operations associated with GaussDB for future query, audit, and backtracking. For details, see Key Operations Supported by CTS.

Logs

GaussDB provides a variety of log types and functions for database analysis or audit. You can download logs on the management console.

  • Error logs

    GaussDB allows you to download error logs. Error logs are generated when the database is running. These logs can help you analyze problems with the database. For details about error logs, see Error Logs.

  • Slow query logs

    You can download slow query logs to locate slow SQL statement execution problems and tune the database accordingly. For details about slow query logs, see Slow Query Logs.