All Products
Search
Document Center

ApsaraDB RDS:View logs

Last Updated:Mar 30, 2026

View error logs and slow query logs for an ApsaraDB RDS for MariaDB instance from the ApsaraDB for RDS console.

Log types

The Logs page in the console provides three tabs:

Tab Description
Error Log Records database running errors that occurred within the last month.
Slow Query Log Records SQL statements that each took more than 1 second to run within the last month. Duplicate SQL statements are removed. To change the 1-second threshold, reconfigure the long_query_time parameter.
Slow Query Log Summary Provides statistics and analysis reports on SQL statements that each took more than 1 second to run within the last month. To change the 1-second threshold, reconfigure the long_query_time parameter.

To reconfigure long_query_time, see Reconfigure parameters for an RDS MariaDB instance.

View logs

  1. Log on to the ApsaraDB for RDS console.

  2. In the upper-left corner, select the region where the instance resides.

  3. Find the instance and click its ID.

  4. In the left-side navigation pane, click Logs.

  5. On the Logs page, click Error Log, Slow Query Log, or Slow Query Log Summary, select a time range, and click Search.