tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Release Notes and Announcements
Release Notes
Announcements
User Tutorial
Product Introduction
Overview
Product Strengths
Use Cases
Storage Engine
Product Series
Product Versions
Specifications and Performance
Read/Write Separation
Multi-AZ Deployment
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
Pricing Center
Instance Purchasing
Renewal (Yearly/Monthly Subscription)
Refund (Yearly/Monthly Subscription)
Overdue Payments
Switching from Pay-as-You-Go to Yearly/Monthly Subscription
Getting Started
Quickly Creating an Instance
Connecting to Redis Instance
Operation Guide
Operation Overview
Connecting to a Database Instance
Managing Instances
Upgrade Instance
Management Node (Redis/ValKey Edition)
Multi-AZ Deployment Management
Backup and Restoration
Managing Accounts
Parameter Configuration
Slow Query
Access Management
Network and Security
Monitoring and Alarms
Event Management (Redis/ValKey Edition)
Data Migration
Global Replication for Redis Edition
Database Audit
Performance Optimization
Sentinel Mode
Development Guidelines
Naming Rules
Basic Usage Guidelines
Design Principles of Key and Value
Command Usage Guidelines
Design Principles of Client Programs
Connection Pool Configuration
Command Reference
Command Reference Overview
Redis Edition and Valkey Edition Command Compatibility
Version Command Usage Differences
Differences Between the Proxy Architecture and Direct Connection Mode
More Command Operations (Redis/Valkey Edition)
Memcached Edition Command Compatibility
Practical Tutorial
Building TencentDB for Redis® Client Monitoring Based on Spring Boot
Redis Client Connection Configuration Policy and Practice
Global SCAN Guide for Cluster Architecture
Eliminating Instances Securely
Hot Key and Big Key
AZ Migration Scheme
Troubleshooting
Connection Exception
Exception Analysis and Solution of Redisson Client Timeout Reconnection
Performance Troubleshooting and Fine-Tuning
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Parameter Management APIs
Other APIs
Backup and Restoration APIs
Region APIs
Monitoring and Management APIs
Log APIs
Data Types
Error Codes
FAQs
General
Connection and Login
Purchase
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

General

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-18 09:38:30

How to Obtain Client Access Information and Usage Statistics?

When a business is decommissioned, you can effectively monitor and view client connections using the CLIENT LIST command to ensure no lingering connections remain. Executing the client list command on the Proxy node returns information and statistics for all clients connected to the Redis server, as shown below.
Note:
In high-load scenarios and large-scale deployments of Distributed Cache proxies, the CLIENT LIST command may impose significant memory pressure on specific shards, potentially leading to OOM and key eviction.
xx.xx.xx.xx:6379> client list
id=-524313527796215 addr=10.xx.xx.xx:51860 fd=3 name= cmd=client age=3 idle=0 proxy=356089c45395053d205d9abe1d**************
Response Parameters
Description
id
a unique 64-bit client ID
addr
client address and port
fd
file descriptor used by the socket
name
the name set by the client using CLIENT SETNAME
cmd
the most recently executed command
age
the duration of the connection in seconds.
idle
the idle time in seconds.

How do I use the hash algorithm of Tencent Cloud Distributed Cache Cluster Edition?

The hash algorithm of the Distributed Cache Redis Cluster Edition is the same as that in the a Redis Community Edition cluster, i.e., HASH_SLOT = CRC16(key) mod 16384. For more information, see Redis Cluster Specification.

What is the maximum capacity of a single instance?

Edition
Specification Range
Memory Edition (Standard Architecture)
0.25 GB–64 GB
Memory Edition (Cluster Architecture)
2 GB–8 TB
CKV Edition (Standard Architecture)
4 GB–384 GB
CKV Edition (Cluster Architecture)
12 GB–48 TB

Is the data stored in Tencent Cloud Distributed Cache reliable?

Distributed Cache standard architecture (0 replicas) does not provide high availability. Other editions adopt a primary-secondary replication structure, combining hot backup and daily cold backup to ensure data reliability.

Which persistence method does Tencent Cloud Distributed Cache use?

On the Distributed Cache backend, the backup cluster performs full data backup, and persistence is done on the replicas which is virtually imperceptible to the online business.

Why is 2 MB of storage capacity used right after an instance is purchased?

That is used by the Distributed Cacheinstance in maintaining its data structure.

Can Tencent Cloud Distributed Cache be managed with visual tools such as Redis Desktop Manager?

You can perform Ops and management operations in the Distributed Cacheconsole. If you need to use a visual tool, use a CVM instance as a jump server to provide an access address for Redis Desktop Manager.

Will my business be interrupted during scaling?

Momentary disconnections during scaling of different editions of Distributed Cache are as describe below:
During scale-up, if the expanded capacity exceeds the remaining capacity of a single server, the cluster will perform sharding or migrate nodes, and a momentary business disconnection will occur; otherwise, no disconnections will occur.
During scale-out, the number of nodes in the cluster will be increased, and a momentary business disconnection will occur.
During scale-in, node repossession will cause node migration in the cluster, and a momentary business disconnection will occur.
During scale-down, no momentary business disconnections will occur.

How do I add a monitoring alarm?

This can be implemented through custom monitoring and alarming. For more information, see Monitoring at Five-Second Granularity.

Do I need to purchase different instances for selecting 0–15 databases?

No. Multiple databases can be set on one Standard Architecture or Cluster Architecture instance.

Does Tencent Cloud Distributed Cache support Lua?

For Standard Architecture instances purchased before September 1, 2018, Lua is not enabled by default, and you can submit a ticket for application. For instances purchased after that date, Lua is enabled by default.
The cluster architecture has the Lua feature enabled by default.

DoesTencent Cloud Distributed Cache support caching invalidated subscription events?

Yes.

What should I do if I accidentally delete my account or forget the password?

If you accidentally deleted an account, you can log in to the Tencent Cloud Distributed Cache console, click an instance ID to enter the instance management page, and select Account Management > Create Account to create a new account.
If you forgot the password of the default account, you can reset it by locating the corresponding account on the Account Management page.

What should I do if the data on a replica node is out of sync with the data on the master node in Tencent Cloud Distributed Cache?

Updates of the Tencent Cloud Distributed Cache master node will be automatically replicated to its associated replica node. Due to Redis' async replication mechanism, replica node updates may lag behind the master node updates. Possible causes are as follows:
The I/O write volume of the master node exceeds the sync speed of the replica node.
There is a network delay between the master node and the replica node.

How do I check the port connectivity of Tencent Cloud Distributed Cache?

You can use the telnet command to check the port connectivity.

How do I set a caching policy in Tencent Cloud Distributed Cache?

Log in to the Tencent Cloud Distributed Cache console, click an instance ID in the instance list to enter the parameter configuration page, and configure a caching policy through the maxmemory-policy parameter, whose default value is noeviction.

How do I download a client for Tencent Cloud Distributed Cache?

Clients compatible with the Redis protocol can access Tencent Cloud Distributed Cache. You can choose an appropriate client as needed. For the download addresses, see Clients.

How do I upgrade the version of Tencent Cloud Distributed Cache?

Log in to the Tencent Cloud Distributed Cache console and click an instance ID in the instance list to enter the Instance Details page, where you can upgrade the instance version. For more information, see Upgrading Instance Version.

How do I upgrade the architecture of Tencent Cloud Distributed Cache?

Log in to the Tencent Cloud Distributed Cache console and click an instance ID in the instance list to enter the Instance Details page, where you can upgrade the instance architecture. For more information, see Upgrading Instance Architecture.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백