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

相关推荐
ycydynq14 分钟前
Django利用中间间 判断页面是否登录,未登录则返回登录页
数据库·django·sqlite
承渊政道24 分钟前
【MySQL数据库学习】(MySQL访问、连接池原理与简易网站数据流动)
数据库·学习·mysql·mysql访问·连接池原理
吴声子夜歌24 分钟前
SQL进阶——EXISTS谓词
java·数据库·sql
wefg13 小时前
【MySQL】索引(索引底层原理/创建/查看/删除主键、普通、联合、前缀、全文索引)
数据库·mysql
风向决定发型丶7 小时前
redis集群搭建
数据库·redis·缓存
wei_shuo9 小时前
KES 扩展与插件开发实战:自定义函数、触发器与第三方插件集成
数据库·kes
梦想的颜色10 小时前
硬核实践:使用 Docker 部署生产级 Redis(持久化 + 安全配置 + 高可用)
redis·docker·redis持久化·docker compose·redis哨兵·rdb aof
风中芦苇啊10 小时前
从直接生成到受控配置:新一代图表Agent的SQL安全生成范式
数据库·sql·安全
吴声子夜歌10 小时前
SQL进阶——窗口函数
数据库·sql
周杰伦的稻香10 小时前
MySQL8.0+中引入的SET_USER_ID权限迭代SUPER权限指定 DEFINER
数据库·mysql