Help Center/ GaussDB(for MySQL)/ User Guide/ Logs and Auditing/ Configuring SQL Explorer for a DB Instance
Updated on 2024-11-06 GMT+08:00

Configuring SQL Explorer for a DB Instance

Enabling SQL Explorer will allow GaussDB(for MySQL) to store all SQL statement logs for analysis.

You can enable SQL Explorer on the DAS console.

Constraints

SQL Explorer cannot record all data. It has the following constraints:

  • Some data cannot be recorded if a buffer overrun occurs.
  • If the size of an SQL statement exceeds the value of rds_sql_tracer_max_record_size, the statement is not recorded by default.

    rds_sql_tracer_max_record_size controls the maximum size of an SQL statement. To change its value, see Modifying Parameters of a DB Instance.