Redis中connection命令详解

AUTH [username] password

summary: Authenticate to the server

since: 1.0.0

CLIENT CACHING YES|NO

summary: Instruct the server about tracking or not keys in the next request

since: 6.0.0

CLIENT GETNAME -

summary: Get the current connection name

since: 2.6.9

CLIENT GETREDIR -

summary: Get tracking notifications redirection client ID if any

since: 6.0.0

CLIENT ID -

summary: Returns the client ID for the current connection

since: 5.0.0

CLIENT INFO -

summary: Returns information about the current client connection.

since: 6.2.0

CLIENT KILL [ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [USER username] [ADDR ip:port] [LADDR ip:port] [SKIPME yes/no]

summary: Kill the connection of a client

since: 2.4.0

CLIENT LIST [TYPE normal|master|replica|pubsub] [ID client-id [client-id ...]]

summary: Get the list of client connections

since: 2.4.0

CLIENT PAUSE timeout [WRITE|ALL]

summary: Stop processing commands from clients for some time

since: 2.9.50

CLIENT REPLY ON|OFF|SKIP

summary: Instruct the server whether to reply to commands

since: 3.2.0

CLIENT SETNAME connection-name

summary: Set the current connection name

since: 2.6.9

CLIENT TRACKING ON|OFF [REDIRECT client-id] [PREFIX prefix [PREFIX prefix ...]] [BCAST] [OPTIN] [OPTOUT] [NOLOOP]

summary: Enable or disable server assisted client side caching support

since: 6.0.0

CLIENT TRACKINGINFO -

summary: Return information about server assisted client side caching for the current connection

since: 6.2.0

CLIENT UNBLOCK client-id [TIMEOUT|ERROR]

summary: Unblock a client blocked in a blocking command from a different connection

since: 5.0.0

CLIENT UNPAUSE -

summary: Resume processing of clients that were paused

since: 6.2.0

ECHO message

summary: Echo the given string

since: 1.0.0

HELLO [protover [AUTH username password] [SETNAME clientname]]

summary: Handshake with Redis

since: 6.0.0

PING [message]

summary: Ping the server

since: 1.0.0

QUIT -

summary: Close the connection

since: 1.0.0

RESET -

summary: Reset the connection

since: 6.2

SELECT index

summary: Change the selected database for the current connection

since: 1.0.0

相关推荐
God__is__a__girl几秒前
Oracle驱动版本引发ORA-01461批量插入异常排查与解决
数据库·oracle
少年攻城狮11 分钟前
Oracle系列---【两个环境,表结构一致,数据量一致,索引也一致,为什么同样的sql执行时间却不一致?】
数据库·sql·oracle
l1t12 分钟前
解决用docker安装umbra数据库遇到的FATAL:Operation not permitted错误
数据库·docker·容器
2401_8942419220 分钟前
机器学习与人工智能
jvm·数据库·python
GentleDevin35 分钟前
Redis服务常用命令
数据库·oracle
難釋懷40 分钟前
Redis分片集群手动故障转移
数据库·redis·缓存
无名-CODING1 小时前
从零开始!Vue3+SpringBoot前后端分离项目Docker部署实战(上):环境搭建与数据库容器化
数据库·spring boot·docker
Bdygsl1 小时前
MySQL(2)—— CRUD
数据库·mysql
chushiyunen1 小时前
python edge-tts实现tts文本转语音、音频
数据库·python·音视频
原来是猿1 小时前
MySQL【事务中 - 事务的隔离级别】
数据库·mysql