All Products
Search
Document Center

Description of slow query logs in apsaradb for Redis

Last Updated: Dec 29, 2020

Overview

This topic describes the parameters for slow query logs of apsaradb for Redis.

Detail

  • The default value of slowlog-max-len is 128, which indicates that apsaradb for Redis stores the last 128 slow query logs for each node.
  • If the number of slowlogget is 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.

Application scope

  • ApsaraDB for Redis