All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Real-time key statistics and offline key analysis

Last Updated:Jun 23, 2025

You can call the API operations provided by Database Autonomy Service (DAS) to perform real-time key statistics and offline key analysis tasks.

Overview

  • Real-time key statistics: You can use this feature to display large keys and hotkeys in an instance in real time. You can also query large keys and hotkeys within the last four days. You can use this feature to obtain key information, such as memory usage and access frequency of keys, and optimize the instance based on the information. For more information, see Use the top key statistics feature.

  • Offline key analysis: You can use this feature to analyze backup files of Tair and identify large keys and dynamic hotkeys in an instance. You can also use this feature to view key information in the instance, such as the memory usage, distribution, and expiration time of keys. You can optimize the instance based on the analysis results. This feature helps you resolve issues such as insufficient memory and performance degradation that are caused by skewed distribution of keys. For more information, see Use the offline key analysis feature.

Precautions

API operations described in this topic are provided by DAS. You must use the core library and DAS SDKs to call these operations.

For more information, see Quick start.

Related API operations

Category

Operation

Description

Offline key analysis

CreateCacheAnalysisJob

Creates an offline key analysis task.

DescribeCacheAnalysisJobs

Queries offline key analysis tasks.

DescribeCacheAnalysisJob

Queries the details of an offline key analysis task.

DescribeHotKeys

Queries the hotkeys of a Tair instance.

Real-time key statistics

DescribeHotBigKeys

Queries the hotkeys and large keys in the memory in real time.

DescribeTopHotKeys

Queries the top 20 hotkeys over a period of time.

DescribeTopBigKeys

Queries the top 20 large keys over a period of time.

DescribeHotKeys

Queries the hotkeys of a Tair instance.