Overview
This article introduces the collection policy of RDS slow logs.
Background information
The log agent retrieves slow logs from the mysql.slow_log every minute, and then uses
truncate
command to clean up the table.
Application scope
- ApsaraDB RDS for MySQL