Updated on 2024-05-20 GMT+08:00

Hot Key Diagnosis

A key that is frequently accessed is considered a hot key. This section describes how to use hot key diagnosis for GeminiDB Redis instances.


  • For cluster GeminiDB Redis instances, the top 30 hot keys that are accessed most frequently can be diagnosed. For primary/standby instances, the top 20 hot keys that are accessed most frequently can be diagnosed.
  • After audit log is enabled, hot key diagnosis history will be audited.
  • A key that receives 1,000 or more queries per second (QPS) is considered a hot key. When the QPS value is greater than 6,000, the accurate value is not collected.


  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, locate the target instance and click its name.
  4. In the navigation pane on the left, choose Diagnosis Analysis.
  5. Choose Hot Key Diagnosis.

    Figure 1 Hot key diagnosis

    Table 1 Parameters for hot key diagnosis




    Name of a hot key.


    Type of a hot key, which can be string, hash, list, set, or sorted set.

    Latest Command

    Latest command executed for the hot key.


    Number of accesses to a hot key per second.


    The maximum QPS that can be displayed is 6,000. If a QPS exceeds 6,000, the accurate value will not be collected.


    Database where a hot key is located.