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

相关推荐
会飞的灰大狼1 小时前
MyCAT完整实验报告
mysql·centos7
不羁。。4 小时前
【撸靶笔记】第七关:GET - Dump into outfile - String
数据库·笔记·oracle
yangchanghua1115 小时前
pgsql 如何查询今天范围内的数据(当天0点0分0秒 - 当天23点59分59秒....)
数据库·pgsql
larance5 小时前
SQLAlchemy 的异步操作来批量保存对象列表
数据库·python
python_chai5 小时前
从数据汇总到高级分析,SQL 查询进阶实战(下篇)—— 分组、子查询与窗口函数全攻略
数据库·sql·mysql
在努力的前端小白6 小时前
Spring Boot 敏感词过滤组件实现:基于DFA算法的高效敏感词检测与替换
java·数据库·spring boot·文本处理·敏感词过滤·dfa算法·组件开发
未来之窗软件服务6 小时前
自建知识库,向量数据库 (九)之 量化前奏分词服务——仙盟创梦IDE
数据库·仙盟创梦ide·东方仙盟·自建ai·ai分词
冒泡的肥皂9 小时前
MVCC初学demo(一
数据库·后端·mysql
.Shu.10 小时前
Redis Reactor 模型详解【基本架构、事件循环机制、结合源码详细追踪读写请求从客户端连接到命令执行的完整流程】
数据库·redis·架构
Bruce_Liuxiaowei12 小时前
MySQL完整重置密码流程(针对 macOS)
mysql