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.
Constraints
- 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.
Procedure
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Redis API.
- On the Instances page, locate the target instance and click its name.
- In the navigation pane on the left, choose Diagnosis Analysis.
- Choose Hot Key Diagnosis.
Figure 1 Hot key diagnosis
Table 1 Parameters for hot key diagnosis Parameter
Description
Name
Name of a hot key.
Type
Type of a hot key, which can be string, hash, list, set, or sorted set.
Latest Command
Latest command executed for the hot key.
QPS
Number of accesses to a hot key per second.
NOTE:The maximum QPS that can be displayed is 6,000. If a QPS exceeds 6,000, the accurate value will not be collected.
DB
Database where a hot key is located.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot