The CT-DCS console supports top key analysis, which can display big key and hot key information in an instance in real time, and supports viewing a month of history of big keys and hotkeys. This function helps you comprehensively understand vital information such as the access frequency and number of elements of a key, thereby providing strong data support for subsequent optimization operations.
Definitions of Big Keys and Hot Keys
Term | Definition |
Big keys: | There are two types of values stored in Redis: One is String type elements, and the other is set elements. According to these two types, there are two types of big keys: l String keys with a value exceeding 1 MB; l Set keys with over 3,000 elements. |
Hot keys: | A key is defined as a hot key if the number of requests per second exceeds 3,000; |
Before You Begin
A DCS Redis cluster version instance that has been successfully created and is running.
Procedure
1. Log in to the Redis management console.
2. Select the region of the instance in the upper left corner of the management console.
3. On the instance list page, click the target instance name to go to the instance details page.
4. Click on metric monitoring. This page includes basic metrics, node metrics, client sessions, top key analysis, offline full-key analysis, and expired key scanning.
5. Select the TOP KEY Analysis tab page above to view the big key and hot key information.