This topic describes the parameters for slow query logs of apsaradb for Redis.
- The default value of
slowlog-max-lenis 128, which indicates that apsaradb for Redis stores the last 128 slow query logs for each node.
- If the number of
slowloggetis not specified, the last 10 slow query logs are returned by default.
- The threshold for slow query logs is 10ms. Once the threshold is exceeded, logs are recorded in slow query logs.
Note: The Cluster Edition supports the slowlog command.
ApsaraDB for Redis