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

相关推荐
Amnesia0_0几秒前
MYSQL复合查询和内外连接
数据库·mysql
Gauss松鼠会1 分钟前
【GaussDB】GaussDB SMP特性调优详解
java·服务器·前端·数据库·sql·算法·gaussdb
AI数据皮皮侠4 分钟前
全国高考报名、录取数据(1977-2026)
大数据·数据库·人工智能·python·机器学习·高考
Fanta丶5 分钟前
22.MySql order by优化
mysql
JAVA面经实录91712 分钟前
Redis 知识体系(完整版)
java·redis·nosql数据库·nosql
计算机安禾25 分钟前
【数据库系统原理】第15篇:范式理论(上):1NF至BCNF——消除非主属性对码的传递依赖与部分依赖
数据库
哆啦A梦——37 分钟前
Ubuntu 虚拟机 Docker 与 MySQL 8.0.42 部署指南
mysql·ubuntu·docker
你的保护色42 分钟前
数据库第一章-基础知识学习
数据库·学习
倔强的石头_1 小时前
《Kingbase护城河》——数据库卡顿急救手册:会话状态深度解析与“僵尸进程”排查实战
数据库