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

相关推荐
小天源41 分钟前
智叟云集系统 · 架构与职责分层
服务器·前端·数据库
herinspace1 小时前
管家婆实用贴-SQL 2008如何修改成混合模式
服务器·数据库·sql·管家婆软件·财务软件·合肥管家婆软件
打螺丝的小李1 小时前
制造企业质量管理系统的三类产品形态:分别解决什么问题
数据库·制造
xixingzhe22 小时前
MySQL 锁表故障排查与处理
数据库·mysql
真上帝的左手2 小时前
30. 技术专题-‌应用框架组件-关系型数据库-MySQL-Mybatis
数据库·分布式·mysql·中间件·mybatis
为思念酝酿的痛2 小时前
MySQL表的连接
数据库·mysql
数字新视界2 小时前
机房动环监控系统在提升数据中心能效与安全中的应用探索
大数据·服务器·数据库·动环监控系统·动力与环境监控系统
bksczm3 小时前
MySQL之存储引擎
数据库·mysql
计算机毕设定制辅导-无忧学长4 小时前
《基于微信小程序健康习惯激励系统设计与实现》
java·spring boot·mysql·微信小程序·uniapp·健康习惯激励系统
大模型最新论文速读4 小时前
text-to-sql:从学术玩具到生产落地
数据库·sql