TencentDB for Redis

TencentDB for Redis
Release Notes and Announcements
Product Documentation©2013-2022 Tencent Cloud. All rights reserved.

Page 1 of 40

TencentDB for Redis

Copyright Notice©2013-2024 Tencent Cloud. All rights reserved.
Copyright in this document is exclusively owned by Tencent Cloud. You must not reproduce, modify, copy or distributein any way, in whole or in part, the contents of this document without Tencent Cloud's the prior written consent.
Trademark Notice

All trademarks associated with Tencent Cloud and its services are owned by Tencent Cloud Computing (Beijing)
Company Limited and its affiliated companies. Trademarks of third parties referred to in this document are owned bytheir respective proprietors.
Service Statement
This document is intended to provide users with general information about Tencent Cloud's products and services
only and does not form part of Tencent Cloud's terms and conditions. Tencent Cloud's products or services are
subject to change. Specific products and services and the standards applicable to them are exclusively provided for in
Tencent Cloud's applicable terms and conditions.

©2013-2022 Tencent Cloud. All rights reserved.

Page 2 of 40

TencentDB for Redis

Contents
Release Notes and Announcements
Release Notes
Announcements
Classic Network Will Be Disused
API for Querying Instance Big Key Will Be Disused
1-Minute Granularity Will Be Disused
Monitoring Upgrade and Alarm Policy Changes©2013-2022 Tencent Cloud. All rights reserved.

Page 3 of 40

TencentDB for Redis

Release Notes and Announcements
Release Notes：

Last updated 2024-04-22 15:53:44

March 2024
UpdateDescription
Supports graphical monitoring of the command count deviation
during the global replication process between the primary
instance and disaster recovery instances, as well as the

Added global
replication
monitoring metrics.

Document

Monitoring Metrics﻿

synchronization latency in remote synchronization.

February 2024
UpdateDescription

Document

One-clickconnectivity

If the connection to TencentDB for Redis instance fails, it isrecommended to first use the one-click connectivity checker to

One-Click
Connectivity

checker

identify the cause.

Checker﻿UpdateDescription

Document

Added monitoring
metrics.

Adds a monitoring metric for the number of keys with expiration
time set.

January 2024

Monitoring feature(5-second
granularity)﻿

February 2023

©2013-2022 Tencent Cloud. All rights reserved.

Page 4 of 40

TencentDB for Redis

UpdateDescription

Supported theconfigurationof backup file

To prevent database backup data from being dragged, TencentDB for
Redis allows you to download backup files from specific servers on thedownload
rules

Document

allowed private network.

Supported theselection ofbilling
methods forclone
instances

When cloning a complete new instance based on the current backup
file, you can choose the pay-as-you-go billing mode.

November 2022
UpdateDescription

Document

Released
Redis 6.2

Redis 6.2 is fully released, which supports standard and clusterarchitectures, read/write separation, scaling without disconnection, andultra high availability.

Product Series

Supported
exportingparameters
as a fileOn the Parameter Settings page in the console, you can export theparameter file of the current instance to easily view them locally.

Setting InstanceParameters

October 2022
UpdateDescription

Document

Optimized theinstance list in
the console

The Deployment Mode column is added in the instance list to indicate
whether an instance is deployed across AZs.
When exporting the instance list information, you can aggregate tags fordisplay, which are separated by |.

Viewing Instance
Information

September 2022

©2013-2022 Tencent Cloud. All rights reserved.

Page 5 of 40

TencentDB for Redis

UpdateAddedmonitoring
metrics

Description
The Max Connections Utilization of Node metric is added to monitor
the maximum connection utilization of all proxy nodes in an instance.

Document
Monitoring at
Five-Second
Granularity

August 2022
UpdateDescription

Supported
querying slow

TencentDB for Redis supports slow query of read-only replica to help

logs of readonly replicas
Supportedsmooth scalein to the 256
MB
specification

you troubleshoot performance problems of read-only operations.

TencentDB for Redis in standard architecture supports smooth
reduction of memory capacity from 1 GB or higher to 256 MB.

Document-

Changing
Instance
Specification

July 2022
UpdateDescription

Document

Optimized
statisticalalgorithm for
traffic andTencentDB for Redis now provides optimized statistical algorithm forthrottling that

inbound/outbound traffic and throttling.

-

triggers
monitoring
metrics
Supported the
256 MB
specification
for thestandard

The minimum memory specification (256 MB) is available for TencentDB
for Redis 4.0 and 5.0 Memory Edition (Standard Architecture) instances

Performancein more AZs.

architecture©2013-2022 Tencent Cloud. All rights reserved.

Page 6 of 40

TencentDB for Redis

June 2022
UpdateSupported
SSL
encryption

Description

Document

TencentDB for Redis supports SSL encryption to implement encrypted
data transfer.

SSL
Encryption

Description

Document

May 2022
UpdateSupported
minor version
upgradeSupported
proxy
upgradeTencentDB for Redis supports minor version upgrade, so that you can
upgrade your instance to a newer version for more features.

Minor versions of the TencentDB for Redis proxy are released from time totime to add more database features or fix known bugs.

UpgradingInstance
VersionUpgrading
Proxy

April 2022
UpdateUpgraded
the global
replication
featureDescription

Document

Multi-AZ instances can be added to a global replication group, andexisting instances can be quickly upgraded to global replication

Creating Global
Replication

instances.

Group

February 2022
UpdateDescription

Document

Supportedarchitecture

Multi-AZ deployed instances can be upgraded from the standard
architecture to cluster architecture.

UpgradingInstance

upgrade formulti-AZ©2013-2022 Tencent Cloud. All rights reserved.

Architecture

Page 7 of 40

TencentDB for Redis

deployedinstances
Supported
instance
clone formulti-AZ
deployed

Multi-AZ deployed instances allow you to clone a complete instance froma backup file.

Cloning Datainstances

January 2022
UpdateDescription

Supported
globalThe global replication feature allows you to add and remove

replication
Supportedcustombackupretention

instances, switch instance roles, and delete replication groups.

Document

Overview

You can apply for customizing the retention period of backup files
through an allowlist.

Backing up Data

Instances in the same AZ support calling the
KillMasterGroup API for failure simulation testing.

KillMasterGroup

periodAdded theAPI forfailuresimulation
Added theAPI formaster-

Instances in the same AZ support calling thereplicaswitch(group) to a master node for master-replica switch.

ChangeReplicaToMaster API to promote a replica node

ChangeReplicaToMaster

December 2021
UpdateDescription

Document

Supported

The minimum memory specification of TencentDB for Redis 4.0 and 5.0

Performancethe 256 MB
memoryMemory Edition (Standard Architecture) instances can be 256 MB.

©2013-2022 Tencent Cloud. All rights reserved.

Page 8 of 40

TencentDB for Redis

specification

Currently, this is supported only in Shanghai Zone 5, Beijing Zone 6, andforTencentDB

Guangzhou Zone 6.

for Redis 4.0
and 5.0
MemoryEdition(StandardArchitecture)

November 2021
UpdateDescription

Document

Supported

TencentDB for Redis now provides default parameter templates
applicable to Redis 2.8 standard architecture, Redis 4.0 standard

Applyingarchitecture, Redis 4.0 cluster architecture, Redis 5.0 standard
architecture, and Redis 5.0 cluster architecture. You can view them on the

Parameter
Templates

systemdefault
templates

parameter template page in the console.

Supportedenabling

TencentDB for Redis allows you to enable public network access in the

Configuring

publicconsole, so that you can connect to your TencentDB for Redis instance

Public Network

network
accessfrom a CVM instance in different VPCs over the public network.

Address

UpdateDescription

Document

Supportedparameter

Besides the system parameter templates provided by TencentDB for Redis,
you can create custom parameter templates to configure parameters in

Applying
Parameter

templatebatches as needed.

Templates

UpdateDescription

Document

Supported

TencentDB for Redis supports the automatic failover feature for proxy

FailoverJuly 2021

June 2021©2013-2022 Tencent Cloud. All rights reserved.

Page 9 of 40

TencentDB for Redis

automatic
failovernodes and Redis server nodes to ensure service availability.

TencentDB for Redis provides the automatic failback feature for instances
deployed across AZs. After the feature is enabled, if the master node isswitched from the master AZ or master node group (cluster architecture)

Auto-Failback

to another AZ or group after a failover occurs, it will be automaticallyswitched back, simplifying subsequent Ops operations.

Automatic
Failback

Manually

For multi-AZ deployed TencentDB for Redis instances in the

Manually

Promoting toMaster Nodestandard/cluster architecture, you can manually promote a replica
node/node group to master node/node group. You can deploy the master

Promoting toMaster Node

(Group)node in a specified AZ/node group.

(Group)Reading
Local Nodes

To reduce the access latency of a multi-AZ deployed instance, TencentDB

Reading Local

for Redis allows you to read local nodes only.

Nodes Only

UpdateDescription

Document

Fully
supported

TencentDB for Redis now supports the 5-second monitoring granularity.

Monitoring

monitoring
metrics at a

After the monitoring granularity of an instance is adjusted to five seconds,
the monitoring metrics, proxy, and alarm policies of the instance, and theUpgrade andAlarm Policy

5-second

method of viewing monitoring data in the TCOP console will change.

Changes

Only

March 2021

granularity

December 2020
UpdateDescription

Document

RenamedTencentDB
for Redis
HybridStorage
EditionTencentDB for Redis Hybrid Storage Edition has been renamed
TencentDB for Tendis. You can access TencentDB for Tendis in its own
console.

TencentDB for
TendisTencentDB
for Tendis©2013-2022 Tencent Cloud. All rights reserved.

Page 10 of 40

TencentDB for Redis

Supported

You can now deploy TencentDB for Redis master and replica nodes inMulti-AZ

multi-AZ

different availability zones (AZs) of the same region. Multi-AZ deployed

Deployment

deployment

instances have higher availability and better disaster recovery capability
than single-AZ deployed instances.

September 2020
UpdateDescription

Document

5-second
granularity for

The monitoring feature of TencentDB for Redis has been updated, withthe monitoring granularity being narrowed down from one minute to five

Monitoring at
Five-Second

monitoringdata

seconds.

Granularity

UpdateDescription

Document

Supported

TencentDB for Redis now supports version upgrade, so you can upgradeUpgradingversionupgradefrom a lower version of Standard Edition to a higher one, including from
2.8 to 4.0, from 2.8 to 5.0, and from 4.0 to 5.0.

Instance
VersionSupported

TencentDB for Redis now supports quick upgrade from standard

Upgradingarchitecture
upgradearchitecture to cluster architecture to help your business expand theperformance and capacity with speed.

Instance
Architecture

Description

Document

TencentDB for Redis Hybrid Storage Edition is launched. With 100%
compatibility with Redis protocols, it reduces memory costs by up to

Hybrid Storage

80% and delivers a hot data performance comparable with that ofMemory Edition, achieving a perfect balance among compatibility,

Edition (Cluster
Architecture)

Supported theJuly 2020

June 2020
UpdateLaunched
TencentDB
for Redis
HybridStorage
Editionperformance, and costs.

©2013-2022 Tencent Cloud. All rights reserved.

Page 11 of 40

TencentDB for Redis

April 2020
UpdateDescription

Document
Migration with

Supported
Redis 5.0 in

DTS
VersionYou can now migrate data and upgrade instances to Redis 5.0 with DTS.

DTS

Upgrade with
DTS

March 2020
UpdateDescription

Document

Supported theserviceunavailable

TencentDB for Redis now supports the service unavailable alarmfeature. In addition, users can also set alarms for instancemaster/replica switch, read-only replica failover, and read-only replica

Configuring
Alarm

alarm featureunavailability.

Supported

You can now adjust instance network bandwidth on the instance details

adjustingbandwidth in
the console

page in the Redis console. The bandwidth specifications for Cluster
Edition have been fully upgraded, with shard specifications upgraded to
384 Mbps.

Updated themonitoring

To provide more accurate monitoring information, Tencent Cloud has
updated the monitoring view of Redis 2.8 instance to cluster view. If you

view for Redis
2.8

use APIs to get monitoring data from TCOP, you need to change theview parameter from redisuuid to cluster in the code.

--

February 2020
UpdateUpgraded thedefault
number of
databases in
an instance to

Description

For Redis 2.8, 4.0, and 5.0 Standard and Cluster Editions youpurchased this month, the default number of databases in an instancehas been upgraded from 16 to 256.

256©2013-2022 Tencent Cloud. All rights reserved.

Document
Memory Edition(StandardArchitecture)
Memory Edition(ClusterArchitecture)

Page 12 of 40

TencentDB for Redis

January 2020
UpdateReleased
Redis 5.0

Description
Redis 5.0 Standard and Cluster Editions have been released with allfeatures of Redis 4.0 reserved, and support the latest STREAM data
structure, new ZSET commands ZPOPMIN and ZPOPMAX , scaling
without disconnection, 4 TB of storage capacity, and tens of millions ofconcurrent QPS.

Document
Memory Edition(StandardArchitecture)
Memory Edition(ClusterArchitecture)

October 2019
UpdateDescription

Document

Supported
accessmanagement

You can now create policies through access management which grant
sub-accounts permissions to use the resources they need.

AccessManagement

Supportedaccount
management in
the console

TencentDB for Redis provides read-write permission control and routing
policy control through the account mechanism, which helps meet theneeds of business permission management in complex scenarios.
Currently, only the TencentDB for Redis Community Edition (excluding
Redis 2.8) supports account settings.

Managing
Account

September 2019
UpdateDescription

Document

Releasedmonitoring 2.0

Redis monitoring 2.0 has been released, adding more than 16
monitoring metrics, including network delay, response error and othermonitoring metrics.

Monitoring

UpdateDescription

Document

Supported

To enable password-free access, submit a ticket. We recommend that

Password-Free

August 2019©2013-2022 Tencent Cloud. All rights reserved.

Page 13 of 40

TencentDB for Redis

password-freeaccessyou limit server access by using security groups after this feature isenabled.

Supported

TencentDB for Redis is now able to disable some Redis commands
that may cause service instability or accidentally delete data, including
flushall , flushdb , keys , hgetall , eval ,disabling highrisk commands
onlineSupported
Cluster Editionin DTS

AccessDisabling
Commands

evalsha , and script .
You can now migrate self-created Redis Cluster (3.0, 3.2, and 4.0) or
Codis (2.8 and 3.2) databases to TencentDB for Redis with DTS.

Migration withDTS

UpdateDescription

Document

Supported
versionupgrade with

TencentDB for Redis instance version can now be upgraded throughDTS with hot migration, which guarantees instance service continuity
during the upgrade process and can update incremental data in real

Version Upgradewith DTS

DTS

time.

July 2019

Released
Redis 4.0
Standard
EditionRedis 4.0 Standard Edition supports 1-master 5-replica mode,

Memory Edition

read/write separation, scaling without disconnection, and ultra highavailability.

(StandardArchitecture)

October 2018
UpdateReleased
Redis 4.0
Cluster Edition

Description
Redis 4.0 Cluster Edition has been released and supports 4 TB of
storage capacity, tens of millions of concurrent access requests,
scaling without storage capacity loss, and automatic read/write
separation.

©2013-2022 Tencent Cloud. All rights reserved.

Document
Memory Edition(ClusterArchitecture)

Page 14 of 40

TencentDB for Redis

Announcements
Classic Network Will Be Disused：

Last updated 2022-11-08 17:18:57
Dear user,
Tencent Cloud stopped the support of the creation of any new resources in the classic network on March 31, 2022
and will officially discontinue the classic network product from December 31, 2022. After that, all classic networkbased resources will be migrated to VPC.
As the current mainstream cloud network environment, VPC has all the features of the classic network while providing
a more secure, flexible, and stable network environment and user experience. If your business is still using the classic
network, we recommend you migrate it to VPC for a better service experience.
Note:
For more information, see Migration Solutions

Contact Us
For any questions, contact us.

©2013-2022 Tencent Cloud. All rights reserved.

Page 15 of 40

TencentDB for Redis

API for Querying Instance Big Key Will Be
Disused：Last updated 2022-11-17 11:00:02
Dear user,
TencentDB for Redis will discontinue API DescribeInstanceMonitorBigKey for querying the big key of an instance on
October 31, 2022, but this feature will continue to serve through the API DescribeRedisTopBigKeys of
DBbrain.
TencentDB for DBbrain (DBbrain) is an intelligent database diagnosis and optimization product that provides real-time
performance diagnosis and security protection services. It troubleshoots efficiently, offers solutions to database
exceptions, and helps you prevent exceptions at the source. It can also help improve the overall database
performance with its AI-powered parameter tuning capabilities.
DescribeRedisTopBigKeys of DBbrain can specify the sorting field and type of the Key to quickly query of
big key information of an instance, including expiration time, memory size, element quantity, and the max element
length.

List of deprecated APIs
DescribeInstanceMonitorBigKey API and its associated APIs.
escribeInstanceMonitorBigKeySizeDist ·and DescribeInstanceMonitorBigKeyTypeDist will
be deprecated simultaneously.
API Name

Description

DescribeInstanceMonitorBigKey﻿

Queries the big key of an instanceDescribeInstanceMonitorBigKeySizeDist﻿Queries the big key size distribution of an instanceDescribeInstanceMonitorBigKeyTypeDist﻿Queries the big key type distribution of an instance©2013-2022 Tencent Cloud. All rights reserved.

Page 16 of 40

TencentDB for Redis

1-Minute Granularity Will Be Disused：

Last updated 2023-03-29 15:36:39
CM will discontinue the 1-minute granularity alarm policy for TencentDB for Redis and QCE/REDIS namespace,which will have the following impacts:
You can't receive the alarm notification of TencentDB for Redis Memory Edition (1-minute granularity).
Data can't be displayed on the dashboard of TencentDB for Redis Memory Edition (1-minute granularity).
You can't pull the monitoring data of TencentDB for Redis Memory Edition (1-minute granularity).
Migration Schemes
Alarm policy: You need to migrate the alarm policy of the existing TencentDB for Redis instances with 1-minutemonitoring granularity to those with 5-second monitoring granularity. Click to view the mappings of metrics.
Dashboard: You need to migrate the dashboard of the existing TencentDB for Redis instances with 1-minutemonitoring granularity to 5-second monitoring granularity. Click to view the mappings of metrics.
Pulling monitoring metric data through APIs: You need to switch QCE/REDIS to QCE/REDIS_MEM, and modify thenames of pulled metrics simultaneously.
Because 1-minute monitoring granularity of TencentDB for Redis is not completely the same as the metric names in
Mappings of Metrics. This document describes the mappings of monitoring metrics of TencentDB for Redis 1-minutemonitoring granularity and 5-second monitoring granularity for you to compare and migrate.

Monitoring Metric Mappings Between 1-Minute and 5-Second Alarm
Policy1-Minute
Metric1-Minute MetricParameter

5-Second
Metric5-Second MetricParameter

Unit

Description

CPU Load

cpu_us_min

CPUUtilization

cpu_util%

Average CPU
utilization

CpuMaxUsMin

Max CPU
Utilization ofNode%

The maximum CP
utilization of a no
(shard or replica)
instance

Max CPULoad

cpu_max_util

Used
Memorystorage_min

Used
Memorymem_usedMB

Actually used me
capacity, includin
capacity for data
cache

Capacitystorage_us_min

Memorymem_util%

The ratio of the a©2013-2022 Tencent Cloud. All rights reserved.

Page 17 of 40

TencentDB for Redis

Utilization

Utilization

used memory to t
requested total m

Max
Capacity

StorageMaxUsMin

Utilization

Max
MemoryUtilization of

The maximum am
all node (shard o
mem_max_util%

replica) memory
utilizations in an

Nodeinstance

PrivateNetworkInbound
Traffic

in_flow_min

Inbound
Traffic

Inbound
Traffic

in_flow

MB/s

Utilization

Traffic

inbound traffic

The ratio of the aInboundin_flow_us_min

Private network

in_bandwidth_util%

out_flow

MB/s

Utilization

used private inbo
traffic to the maxi
traffic

PrivateNetwork
Outboundout_flow_min

OutboundTraffic

Private network
outbound traffic

Traffic
OutboundTraffic

out_flow_us_min

Utilization

Connections

OutboundTraffic

out_bandwidth_util%

Utilization

connections_min

Connections

The ratio of the aused private outb
traffic to the maxi
trafficconnections-

The number of T
connections to an
instance
The ratio of the nConnection
Utilization

connections_us_min

Connection
Utilization

connections_util%of TCP connectio
the maximum numof connections
The number ofSlow Logs

slow_query_min

Slow Logs

cmd_slow-command execut
with a latency gre
than the slowl
log-slower-t
configuration

Total Keys

keys_minTotal Keys

©2013-2022 Tencent Cloud. All rights reserved.

keys

-

The total number
keys (level-1 key

Page 18 of 40

TencentDB for Redis

instance storage
The number of ke

ExpiredKeys

expired_keys_min

ExpiredKeys

expired-expired in a time
window, which isto the value of
expired_key
output by the incommand.
The number of ke

EvictedKeys

evicted_keys_min

EvictedKeys

evicted-evicted in a time
window, which isto the value ofevicted_key
output by the incommand.

Average
Execution
Latencylatency_min

Average
Execution
Latency

The average exe
latency_avg

mslatency between
proxy and the Re
server
The average exe

Average
Read
Latencylatency_get_min

Average
Read
Latencylatency_readmslatency of readcommands betwe
the proxy and theserverAverageWritelatency_set_min

Latencylatency_writemsLatency

Average
Latency of
Other

Average
Write

proxy and the Re
server
The average exe
latency of comma

Averagelatency_other_min

Commands

Latency of
Otherlatency_otherms

Commands

QPS

qps_min

Read
Requests

stat_get_min

Total
Requests
Read
Requests©2013-2022 Tencent Cloud. All rights reserved.

The average exe
latency of write
command betwee(excluding write aread commands)
between the prox
the Redis servercommands

Counts/sec

Queries per seco

cmd_readCounts/sec

The number of recommand execut

Page 19 of 40

TencentDB for Redis

per second
Write
Requests

Other
Requests

Big Value
Requests

Read
Requeststat_set_min

stat_other_min

big_value_min

stat_success_min

Hits

Write
Requests

Other
Requests

Big Value
Requests

Read
Requestcmd_write

cmd_other

cmd_big_value

cmd_hits

Counts/sec

The number of w
command execut
per second

Counts/sec

The number ofcommand (exclud
write and readcommands) exec
per second

Counts/sec

The number of
executions of req
larger than 32 KB
second-Hits

The number of ke
successfully requby read comman
which is equal tovalue of the
keyspace_hi
metric output by
info comman

Read
Requeststat_missed_min

Misses

Read
RequestThe number of ke
unsuccessfully
requested by rea
cmd_miss-

Missescommands, whic
equal to the value
keyspace_mimetric output by
info comman

Execution
Errors

Read
Request Hit
Rate

cmd_err_min

cache_hit_ratio_min

Execution
Errors

Read
Request Hit
Rate©2013-2022 Tencent Cloud. All rights reserved.

cmd_err-

cmd_hits_ratio%

The number ofcommand execut
errors. For examp
the command do
exist, parameters
incorrect, etc.
Key hits/(key hits
misses). This me
can reflect the sitof cache miss. W

Page 20 of 40

TencentDB for Redis

the access requequantity is 0, theof this metric willnull.

Mappings of Monitoring Metrics Between 1-Minute and 5-Second
Dashboard
1-Minute
MetricCPU
Utilization

Max CPU
Utilization of
Shard

Used
Memory1-Minute MetricParameter

5-Second
Metric5-Second MetricParameter

Unit

Description

cpu_us_min

AverageCPUutilization

cpu_util%

Average CPU
utilization

cpu_max_us_min

Max CPU
Utilization ofNode%

The maximum
utilization of a(shard or replic
instance

MB

Actually used mcapacity, inclu
capacity for da
cache

%

The ratio of theused memory
requested tota

cpu_max_util

storage_min

Used
Memorystorage_us_min

MemoryUtilization

Max
MemoryUtilization ofShard

storage_max_us_min

Max
MemoryUtilization ofNodemem_max_util%

The maximum
all node (shard
replica) memo
utilizations in a
instance

Inbound
Traffic

in_flow_min

Inbound
Traffic

in_flow

MB/s

Private networ
inbound traffic

Inbound
Traffic
Utilization

in_flow_us_min

Inbound
Traffic
Utilization

in_bandwidth_util%

Outboundout_flow_min

Outboundout_flow

MB/s

MemoryUtilization©2013-2022 Tencent Cloud. All rights reserved.

mem_used

mem_util

The ratio of theused private intraffic to the ma
traffic
Private networ

Page 21 of 40

TencentDB for Redis

Traffic

Traffic

OutboundTraffic
Utilization

OutboundTraffic
Utilization

Connections

out_flow_us_min

connections_min

Connections

outbound traffi

out_bandwidth_util

connections%-

The ratio of theused private otraffic to the ma
traffic
The number ofconnections to
instance

Connection
Utilization

connections_us_min

Connection
Utilization

connections_util%

The ratio of theof TCP connec
the maximum nof connections

Slow Logs

slow_query_min

Slow Logs

cmd_slow-

The number ofcommand exec
with a latency
than the slo
log-slowerconfiguration

Total Keys

ExpiredKeys

keys_minexpired_keys_min

Total Keys

ExpiredKeys

keys

expired--

The total numbkeys (level-1 k
instance storagThe number of
expired in a tim
window, whichto the value of
expired_ke
output by thecommand.
The number ofEvictedKeys

evicted_keys_min

EvictedKeys

evicted in a tim
window, whichevicted-to the value ofevicted_ke
output by thecommand.

Averagelatency_min

Execution
Latency

Average
Execution
Latencylatency_avg

ms

The average elatency betwee
proxy and theserver©2013-2022 Tencent Cloud. All rights reserved.

Page 22 of 40

TencentDB for Redis

Average
Read

Averagelatency_get_min

LatencyReadlatency_readmsLatency

AverageWrite

The average elatency of readthe proxy and t
server
The average elatency of write

Averagelatency_set_min

LatencyWritecommands belatency_writemsLatencycommand betw
proxy and theserver
The average e

Average
Latency of
Other
Commands

latency_other_min

Average
Latency of
Other
Commands

latency_othermslatency of com(excluding writ
read command
between the p
the Redis serv

QPS

Read
Requests

Write
Requests
get
Requests

qps_min

Total
Requests

stat_get_min

Read
Requests

stat_set_min

cmdstat_get_min

Write
Requests
Other
Requests

commands

Counts/sec

Queries per se
The number of

cmd_read

cmd_write

Counts/sec

Counts/sec

command exec
per second
The number ofcommand exec
per second

cmd_other

Counts/sec

The number ofcommand (excwrite and readgetbitRequests
getrange
Requests
hget
Requests
hgetallRequests
hmget

cmdstat_getbit_min

commands) ex
per second

cmdstat_getrange_min

cmdstat_hget_min

cmdstat_hmget_min
cmdstat_hmget_min

Requests©2013-2022 Tencent Cloud. All rights reserved.

Page 23 of 40

TencentDB for Redis

hmset
Requests
hset
Requests
hsetnx
Requests
lset
Requests
mget
Requests
mset
Requests

cmdstat_hmset_min

cmdstat_hset_min

cmdstat_hsetnx_min

cmdstat_lset_min

cmdstat_mget_min

cmdstat_mset_min

msetnx
Requests

cmdstat_msetnx_min

set
Requests

cmdstat_set_min

setbitRequests

cmdstat_setbit_min

setex
Requests

cmdstat_setex_min

setnx
Requests

cmdstat_setnx_min

setrange
Requests

cmdstat_setnx_min
The number of

Big Value
Requests

Read

big_value_min

stat_success_min

RequestHits

Big Value
Requests

Read
RequestHits

cmd_big_valueCounts/sec

cmd_hits-

executions of rlarger than 32
secondThe number ofsuccessfully re
by read commwhich is equalvalue of the
keyspace_h©2013-2022 Tencent Cloud. All rights reserved.

Page 24 of 40

TencentDB for Redis

metric output b
info comm
The number ofunsuccessfully
Read
RequestMissesrequested by r

Readstat_missed_min

RequestMissescmd_miss-commands, whequal to the va
keyspace_m
metric output b
info comm
The number ofcommand exec

Execution
ErrorsExecution
Errorscmd_err_min

cmd_err-

errors. For exa
the commandexist, paramet
incorrect, etc.
Key hits/(key h

ReadRequest Hit

Read
Request Hit

cache_hit_ratio_min

Ratemisses). This m
can reflect the
cmd_hits_ratio

%

Rate

of cache miss.
the access req
quantity is 0, thof this metric w
null.

Mappings between 1-minute and 5-second API monitoring metrics
Namespace
1-minute: Namespace=QCE/REDIS
5-second: Namespace=QCE/REDIS_MEM

Monitoring metrics
Instance dimension (standard architecture)
1-Minute
MetricCPU
Utilization
Used

1-Minute MetricParameter
CpuUsMin
StorageMin

5-Second
MetricCPU
UtilizationUsed©2013-2022 Tencent Cloud. All rights reserved.

5-Second MetricParameter

Unit

CpuUtil%

MemUsedMB

Description
Average CPU
utilization
Actually used memo

Page 25 of 40

TencentDB for Redis

MemoryMemorycapacity, including t
capacity for data an
cache

MemoryUtilization

Total Keys

StorageUsMin

KeysMin

MemoryUtilization

Total Keys

MemUtil%

The ratio of the actu
used memory to therequested total mem

Keys

-

The total number ofkeys (level-1 keys) i
instance storage
The number of keys
expired in a time

ExpiredKeys

ExpiredKeysMin

ExpiredKeys

Expired-window, which is eq
to the value of
expired_keys
output by the info
command.
The number of keys
evicted in a time

EvictedKeys

EvictedKeysMin

EvictedKeys

Evicted-window, which is eq
to the value ofevicted_keys
output by the info
command.
The number of TCP

Connections

ConnectionsMin

Connections

Connections-

connections to an
instance
The ratio of the num

Connection
Utilization

Inbound
Traffic
Inbound
Traffic

ConnectionsUsMin

InFlowMin

InFlowUsMin

Utilization
OutboundTraffic

Connection
Utilization

Inbound
Traffic
Inbound
Traffic

ConnectionsUtil%

InFlow

MB/s

OutboundTraffic©2013-2022 Tencent Cloud. All rights reserved.

the maximum numbof connections
Private network
inbound traffic
The ratio of the actu

InBandwidthUtil%

Utilization
OutFlowMinof TCP connections

used private inboun
traffic to the maximu
traffic

OutFlow

MB/s

Private network
outbound traffic

Page 26 of 40

TencentDB for Redis

OutboundTraffic

OutFlowUsMin

OutboundTraffic

Utilization

Utilization

Average

Average

Execution
Latency

LatencyMin

Execution
Latency

The ratio of the actu
OutBandwidthUtil%

used private outbou
traffic to the maximu
traffic

LatencyAvg

ms

The average execut
latency between theproxy and the Redis
server
The average execut

Average
Read

LatencyGetMin

Latency

Average
Read

LatencyRead

ms

Latencylatency of readcommands between
the proxy and the Re
server
The average execut

Average
Write

LatencySetMin

Latency

Average
Write

LatencyWritems

Latencylatency of write
command between
proxy and the Redis
server
The average execut

Average
Latency of
Other

LatencyOtherMin

Commands

Total
Requests
Read
Requests

Write
Requests

Average
Latency of
Other

LatencyOtherms

Commands

QpsMinTotal
Requests

StatGetMin

Read
Requests

StatSetMin

Write
Requests

latency of command(excluding write andread commands)
between the proxy a
the Redis server

Commands

Counts/sec

Queries per second
The number of read

CmdReadCounts/sec

command execution
per second
The number of write

CmdWrite

Counts/sec

command execution
per second
The number of

Other
Requests

Big Value

StatOtherMin

BigValueMin

Other
Requests

Big Value©2013-2022 Tencent Cloud. All rights reserved.

CmdOtherCounts/sec

command (excluding
write and readcommands) executio
per second

CmdBigValue

Counts/sec

The number ofPage 27 of 40

TencentDB for Redis

Requests

Requests

executions of requeslarger than 32 KB pe
secondThe number ofcommand execution

Slow Logs

SlowQueryMin

Slow Logs

CmdSlow-with a latency greate
than the slowlog
log-slower-thanconfiguration
The number of keys

Read
Requestsuccessfully requesby read commands,

Read
StatSuccessMin

Hits

RequestCmdHits-

Hits

which is equal to thevalue of the
keyspace_hits
metric output by theinfo command.
The number of keys

Read
RequestMissesStatMissedMin

Read
RequestMissesCmdMiss-

unsuccessfully
requested by readcommands, which isequal to the value ofkeyspace_misse
metric output by theinfo command.

Execution
ErrorsCmdErrMin

Execution
ErrorsCmdErr-

The number ofcommand execution
errors. For example
the command does
exist, parameters arincorrect, etc.
Key hits/(key hits +misses). This metric

Read
Request Hit
Rate

Read
CacheHitRatioMin

Request Hit
Rate©2013-2022 Tencent Cloud. All rights reserved.

CmdHitsRatio%

can reflect the situatof cache miss. Whe
the access request
quantity is 0, the valof this metric will be
null.

Page 28 of 40

TencentDB for Redis

Instance dimension (cluster architecture)
1-Minute
Metric1-Minute MetricParameter

5-Second
Metric5-Second MetricParameter

Unit

Description

AverageCPUutilization

CpuUsMinCPU
Utilization

CpuUtil%Average CPU
utilization

CpuMaxUtil%

Max CPU
Utilization of
Shard

Used
MemoryMax CPU
CpuMaxUsMin

StorageMin

Utilization of
Node

Used
MemoryThe highest CPU

MemUsedMButilization value of ashards in a cluster
Actually used memo
capacity, including t
capacity for data an
cache

MemoryUtilization
Max
MemoryUtilization ofShard

Total Keys

StorageUsMin

StorageMaxUsMin

KeysMin

MemoryUtilization
Max
MemoryUtilization of
NodeTotal Keys

The ratio of the actu
MemUtil

MemMaxUtil

Keys

%

used memory to therequested total mem%

The highest memory
utilization value of ashards in a cluster-

The total number ofkeys (level-1 keys) i
instance storage
The number of keys
expired in a time

ExpiredKeys

ExpiredKeysMin

ExpiredKeys

Expired-window, which is eq
to the value of
expired_keys
output by the info
command.
The number of keys
evicted in a time

EvictedKeys

EvictedKeysMin

EvictedKeys

Evicted-window, which is eq
to the value ofevicted_keys
output by the info
command.

©2013-2022 Tencent Cloud. All rights reserved.

Page 29 of 40

TencentDB for Redis

Connections

Connection
Utilization

Inbound
Traffic

ConnectionsMin

ConnectionsUsMin

Connections

Connection
Utilization

Connections-

ConnectionsUtil%

InFlow

MB/s

InFlowMin

Inbound
Traffic

Inbound
Traffic
Utilization

InFlowUsMin

Inbound
Traffic
Utilization

InBandwidthUtil%

OutboundTraffic

OutFlowMin

OutboundTraffic

OutFlow

MB/s

OutFlowUsMin

OutboundTraffic
Utilization

OutboundTraffic
Utilization

Average
Execution
Latency

OutBandwidthUtil%

Execution
Latency

The ratio of the numof TCP connections
the maximum numbof connections
Private network
inbound traffic
The ratio of the actu
used private inboun
traffic to the maximu
traffic
Private network
outbound traffic
The ratio of the actu
used private outbou
traffic to the maximu
traffic

Average
LatencyMin

The number of TCP
connections to an
instance

LatencyAvg

ms

The average execut
latency between theproxy and the Redis
server
The average execut

Average
Read
Latency

LatencyGetMin

Average
Read
Latency

LatencyRead

mslatency of readcommands between
the proxy and the Re
server
The average execut

Average
Write
Latency

LatencySetMin

Average
Write
Latency

LatencyWritemslatency of write
command between
proxy and the Redis
serverAverage
Latency of
Other
Commands

LatencyOtherMin

Average
Latency of
Other
Commands©2013-2022 Tencent Cloud. All rights reserved.

LatencyOtherms

The average execut
latency of command(excluding write andread commands)

Page 30 of 40

TencentDB for Redis

between the proxy a
the Redis server
Total
Requests
Read
Requests

Write
Requests

Other
Requests

Big Value
Requests

QpsMinTotal
Requests

StatGetMin

Read
Requests

StatSetMin

Write
Requests

StatOtherMin

BigValueMin

Other
Requests

Big Value
Requests

Commands

CmdReadCmdWrite

Counts/sec

Queries per second

Counts/sec

The number of readcommand execution
per second

Counts/sec

The number of write
command execution
per second

CmdOtherCounts/sec

The number ofcommand (excluding
write and readcommands) executio
per second

CmdBigValue

Counts/sec

The number of
executions of requeslarger than 32 KB pe
secondThe number ofSlow Logs

SlowQueryMin

Slow Logs

CmdSlow-

command execution
with a latency greate
than the slowlog
log-slower-thanconfiguration
The number of keys
successfully reques

Read
RequestStatSuccessMin

Hits

Read
RequestCmdHits-

Hits

by read commands,
which is equal to thevalue of the
keyspace_hits
metric output by theinfo command.

Read
RequestMissesStatMissedMin

Read
RequestMissesCmdMiss-

The number of keys
unsuccessfully
requested by readcommands, which isequal to the value ofkeyspace_misse©2013-2022 Tencent Cloud. All rights reserved.

Page 31 of 40

TencentDB for Redis

metric output by theinfo command.
The number ofcommand execution
Execution
ErrorsCmdErrMin

Execution
ErrorsCmdErrerrors. For example
the command does
exist, parameters ar-incorrect, etc.
Key hits/(key hits +Read
Request Hit
Rate

CacheHitRatioMin

Read
Request Hit
Rate

CmdHitsRatio%

misses). This metriccan reflect the situatof cache miss. Whe
the access request
quantity is 0, the valof this metric will be
null.

Cluster sharding
1-Minute
Metric1-Minute MetricParameter

5-Second
Metric5-Second MetricParameter

Unit

Description

CPU
Utilization

CpuUsNodeMin

CPU
Utilization

CpuUtilNode%

Average CPU
utilization
Actually used mem

UsedMemoryMemoryUtilization

Total
Keys
ExpiredKeys

StorageNodeMin

Used
MemoryStorageUsNodeMin

MemoryUtilization

KeysNodeMin

ExpiredKeysNodeMin

Total
Keys
ExpiredKeys

MemUsedNode

MemUtilNode

MB%

capacity, including
capacity for data acache
The ratio of the act
used memory to th
requested total me

KeysNode-

ExpiredNode-

The total number okeys (level-1 keys)
instance storage
The number of key
expired in a time
window, which is e
to the value of
expired_keys©2013-2022 Tencent Cloud. All rights reserved.

Page 32 of 40

TencentDB for Redis

output by the inf
command.

EvictedKeys

EvictedKeysNodeMin

EvictedKeys

The number of key
evicted in a time
window, which is e
EvictedNode-to the value ofevicted_keys
output by the inf
command.

Total
Requests
Read
Requests

Write
Requests

Other
Requests

QpsNodeMin

Total
Requests

StatGetNodeMin

Read
Requests

StatSetNodeMin

StatOtherNodeMin

Write
Requests

Other
Requests

CommandsNode

CmdReadNodeCounts/sec

Queries per secon

Counts/sec

The number of rea
command executio
per second
The number of writ

CmdWriteNode

CmdOtherNode

Counts/sec

Counts/sec

command executio
per second
The number ofcommand (excludi
write and readcommands) execu
per second
The number ofcommand executio

Slow
Logs

SlowQueryNodeMin

Slow
Logs

CmdSlowNode-with a latency grea
than the slowlo
log-slower-tha
configuration

Read
RequestHits

StatSuccessNodeMin

Read
RequestHits

The number of key
successfully requeby read commands
CmdHitsNode-which is equal to thvalue of the
keyspace_hits
metric output by th
info command

Read
RequestMissesStatMissedNodeMin

Read
RequestMisses©2013-2022 Tencent Cloud. All rights reserved.

CmdMissNode-

The number of key
unsuccessfully
requested by readPage 33 of 40

TencentDB for Redis

commands, whichequal to the value okeyspace_miss
metric output by th
info command
The number ofcommand executio
Execution
ErrorsExecution
ErrorsCmdErrNodeMin

CmdErr-errors. For exampl
the command does
exist, parameters aincorrect, etc.

Read
RequestCacheHitRatioNodeMin

Hit Rate

Read
RequestCmdHitsRatioNode%

Hit Rate

Key hits/(key hits +misses). This metr
can reflect the situaof cache miss. Wh
the access requesquantity is 0, the vaof this metric will bnull.

Description of parameters in each dimension
Parameter (5-Second
Granularity)

Dimension
Name

Description
Dimension

Instances.N.Dimensions.0.Name

instanceidname oftheinstance ID

FormatMappingEnter a string-type
dimension name:

Unchanged

instanceid.
Enter a specific Redis
instance ID, such as
tdsql-123456 , which

Instances.N.Dimensions.0.Value

instanceid

Specific
instance ID

can be queried throughthe DescribeInstances API
and can also be an

Unchanged

instance string such as
crs-ifmymj41 .
Instances.N.Dimensions.1.Name

rnodeid

Dimension

Enter a string-type

Corresponding

name ofthe Redis
node ID

dimension name: rnodeid.

1-minutedimension
name:clusterid.

©2013-2022 Tencent Cloud. All rights reserved.

Page 34 of 40

TencentDB for Redis

Instances.N.Dimensions.1.Valuernodeid©2013-2022 Tencent Cloud. All rights reserved.

Specific
Redis node
ID

Enter a specific Redis

Corresponding

node ID, which can bequeried through the
DescribeInstanceNodeInfo

1-minutedimension
name:

API.

clusterid.

Page 35 of 40

TencentDB for Redis

Monitoring Upgrade and Alarm Policy
Changes：

Last updated 2023-05-23 11:00:17

Monitoring Granularity
TencentDB for Redis now supports one-minute and five-second monitoring granularities. Since October 2020,
monitoring at the five-second granularity has been supported, providing more monitoring metrics and proxy monitoringdata. For more information, see Update Notes of Monitoring at Five-Second Granularity.

Changes of monitoring granularity
One-minute monitoring granularity
Instances created before October 20, 2020 only support the one-minute monitoring granularity, but they are gradually
upgraded to support the five-second granularity.
View the monitoring data in the TCOP console: TCOP console > TencentDB > **Redis (1-minute granularity)**.
Five-second monitoring granularity
Instances created after October 20, 2020 support both one-minute and five-second monitoring granularities.
View the monitoring data in the TCOP console: TCOP console > TencentDB > **Redis (5-second granularity)**.

Notes of monitoring granularity upgrade
To support five-second monitoring granularity, the proxy of your TencentDB for Redis instances needs to be upgradedto the latest version.
Note that the proxy upgrade will cause a short disconnection. The business needs to reconnect to the proxy after the
upgrade completes.
1. Upgrade by Tencent Cloud backend: Tencent Cloud is upgrading all instances to support five-second monitoring
granularity. You will be notified via SMS, email, or Message Center before the upgrade starts.
2. Upgrade by yourself in the TencentDB console: you can soon manually upgrade instances in the console.
3. After all instances are upgraded, the one-minute monitoring granularity will be no longer supported.

Changes of monitoring metrics
After the monitoring granularity is narrowed from one minute to five seconds, monitoring metric names are changed
and some new metrics are supported, as shown below:
1-minute metric5-second metric©2013-2022 Tencent Cloud. All rights reserved.

Description

Page 36 of 40

TencentDB for Redis

CpuUsMin

CpuUtilAverage CPU utilization

CpuMaxUs

CpuMaxUtil

StorageMin

MemUsedStorageUsMin

MemUtilStorageMaxUs

MemMaxUtil

The maximum among all node (shard or replica) memory
utilizations in an instance

KeysMin

Keys

The total number of keys (level-1 keys) in instance storage

The maximum CPU utilization of a node (shard or replica)
in an instance
Actually used memory capacity, including the capacity fordata and cache
The ratio of the actually used memory to the requested
total memory

The number of keys expired in a time window, which is
ExpiredKeysMin

Expiredequal to the value of expired_keys output by theinfo command.

EvictedKeysMin

EvictedThe number of keys evicted in a time window, which isequal to the value of evicted_keys output by theinfo command.

ConnectionsMin

Connections

The number of TCP connections to an instanceConnectionsUsMin

ConnectionsUtil

The ratio of the number of TCP connections to the
maximum number of connections

InFlowMin

InFlow

Private network inbound traffic

InFlowUs

InBandwidthUtil-

InFlowLimit

The number of times inbound traffic triggers a traffic limit

OutFlowMin

OutFlow

Private network outbound traffic

OutFlowUs

OutBandwidthUtil-

OutFlowLimit

LatencyMin

LatencyAvg-

LatencyMax©2013-2022 Tencent Cloud. All rights reserved.

The ratio of the actually used private inbound traffic to the
maximum traffic

The ratio of the actually used private outbound traffic to the
maximum traffic
The number of times outbound traffic triggers a traffic limit
The average execution latency between the proxy and theRedis server
The maximum execution latency between the proxy andthe Redis server

Page 37 of 40

TencentDB for Redis-

LatencyP99

LatencyGetMin

LatencyRead

LatencySetMin

LatencyWrite

LatencyOtherMin

LatencyOther

The P99 latency between the proxy and the Redis server
The average execution latency of read commands
between the proxy and the Redis server
The average execution latency of write command between
the proxy and the Redis server
The average execution latency of commands (excluding
write and read commands) between the proxy and theRedis server

QpsMinCommands

Queries per second

StatGetMin

CmdRead

The number of read command executions per second

StatSetMin

CmdWrite

The number of write command executions per second

StatOtherMin

CmdOther

BigValueMin

CmdBigValue

The number of executions of requests larger than 32 KB
per second-

CmdKeyCountThe number of keys accessed by a command per second-

CmdMgetThe number of MGET commands executed per second

SlowQueryMin

CmdSlow

The number of command executions with a latency greaterthan the slowlog-log-slower-than configuration

The number of command (excluding write and readcommands) executions per second

The number of keys successfully requested by read
StatSuccessMin

CmdHitscommands, which is equal to the value of the
keyspace_hits metric output by the info
command.

StatMissedMin

CmdMiss

The number of keys unsuccessfully requested by readcommands, which is equal to the value of the
keyspace_misses metric output by the info
command.

CmdErrMin

CmdErr

The number of command execution errors. For example,
the command does not exist, parameters are incorrect, etc.

CacheHitRatioMin

CmdHitsRatio

Key hits/(key hits + key misses). This metric can reflect thesituation of cache miss.

©2013-2022 Tencent Cloud. All rights reserved.

Page 38 of 40

TencentDB for Redis

Viewing the monitoring granularity of an instance
Check the value of the InstanceSet.MonitorVersion field returned by the DescribeInstances API. If the value
is 5s , this instance supports the monitoring granularity of five seconds; if the value is 1m , it supports only themonitoring granularity of one minute.
Log in to the TencentDB for Redis console, click an instance name to enter the instance management page, selectSystem Monitoring > Monitoring Metrics, and click the Period drop-down list at the top. If you can select 5
seconds from the drop-down list, this instance supports the monitoring granularity of five seconds, or else it supports
only the monitoring granularity of one minute.

Alarm Changes
Changes of alarm policy configurations
After the monitoring metrics are upgraded, you need to configure one-minute-granularity and five-second-granularity
alarm policies in different windows in the TCOP console.

Impact of monitoring upgrade
After the monitoring granularity is narrowed from one minute to five seconds, you need to migrate the one-minutegranularity alarm policies to the five-second-granularity alarm policies. The monitoring metrics applicable to the fivesecond granularity alarm policies are different from those applicable to one-minute granularity alarm policies. For more
information, see Changes of monitoring metrics.
After the monitoring granularity is narrowed down to five seconds:©2013-2022 Tencent Cloud. All rights reserved.

Page 39 of 40

TencentDB for Redis

Monitoring data at both one-minute and five-second granularities are reported temporarily, that is, Cloud Monitor willstop reporting the one-minute-granularity data in the future.
One-minute-granularity alarm policies are valid temporarily.
The default five-second-granularity alarm policy is associated. Please specify alarm recipients for the default policy.

Migrating alarm policies
Manual migration: copy the existing one-minute-granularity alarm policies as the five-second-granularity alarm
policies, but you need to configure alarm recipients for the five-second-granularity alarm policies.
Automatic migration: after the monitoring granularity upgrade completes, the existing one-minute-granularity alarm
policies will be automatically migrated to the five-second-granularity alarm policies, and you will be notified via SMS,
email, or Message Center.

©2013-2022 Tencent Cloud. All rights reserved.

Page 40 of 40