命令

ACL 分类

列出ACL类别,或类别中的命令。

Learn more →
Read more

ACL 删除用户

删除ACL用户,并终止他们的连接。

Learn more →
Read more

ACL 试运行

模拟用户执行命令的过程,但不实际执行该命令。

Learn more →
Read more

ACL GENPASS

生成一个伪随机、安全的密码,可用于识别ACL用户。

Learn more →
Read more

ACL 获取用户

列出用户的ACL规则。

Learn more →
Read more

ACL 列表

以ACL文件格式转储有效规则。

Learn more →
Read more

ACL 加载

从配置的ACL文件重新加载规则。

Learn more →
Read more

ACL 日志

列出由于ACL规则生成的最近安全事件。

Learn more →
Read more

ACL 保存

将有效的ACL规则保存在配置的ACL文件中。

Learn more →
Read more

ACL 设置用户

创建和修改ACL用户及其规则。

Learn more →
Read more

ACL 用户

列出所有ACL用户。

Learn more →
Read more

ACL WHOAMI

返回当前连接的认证用户名。

Learn more →
Read more

APPEND

将一个字符串追加到键的值上。如果键不存在,则创建该键。

Learn more →
Read more

询问

表示集群客户端正在遵循-ASK重定向。

Learn more →
Read more

BF.ADD

向布隆过滤器添加一个项目

Learn more →
Read more

BF.CARD

返回布隆过滤器的基数

Learn more →
Read more

BF.EXISTS

检查某个项目是否存在于布隆过滤器中

Learn more →
Read more

BF.INFO

返回关于布隆过滤器的信息

Learn more →
Read more

BF.INSERT

向布隆过滤器中添加一个或多个项目。如果过滤器不存在,将会创建一个

Learn more →
Read more

BF.LOADCHUNK

恢复之前使用SCANDUMP保存的过滤器

Learn more →
Read more

BF.MADD

向布隆过滤器中添加一个或多个项目。如果过滤器不存在,将会创建一个

Learn more →
Read more

BF.MEXISTS

检查一个或多个项目是否存在于布隆过滤器中

Learn more →
Read more

BF.RESERVE

创建一个新的布隆过滤器

Learn more →
Read more

BF.SCANDUMP

开始布隆过滤器的增量保存

Learn more →
Read more

BGREWRITEAOF

异步将仅追加文件重写到磁盘。

Learn more →
Read more

BGSAVE

异步将数据库保存到磁盘。

Learn more →
Read more

BITCOUNT

计算字符串中设置的位数(人口计数)。

Learn more →
Read more

BITFIELD

对字符串执行任意的位域整数操作。

Learn more →
Read more

BITFIELD_RO

对字符串执行任意的只读位域整数操作。

Learn more →
Read more

BITOP

对多个字符串执行按位操作,并存储结果。

Learn more →
Read more

BITPOS

在字符串中查找第一个设置为1或清除为0的位。

Learn more →
Read more

BLMOVE

从列表中弹出一个元素,将其推送到另一个列表并返回它。否则,直到有可用元素时才会阻塞。如果最后一个元素被移动,则删除该列表。

Learn more →
Read more

BLMPOP

从多个列表中的一个弹出第一个元素。否则,阻塞直到有元素可用。如果弹出的是最后一个元素,则删除该列表。

Learn more →
Read more

BLPOP

移除并返回列表中的第一个元素。如果没有可用的元素,则阻塞直到有元素可用。如果弹出的是最后一个元素,则删除该列表。

Learn more →
Read more

BRPOP

移除并返回列表中的最后一个元素。如果没有可用的元素,则会阻塞直到有元素可用。如果最后一个元素被弹出,则删除该列表。

Learn more →
Read more

BRPOPLPUSH

从列表中弹出一个元素,将其推送到另一个列表并返回它。否则,阻塞直到有元素可用。如果弹出的是最后一个元素,则删除该列表。

Learn more →
Read more

BZMPOP

从一个或多个有序集合中按分数移除并返回一个成员。如果没有可用的成员,则阻塞直到有成员可用。如果最后一个元素被弹出,则删除该有序集合。

Learn more →
Read more

BZPOPMAX

从一个或多个有序集合中移除并返回得分最高的成员。如果没有可用的成员,则阻塞直到有成员可用。如果最后一个元素被弹出,则删除该有序集合。

Learn more →
Read more

BZPOPMIN

从一个或多个有序集合中移除并返回分数最低的成员。如果没有可用的成员,则阻塞直到有成员可用。如果最后一个元素被弹出,则删除该有序集合。

Learn more →
Read more

CF.ADD

向布谷鸟过滤器添加一个项目

Learn more →
Read more

CF.ADDNX

如果项目之前不存在,则将其添加到Cuckoo Filter中。

Learn more →
Read more

CF.COUNT

返回一个项目在Cuckoo Filter中可能出现的次数

Learn more →
Read more

CF.DEL

从Cuckoo Filter中删除一个项目

Learn more →
Read more

CF.EXISTS

检查一个或多个项目是否存在于Cuckoo Filter中

Learn more →
Read more

CF.INFO

返回关于Cuckoo Filter的信息

Learn more →
Read more

CF.INSERT

向Cuckoo Filter添加一个或多个项目。如果过滤器不存在,将会创建一个

Learn more →
Read more

CF.INSERTNX

如果之前不存在,则将一项或多项添加到布谷鸟过滤器中。如果过滤器不存在,则会创建一个过滤器。

Learn more →
Read more

CF.LOADCHUNK

恢复之前使用SCANDUMP保存的过滤器

Learn more →
Read more

CF.MEXISTS

检查一个或多个项目是否存在于Cuckoo Filter中

Learn more →
Read more

CF.RESERVE

创建一个新的Cuckoo Filter

Learn more →
Read more

CF.SCANDUMP

开始布隆过滤器的增量保存

Learn more →
Read more

客户端缓存

指示服务器是否在下一个请求中跟踪键。

Learn more →
Read more

CLIENT GETNAME

返回连接的名称。

Learn more →
Read more

CLIENT GETREDIR

返回连接跟踪通知重定向到的客户端ID。

Learn more →
Read more

CLIENT ID

返回连接的唯一客户端ID。

Learn more →
Read more

客户信息

返回有关连接的信息。

Learn more →
Read more

CLIENT KILL

终止打开的连接。

Learn more →
Read more

客户列表

列出打开的连接。

Learn more →
Read more

客户端不驱逐

设置连接的客户端驱逐模式。

Learn more →
Read more

客户端无接触

控制客户端发送的命令是否影响访问键的LRU/LFU。

Learn more →
Read more

客户端暂停

暂停命令处理。

Learn more →
Read more

客户回复

指示服务器是否回复命令。

Learn more →
Read more

CLIENT SETINFO

设置特定于客户端或连接的信息。

Learn more →
Read more

CLIENT SETNAME

设置连接名称。

Learn more →
Read more

客户跟踪

控制服务器辅助的客户端缓存连接。

Learn more →
Read more

客户跟踪信息

返回有关连接中服务器辅助的客户端缓存的信息。

Learn more →
Read more

客户端解锁

解除由不同连接的阻塞命令阻塞的客户端。

Learn more →
Read more

客户端取消暂停

恢复从暂停的客户端处理命令。

Learn more →
Read more

CLUSTER ADDSLOTS

将新的哈希槽分配给一个节点。

Learn more →
Read more

CLUSTER ADDSLOTSRANGE

将新的哈希槽范围分配给节点。

Learn more →
Read more

CLUSTER BUMPEPOCH

推进集群配置纪元。

Learn more →
Read more

CLUSTER COUNT-FAILURE-REPORTS

返回节点上活动的故障报告数量。

Learn more →
Read more

CLUSTER COUNTKEYSINSLOT

返回哈希槽中的键的数量。

Learn more →
Read more

CLUSTER DELSLOTS

将节点的哈希槽设置为未绑定。

Learn more →
Read more

CLUSTER DELSLOTSRANGE

将节点的哈希槽范围设置为未绑定。

Learn more →
Read more

CLUSTER FAILOVER

强制副本执行其主节点的手动故障转移。

Learn more →
Read more

CLUSTER FLUSHSLOTS

删除节点中的所有插槽信息。

Learn more →
Read more

CLUSTER FORGET

从节点表中移除一个节点。

Learn more →
Read more

CLUSTER GETKEYSINSLOT

返回哈希槽中的键名。

Learn more →
Read more

集群信息

返回有关节点状态的信息。

Learn more →
Read more

CLUSTER KEYSLOT

返回键的哈希槽。

Learn more →
Read more

CLUSTER LINKS

返回与对等节点之间的所有TCP链接的列表。

Learn more →
Read more

CLUSTER MEET

强制一个节点与另一个节点进行握手。

Learn more →
Read more

CLUSTER MYID

返回节点的ID。

Learn more →
Read more

CLUSTER MYSHARDID

返回节点的分片ID。

Learn more →
Read more

集群节点

返回节点的集群配置。

Learn more →
Read more

CLUSTER REPLICAS

列出主节点的副本节点。

Learn more →
Read more

CLUSTER REPLICATE

配置一个节点作为主节点的副本。

Learn more →
Read more

CLUSTER RESET

重置一个节点。

Learn more →
Read more

CLUSTER SAVECONFIG

强制节点将集群配置保存到磁盘。

Learn more →
Read more

CLUSTER SET-CONFIG-EPOCH

为新节点设置配置纪元。

Learn more →
Read more

CLUSTER SETSLOT

将哈希槽绑定到节点。

Learn more →
Read more

CLUSTER SHARDS

返回集群槽到分片的映射。

Learn more →
Read more

CLUSTER SLAVES

列出主节点的副本节点。

Learn more →
Read more

CLUSTER SLOTS

返回集群槽到节点的映射。

Learn more →
Read more

CMS.INCRBY

通过增量增加一个或多个项目的计数

Learn more →
Read more

CMS.INFO

返回关于草图的信息

Learn more →
Read more

CMS.INITBYDIM

初始化一个由用户指定维度的Count-Min Sketch

Learn more →
Read more

CMS.INITBYPROB

初始化一个Count-Min Sketch以适应请求的容差。

Learn more →
Read more

CMS.MERGE

将多个草图合并为一个草图

Learn more →
Read more

CMS.QUERY

返回草图中一个或多个项目的计数

Learn more →
Read more

命令

返回所有命令的详细信息。

Learn more →
Read more

命令计数

返回命令的计数。

Learn more →
Read more

命令文档

返回关于一个、多个或所有命令的文档信息。

Learn more →
Read more

COMMAND GETKEYS

从任意命令中提取键名。

Learn more →
Read more

COMMAND GETKEYSANDFLAGS

提取任意命令的键名和访问标志。

Learn more →
Read more

命令信息

返回关于一个、多个或所有命令的信息。

Learn more →
Read more

命令列表

返回命令名称的列表。

Learn more →
Read more

CONFIG GET

返回配置参数的有效值。

Learn more →
Read more

CONFIG RESETSTAT

重置服务器的统计信息。

Learn more →
Read more

CONFIG REWRITE

将有效配置持久化到文件。

Learn more →
Read more

CONFIG SET

动态设置配置参数。

Learn more →
Read more

COPY

将一个键的值复制到一个新键。

Learn more →
Read more

DBSIZE

返回数据库中的键的数量。

Learn more →
Read more

DECR

将键的整数值减一。如果键不存在,则使用0作为初始值。

Learn more →
Read more

DECRBY

从键的整数值中减去一个数字。如果键不存在,则使用0作为初始值。

Learn more →
Read more

DEL

删除一个或多个键。

Learn more →
Read more

DISCARD

丢弃一个事务。

Learn more →
Read more

DUMP

返回存储在键中的值的序列化表示。

Learn more →
Read more

ECHO

返回给定的字符串。

Learn more →
Read more

EVAL

执行一个服务器端的Lua脚本。

Learn more →
Read more

EVAL_RO

执行一个只读的服务器端Lua脚本。

Learn more →
Read more

EVALSHA

通过SHA1摘要执行服务器端的Lua脚本。

Learn more →
Read more

EVALSHA_RO

通过SHA1摘要执行只读的服务器端Lua脚本。

Learn more →
Read more

EXEC

在事务中执行所有命令。

Learn more →
Read more

EXISTS

确定一个或多个键是否存在。

Learn more →
Read more

EXPIRE

设置键的过期时间,单位为秒。

Learn more →
Read more

EXPIREAT

设置键的过期时间为Unix时间戳。

Learn more →
Read more

EXPIRETIME

返回键的过期时间作为Unix时间戳。

Learn more →
Read more

故障转移

启动从服务器到其一个副本的协调故障转移。

Learn more →
Read more

FCALL_RO

调用一个只读函数。

Learn more →
Read more

FLUSHALL

从所有数据库中移除所有键。

Learn more →
Read more

FLUSHDB

从当前数据库中移除所有键。

Learn more →
Read more

FT._LIST

返回所有现有索引的列表

Learn more →
Read more

FT.AGGREGATE

在索引上运行搜索查询并对结果执行聚合转换

Learn more →
Read more

FT.ALIASADD

向索引添加别名

Learn more →
Read more

FT.ALIASDEL

从索引中删除一个别名

Learn more →
Read more

FT.ALIASUPDATE

添加或更新索引的别名

Learn more →
Read more

FT.ALTER

向索引添加一个新字段

Learn more →
Read more

FT.CONFIG GET

获取运行时配置选项

Learn more →
Read more

FT.CONFIG 设置

设置运行时配置选项

Learn more →
Read more

FT.CREATE

使用给定的规范创建索引

Learn more →
Read more

FT.CURSOR DEL

删除一个游标

Learn more →
Read more

FT.CURSOR 读取

从游标读取

Learn more →
Read more

FT.DICTADD

向字典中添加术语

Learn more →
Read more

FT.DICTDEL

从字典中删除术语

Learn more →
Read more

FT.DICTDUMP

转储给定字典中的所有术语

Learn more →
Read more

FT.EXPLAIN

返回复杂查询的执行计划

Learn more →
Read more

FT.EXPLAINCLI

返回复杂查询的执行计划

Learn more →
Read more

FT.INFO

返回索引的信息和统计信息

Learn more →
Read more

FT.PROFILE

执行 `FT.SEARCH` 或 `FT.AGGREGATE` 命令并收集性能信息

Learn more →
Read more

FT.SEARCH

使用文本查询搜索索引,返回文档或仅返回ID

Learn more →
Read more

FT.SPELLCHECK

对查询进行拼写校正,返回拼写错误术语的建议

Learn more →
Read more

FT.SUGADD

向自动完成建议字典添加建议字符串

Learn more →
Read more

FT.SUGDEL

从建议索引中删除一个字符串

Learn more →
Read more

FT.SUGGET

获取前缀的完成建议

Learn more →
Read more

FT.SUGLEN

获取自动完成建议字典的大小

Learn more →
Read more

FT.SYNDUMP

转储同义词组的内容

Learn more →
Read more

FT.SYNUPDATE

创建或更新带有附加术语的同义词组

Learn more →
Read more

FT.TAGVALS

返回在Tag字段中索引的不同标签

Learn more →
Read more

功能删除

删除一个库及其函数。

Learn more →
Read more

函数转储

将所有库转储为序列化的二进制有效载荷。

Learn more →
Read more

函数 FLUSH

删除所有库和函数。

Learn more →
Read more

功能终止

在执行过程中终止一个函数。

Learn more →
Read more

函数列表

返回所有库的信息。

Learn more →
Read more

函数加载

创建一个库。

Learn more →
Read more

功能恢复

从有效负载中恢复所有库。

Learn more →
Read more

功能统计

返回函数执行期间的信息。

Learn more →
Read more

GEOADD

将一个或多个成员添加到地理空间索引中。如果键不存在,则会创建该键。

Learn more →
Read more

GEODIST

返回地理空间索引中两个成员之间的距离。

Learn more →
Read more

GEOHASH

返回地理空间索引中的成员作为geohash字符串。

Learn more →
Read more

GEOPOS

返回地理空间索引中成员的经度和纬度。

Learn more →
Read more

GEORADIUS

查询地理空间索引中距离某个坐标一定距离内的成员,可选择性地存储结果。

Learn more →
Read more

GEORADIUS_RO

返回地理空间索引中距离某个坐标一定距离内的成员。

Learn more →
Read more

GEORADIUSBYMEMBER

查询地理空间索引中距离某个成员一定距离内的成员,可选择将结果存储。

Learn more →
Read more

GEORADIUSBYMEMBER_RO

返回地理空间索引中距离某个成员一定距离内的成员。

Learn more →
Read more

GEOSEARCH

查询地理空间索引以获取位于矩形或圆形区域内的成员。

Learn more →
Read more

GEOSEARCHSTORE

查询地理空间索引以获取位于矩形或圆形区域内的成员,可选择存储结果。

Learn more →
Read more

GET

返回键的字符串值。

Learn more →
Read more

GETBIT

返回指定偏移量的位值。

Learn more →
Read more

GETDEL

返回删除键后的键的字符串值。

Learn more →
Read more

GETEX

在设置键的过期时间后返回键的字符串值。

Learn more →
Read more

GETRANGE

返回存储在键中的字符串的子字符串。

Learn more →
Read more

GETSET

在将键设置为新值后返回其先前的字符串值。

Learn more →
Read more

HDEL

从哈希中删除一个或多个字段及其值。如果没有剩余的字段,则删除哈希。

Learn more →
Read more

你好

与Redis服务器进行握手。

Learn more →
Read more

HEXISTS

确定哈希中是否存在某个字段。

Learn more →
Read more

HEXPIRE

使用相对时间(秒)设置哈希字段的过期时间

Learn more →
Read more

HEXPIREAT

使用绝对Unix时间戳(秒)设置哈希字段的过期时间

Learn more →
Read more

HEXPIRETIME

返回哈希字段的过期时间,以Unix时间戳表示,单位为秒。

Learn more →
Read more

HGET

返回哈希中某个字段的值。

Learn more →
Read more

HGETALL

返回哈希中的所有字段和值。

Learn more →
Read more

HINCRBY

将哈希中字段的整数值增加一个数字。如果字段不存在,则使用0作为初始值。

Learn more →
Read more

HINCRBYFLOAT

将一个字段的浮点数值增加一个数字。如果字段不存在,则使用0作为初始值。

Learn more →
Read more

HKEYS

返回哈希中的所有字段。

Learn more →
Read more

HLEN

返回哈希中的字段数量。

Learn more →
Read more

HMGET

返回哈希中所有字段的值。

Learn more →
Read more

HMSET

设置多个字段的值。

Learn more →
Read more

HPERSIST

移除每个指定字段的过期时间

Learn more →
Read more

HPEXPIRE

使用相对时间(毫秒)设置哈希字段的过期时间

Learn more →
Read more

HPEXPIREAT

使用绝对Unix时间戳(毫秒)设置哈希字段的过期时间

Learn more →
Read more

HPEXPIRETIME

返回哈希字段的过期时间,以Unix时间戳表示,单位为毫秒。

Learn more →
Read more

HPTTL

返回哈希字段的TTL(生存时间),单位为毫秒。

Learn more →
Read more

HRANDFIELD

从哈希中返回一个或多个随机字段。

Learn more →
Read more

HSCAN

遍历哈希的字段和值。

Learn more →
Read more

HSET

创建或修改哈希中字段的值。

Learn more →
Read more

HSETNX

仅当字段不存在时,设置哈希中字段的值。

Learn more →
Read more

HSTRLEN

返回字段值的长度。

Learn more →
Read more

HTTL

返回哈希字段的TTL(以秒为单位)。

Learn more →
Read more

HVALS

返回哈希中的所有值。

Learn more →
Read more

INCR

将键的整数值增加一。如果键不存在,则使用0作为初始值。

Learn more →
Read more

INCRBY

将键的整数值增加一个数字。如果键不存在,则使用0作为初始值。

Learn more →
Read more

INCRBYFLOAT

将一个键的浮点值增加一个数字。如果键不存在,则使用0作为初始值。

Learn more →
Read more

信息

返回有关服务器的信息和统计信息。

Learn more →
Read more

JSON.ARRAPPEND

在路径中的数组的最后一个元素之后追加一个或多个json值。

Learn more →
Read more

JSON.ARRINDEX

返回路径中数组内JSON标量值首次出现的索引

Learn more →
Read more

JSON.ARRINSERT

在指定路径的数组中插入JSON标量值

Learn more →
Read more

JSON.ARRLEN

返回路径处数组的长度

Learn more →
Read more

JSON.ARRPOP

移除并返回路径中数组指定索引处的元素

Learn more →
Read more

JSON.ARRTRIM

修剪路径上的数组,使其仅包含从开始到停止的指定范围内的索引

Learn more →
Read more

JSON.CLEAR

清除数组或对象中的所有值,并将数值设置为`0`

Learn more →
Read more

JSON.DEBUG

调试容器命令

Learn more →
Read more

JSON.DEBUG MEMORY

报告一个键的大小(以字节为单位)

Learn more →
Read more

JSON.GET

获取JSON序列化形式中一个或多个路径的值

Learn more →
Read more

JSON.MERGE

将给定的JSON值合并到匹配的路径中。因此,匹配路径上的JSON值会被更新、删除或扩展为新的子项。

Learn more →
Read more

JSON.MGET

返回一个或多个键的路径上的值

Learn more →
Read more

JSON.MSET

设置或更新一个或多个键的JSON值

Learn more →
Read more

JSON.NUMINCRBY

将路径上的数值增加一个值

Learn more →
Read more

JSON.NUMMULTBY

将路径上的数值乘以一个值

Learn more →
Read more

JSON.OBJKEYS

返回路径处对象的JSON键

Learn more →
Read more

JSON.OBJLEN

返回路径处对象的键的数量

Learn more →
Read more

JSON.RESP

返回Redis序列化协议(RESP)中路径的JSON值

Learn more →
Read more

JSON.SET

设置或更新路径上的JSON值

Learn more →
Read more

JSON.STRAPPEND

在路径的JSON字符串值后附加一个字符串

Learn more →
Read more

JSON.STRLEN

返回键中路径处JSON字符串的长度

Learn more →
Read more

JSON.TOGGLE

切换一个布尔值

Learn more →
Read more

JSON.TYPE

返回路径上JSON值的类型

Learn more →
Read more

KEYS

返回所有匹配模式的键名。

Learn more →
Read more

LASTSAVE

返回最后一次成功保存到磁盘的Unix时间戳。

Learn more →
Read more

延迟医生

返回一个人类可读的延迟分析报告。

Learn more →
Read more

延迟图表

返回事件的延迟图。

Learn more →
Read more

延迟直方图

返回子集或所有命令的延迟累积分布。

Learn more →
Read more

延迟历史

返回事件的时间戳-延迟样本。

Learn more →
Read more

最新延迟

返回所有事件的最新延迟样本。

Learn more →
Read more

延迟重置

重置一个或多个事件的延迟数据。

Learn more →
Read more

LCS

找到最长的公共子串。

Learn more →
Read more

LINDEX

通过索引从列表中返回一个元素。

Learn more →
Read more

LINSERT

在列表中的另一个元素之前或之后插入一个元素。

Learn more →
Read more

LLEN

返回列表的长度。

Learn more →
Read more

LMOVE

从列表中弹出一个元素并将其推入另一个列表后返回该元素。如果最后一个元素被移动,则删除该列表。

Learn more →
Read more

LMPOP

从列表中移除多个元素后返回这些元素。如果弹出的是最后一个元素,则删除该列表。

Learn more →
Read more

LOLWUT

显示计算机艺术和Redis版本

Learn more →
Read more

LPOP

返回列表中移除后的第一个元素。如果弹出的是最后一个元素,则删除该列表。

Learn more →
Read more

LPOS

返回列表中匹配元素的索引。

Learn more →
Read more

LPUSH

将一个或多个元素添加到列表的开头。如果键不存在,则创建该键。

Learn more →
Read more

LPUSHX

仅当列表存在时,将一个或多个元素添加到列表的前面。

Learn more →
Read more

LRANGE

返回列表中的一系列元素。

Learn more →
Read more

LREM

从列表中移除元素。如果移除了最后一个元素,则删除该列表。

Learn more →
Read more

LSET

通过索引设置列表中元素的值。

Learn more →
Read more

LTRIM

从列表的两端移除元素。如果所有元素都被修剪,则删除列表。

Learn more →
Read more

内存医生

输出内存问题报告。

Learn more →
Read more

内存分配统计

返回分配器统计信息。

Learn more →
Read more

内存清理

请求分配器释放内存。

Learn more →
Read more

内存统计

返回有关内存使用情况的详细信息。

Learn more →
Read more

内存使用情况

估计一个键的内存使用情况。

Learn more →
Read more

MGET

原子性地返回一个或多个键的字符串值。

Learn more →
Read more

MIGRATE

原子性地将一个键从一个Redis实例转移到另一个Redis实例。

Learn more →
Read more

模块列表

返回所有已加载的模块。

Learn more →
Read more

MODULE LOAD

加载一个模块。

Learn more →
Read more

MODULE LOADEX

使用扩展参数加载模块。

Learn more →
Read more

MODULE UNLOAD

卸载一个模块。

Learn more →
Read more

监控

实时监听服务器接收到的所有请求。

Learn more →
Read more

MOVE

将一个键移动到另一个数据库。

Learn more →
Read more

MSET

原子性地创建或修改一个或多个键的字符串值。

Learn more →
Read more

MSETNX

仅当所有键都不存在时,原子性地修改一个或多个键的字符串值。

Learn more →
Read more

OBJECT ENCODING

返回Redis对象的内部编码。

Learn more →
Read more

OBJECT FREQ

返回Redis对象的对数访问频率计数器。

Learn more →
Read more

OBJECT IDLETIME

返回自上次访问Redis对象以来的时间。

Learn more →
Read more

对象引用计数

返回键值的引用计数。

Learn more →
Read more

PERSIST

移除键的过期时间。

Learn more →
Read more

PEXPIRE

设置键的过期时间,单位为毫秒。

Learn more →
Read more

PEXPIREAT

设置键的过期时间为Unix毫秒时间戳。

Learn more →
Read more

PEXPIRETIME

返回键的过期时间,作为Unix毫秒时间戳。

Learn more →
Read more

PFADD

向HyperLogLog键添加元素。如果键不存在,则创建该键。

Learn more →
Read more

PFCOUNT

返回由HyperLogLog键观察到的集合的近似基数。

Learn more →
Read more

PFDEBUG

用于调试HyperLogLog值的内部命令。

Learn more →
Read more

PFMERGE

将一个或多个HyperLogLog值合并到一个键中。

Learn more →
Read more

PFSELFTEST

用于测试HyperLogLog值的内部命令。

Learn more →
Read more

PING

返回服务器的活跃性响应。

Learn more →
Read more

PSETEX

设置键的字符串值和以毫秒为单位的过期时间。如果键不存在,则会创建该键。

Learn more →
Read more

PSUBSCRIBE

监听发布到与一个或多个模式匹配的频道的消息。

Learn more →
Read more

PSYNC

用于复制的内部命令。

Learn more →
Read more

PTTL

返回一个键的过期时间(以毫秒为单位)。

Learn more →
Read more

发布

向频道发布消息。

Learn more →
Read more

PUBSUB 频道

返回活动频道。

Learn more →
Read more

PUBSUB NUMPAT

返回唯一模式订阅的计数。

Learn more →
Read more

PUBSUB NUMSUB

返回频道订阅者的数量。

Learn more →
Read more

PUBSUB SHARDCHANNELS

返回活动的分片通道。

Learn more →
Read more

PUBSUB SHARDNUMSUB

返回分片频道的订阅者数量。

Learn more →
Read more

PUNSUBSCRIBE

停止监听发布到与一个或多个模式匹配的频道的消息。

Learn more →
Read more

RANDOMKEY

从数据库中返回一个随机的键名。

Learn more →
Read more

只读

启用对Redis Cluster副本节点的连接的只读查询。

Learn more →
Read more

READWRITE

启用对Reids集群副本节点的连接的读写查询。

Learn more →
Read more

重命名

重命名一个键并覆盖目标。

Learn more →
Read more

RENAMENX

仅当目标键名不存在时重命名键。

Learn more →
Read more

REPLCONF

用于配置复制流的内部命令。

Learn more →
Read more

REPLICAOF

配置一个服务器作为另一个服务器的副本,或将其提升为主服务器。

Learn more →
Read more

RESTORE

从值的序列化表示创建密钥。

Learn more →
Read more

RESTORE-ASKING

用于在集群中迁移键的内部命令。

Learn more →
Read more

角色

返回复制角色。

Learn more →
Read more

RPOP

返回并移除列表的最后一个元素。如果最后一个元素被弹出,则删除该列表。

Learn more →
Read more

RPOPLPUSH

返回一个列表的最后一个元素,在将其移除并推送到另一个列表之后。如果最后一个元素被弹出,则删除该列表。

Learn more →
Read more

RPUSH

将一个或多个元素追加到列表中。如果键不存在,则创建该键。

Learn more →
Read more

RPUSHX

仅当列表存在时,将元素附加到列表中。

Learn more →
Read more

SADD

向集合中添加一个或多个成员。如果键不存在,则创建该键。

Learn more →
Read more

保存

同步将数据库保存到磁盘。

Learn more →
Read more

SCAN

遍历数据库中的键名。

Learn more →
Read more

SCARD

返回集合中的成员数量。

Learn more →
Read more

脚本调试

设置服务器端Lua脚本的调试模式。

Learn more →
Read more

SCRIPT EXISTS

确定服务器端Lua脚本是否存在于脚本缓存中。

Learn more →
Read more

SCRIPT FLUSH

从脚本缓存中移除所有服务器端的Lua脚本。

Learn more →
Read more

SCRIPT KILL

在执行过程中终止服务器端的Lua脚本。

Learn more →
Read more

SCRIPT LOAD

将服务器端的Lua脚本加载到脚本缓存中。

Learn more →
Read more

SDIFF

返回多个集合的差异。

Learn more →
Read more

SDIFFSTORE

将多个集合的差异存储在一个键中。

Learn more →
Read more

SELECT

更改选定的数据库。

Learn more →
Read more

SET

设置键的字符串值,忽略其类型。如果键不存在,则创建该键。

Learn more →
Read more

SETBIT

设置或清除字符串值偏移处的位。如果键不存在,则创建该键。

Learn more →
Read more

SETEX

设置键的字符串值和过期时间。如果键不存在,则创建该键。

Learn more →
Read more

SETNX

仅当键不存在时设置键的字符串值。

Learn more →
Read more

SETRANGE

通过偏移量用另一个字符串值覆盖字符串值的一部分。如果键不存在,则创建该键。

Learn more →
Read more

关闭

同步将数据库保存到磁盘并关闭Redis服务器。

Learn more →
Read more

SINTER

返回多个集合的交集。

Learn more →
Read more

SINTERCARD

返回多个集合交集成员的数量。

Learn more →
Read more

SINTERSTORE

将多个集合的交集存储在一个键中。

Learn more →
Read more

SISMEMBER

确定一个成员是否属于一个集合。

Learn more →
Read more

SLAVEOF

将Redis服务器设置为另一个服务器的副本,或将其提升为主服务器。

Learn more →
Read more

SLOWLOG GET

返回慢日志的条目。

Learn more →
Read more

SLOWLOG LEN

返回慢日志中的条目数。

Learn more →
Read more

SLOWLOG RESET

清除慢日志中的所有条目。

Learn more →
Read more

SMEMBERS

返回集合的所有成员。

Learn more →
Read more

SMISMEMBER

确定多个成员是否属于一个集合。

Learn more →
Read more

SMOVE

将一个成员从一个集合移动到另一个集合。

Learn more →
Read more

SORT

对列表、集合或有序集合中的元素进行排序,可选择存储结果。

Learn more →
Read more

SORT_RO

返回列表、集合或排序集合的已排序元素。

Learn more →
Read more

SPOP

从集合中移除并返回一个或多个随机成员。如果最后一个成员被弹出,则删除该集合。

Learn more →
Read more

SPUBLISH

向分片通道发布消息

Learn more →
Read more

SRANDMEMBER

从集合中获取一个或多个随机成员

Learn more →
Read more

SREM

从集合中移除一个或多个成员。如果移除了最后一个成员,则删除该集合。

Learn more →
Read more

SSCAN

遍历集合的成员。

Learn more →
Read more

SSUBSCRIBE

监听发布到分片频道的消息。

Learn more →
Read more

STRLEN

返回字符串值的长度。

Learn more →
Read more

订阅

监听发布到频道的消息。

Learn more →
Read more

SUBSTR

从字符串值返回一个子字符串。

Learn more →
Read more

SUNION

返回多个集合的并集。

Learn more →
Read more

SUNIONSTORE

将多个集合的并集存储在一个键中。

Learn more →
Read more

SUNSUBSCRIBE

停止监听发布到分片频道的消息。

Learn more →
Read more

SWAPDB

交换两个Redis数据库。

Learn more →
Read more

SYNC

用于复制的内部命令。

Learn more →
Read more

TDIGEST.ADD

向t-digest草图添加一个或多个观测值

Learn more →
Read more

TDIGEST.BYRANK

对于每个输入排名,返回该排名的值(浮点数)的估计

Learn more →
Read more

TDIGEST.BYREVRANK

对于每个输入的反向排名,返回具有该反向排名的值的估计值(浮点数)

Learn more →
Read more

TDIGEST.CDF

对于每个输入值,返回一个估计的分数(浮点数),该分数表示(小于给定值的观测值数量 + 等于给定值的观测值数量的一半)

Learn more →
Read more

TDIGEST.CREATE

分配内存并初始化一个新的t-digest草图

Learn more →
Read more

TDIGEST.INFO

返回关于t-digest草图的信息和统计

Learn more →
Read more

TDIGEST.MAX

从t-digest草图中返回最大观测值

Learn more →
Read more

TDIGEST.MERGE

将多个t-digest草图合并为一个单一的草图

Learn more →
Read more

TDIGEST.MIN

返回t-digest草图的最小观测值

Learn more →
Read more

TDIGEST.QUANTILE

对于每个输入的分数,返回一个估计值(浮点数),该值小于给定比例的观测值

Learn more →
Read more

TDIGEST.RANK

对于每个输入值(浮点数),返回该值的估计排名(草图中小于该值的观测值数量 + 等于该值的观测值数量的一半)

Learn more →
Read more

TDIGEST.RESET

重置t-digest草图:清空草图并重新初始化。

Learn more →
Read more

TDIGEST.REVRANK

对于每个输入值(浮点数),返回该值的估计逆序排名(草图中大于该值的观测值数量 + 等于该值的观测值数量的一半)

Learn more →
Read more

TDIGEST.TRIMMED_MEAN

返回从草图中估计的平均值,不包括低于低分位数和高分位数的观测值

Learn more →
Read more

时间

返回服务器时间。

Learn more →
Read more

TOPK.ADD

通过增量增加一个或多个项目的计数

Learn more →
Read more

TOPK.COUNT

返回一个或多个项目在草图中的计数

Learn more →
Read more

TOPK.INCRBY

通过增量增加一个或多个项目的计数

Learn more →
Read more

TOPK.INFO

返回关于草图的信息

Learn more →
Read more

TOPK.LIST

返回Top K列表中的完整项目列表

Learn more →
Read more

TOPK.QUERY

检查一个或多个项目是否在草图中

Learn more →
Read more

TOPK.RESERVE

使用指定的参数初始化一个TopK

Learn more →
Read more

TOUCH

返回在更新最后访问时间后,指定键中存在的键的数量。

Learn more →
Read more

TS.ADD

向时间序列添加一个样本

Learn more →
Read more

TS.ALTER

更新现有时间序列的保留时间、块大小、重复策略和标签

Learn more →
Read more

TS.CREATE

创建一个新的时间序列

Learn more →
Read more

TS.CREATERULE

创建一个压缩规则

Learn more →
Read more

TS.DECRBY

减少具有最大现有时间戳的样本的值,或者创建一个新样本,其值等于具有最大现有时间戳的样本的值减去给定的减量

Learn more →
Read more

TS.DEL

删除给定时间序列中两个时间戳之间的所有样本

Learn more →
Read more

TS.DELETERULE

删除一个压缩规则

Learn more →
Read more

TS.GET

从给定的时间序列中获取时间戳最高的样本

Learn more →
Read more

TS.INCRBY

增加具有最大现有时间戳的样本的值,或者创建一个新样本,其值等于具有最大现有时间戳的样本的值加上给定的增量

Learn more →
Read more

TS.INFO

返回时间序列的信息和统计信息

Learn more →
Read more

TS.MADD

将一个或多个时间序列的新样本追加

Learn more →
Read more

TS.MGET

从每个匹配特定过滤器的时间序列中获取具有最高时间戳的样本

Learn more →
Read more

TS.MRANGE

通过过滤器向前方向查询多个时间序列的范围

Learn more →
Read more

TS.MREVRANGE

通过过滤器反向查询多个时间序列的范围

Learn more →
Read more

TS.QUERYINDEX

获取所有与筛选列表匹配的时间序列键

Learn more →
Read more

TS.RANGE

向前方向查询一个范围

Learn more →
Read more

TS.REVRANGE

反向查询一个范围

Learn more →
Read more

TTL

返回一个键的过期时间(以秒为单位)。

Learn more →
Read more

类型

确定存储在键中的值的类型。

Learn more →
Read more

UNLINK

异步删除一个或多个键。

Learn more →
Read more

取消订阅

停止监听发布到频道的消息。

Learn more →
Read more

UNWATCH

忘记事务中监视的键。

Learn more →
Read more

等待

阻塞,直到连接发送的所有先前写入命令的异步复制完成。

Learn more →
Read more

WAITAOF

阻塞,直到连接发送的所有先前的写命令都被写入主节点和/或副本的仅追加文件中。

Learn more →
Read more

观察

监控键的变化以确定事务的执行。

Learn more →
Read more

XACK

返回由流的消费者组成员成功确认的消息数量。

Learn more →
Read more

XADD

向流中添加新消息。如果键不存在,则创建它。

Learn more →
Read more

XAUTOCLAIM

更改或获取消费者组中消息的所有权,就像这些消息被传递给消费者组成员一样。

Learn more →
Read more

XCLAIM

更改或获取消费者组中消息的所有权,就像消息被传递给消费者组成员一样。

Learn more →
Read more

XDEL

返回从流中移除消息后的消息数量。

Learn more →
Read more

XGROUP 创建

创建一个消费者组。

Learn more →
Read more

XGROUP CREATECONSUMER

在消费者组中创建一个消费者。

Learn more →
Read more

XGROUP DELCONSUMER

从消费者组中删除一个消费者。

Learn more →
Read more

XGROUP DESTROY

销毁一个消费者组。

Learn more →
Read more

XGROUP SETID

设置消费者组的最后交付ID。

Learn more →
Read more

XINFO CONSUMERS

返回消费者组中的消费者列表。

Learn more →
Read more

XINFO GROUPS

返回流的消费者组列表。

Learn more →
Read more

XINFO STREAM

返回有关流的信息。

Learn more →
Read more

XLEN

返回流中的消息数量。

Learn more →
Read more

XPENDING

返回流消费者组的待处理条目列表中的信息和条目。

Learn more →
Read more

XRANGE

返回指定ID范围内的流中的消息。

Learn more →
Read more

XREAD

返回来自多个流的ID大于请求的消息。如果没有消息可用,则阻塞直到有消息可用。

Learn more →
Read more

XREADGROUP

从流中返回消费者组中的新消息或历史消息。如果没有消息可用,则阻塞直到有消息可用。

Learn more →
Read more

XREVRANGE

返回指定ID范围内的消息流,按逆序排列。

Learn more →
Read more

XSETID

用于复制流值的内部命令。

Learn more →
Read more

XTRIM

从流的开头删除消息。

Learn more →
Read more

ZADD

向有序集合中添加一个或多个成员,或更新它们的分数。如果键不存在,则创建该键。

Learn more →
Read more

ZCARD

返回有序集合中的成员数量。

Learn more →
Read more

ZCOUNT

返回有序集合中分数在指定范围内的成员数量。

Learn more →
Read more

ZDIFF

返回多个有序集合之间的差异。

Learn more →
Read more

ZDIFFSTORE

存储多个有序集合在键中的差异。

Learn more →
Read more

ZINCRBY

增加有序集合中成员的分数。

Learn more →
Read more

ZINTER

返回多个有序集合的交集。

Learn more →
Read more

ZINTERCARD

返回多个有序集合交集成员的数量。

Learn more →
Read more

ZINTERSTORE

将多个有序集合的交集存储在一个键中。

Learn more →
Read more

ZLEXCOUNT

返回在字典序范围内排序集合中的成员数量。

Learn more →
Read more

ZMPOP

从一个或多个有序集合中移除并返回最高分或最低分的成员。如果最后一个成员被弹出,则删除该有序集合。

Learn more →
Read more

ZMSCORE

返回有序集合中一个或多个成员的分数。

Learn more →
Read more

ZPOPMAX

从排序集中移除并返回得分最高的成员。如果最后一个成员被弹出,则删除排序集。

Learn more →
Read more

ZPOPMIN

从排序集中移除并返回得分最低的成员。如果最后一个成员被弹出,则删除该排序集。

Learn more →
Read more

ZRANDMEMBER

从排序集合中返回一个或多个随机成员。

Learn more →
Read more

ZRANGE

返回排序集合中指定索引范围内的成员。

Learn more →
Read more

ZRANGEBYLEX

返回按字典顺序范围内的排序集合中的成员。

Learn more →
Read more

ZRANGEBYSCORE

返回在分数范围内的排序集合中的成员。

Learn more →
Read more

ZRANGESTORE

存储一个键中来自有序集合的一系列成员。

Learn more →
Read more

ZRANK

返回按升序分数排序的集合中成员的索引。

Learn more →
Read more

ZREM

从排序集合中移除一个或多个成员。如果所有成员都被移除,则删除该排序集合。

Learn more →
Read more

ZREMRANGEBYLEX

删除按字典顺序范围内的有序集合中的成员。如果所有成员都被删除,则删除该有序集合。

Learn more →
Read more

ZREMRANGEBYRANK

移除排序集合中指定索引范围内的成员。如果所有成员都被移除,则删除该排序集合。

Learn more →
Read more

ZREMRANGEBYSCORE

移除在分数范围内的有序集合中的成员。如果所有成员都被移除,则删除该有序集合。

Learn more →
Read more

ZREVRANGE

返回有序集合中指定索引范围内的成员,按逆序排列。

Learn more →
Read more

ZREVRANGEBYLEX

返回按字典顺序范围反向排序的集合中的成员。

Learn more →
Read more

ZREVRANGEBYSCORE

返回在分数范围内的有序集合中的成员,按逆序排列。

Learn more →
Read more

ZREVRANK

返回按降序分数排序的集合中成员的索引。

Learn more →
Read more

ZSCAN

遍历有序集合的成员和分数。

Learn more →
Read more

ZSCORE

返回有序集合中成员的分数。

Learn more →
Read more

ZUNION

返回多个有序集合的并集。

Learn more →
Read more

ZUNIONSTORE

将多个有序集合的并集存储在一个键中。

Learn more →
Read more