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

相关推荐
奥尔特星云大使4 分钟前
MySQL快速构建主从(基于GTID)
数据库·mysql·主从复制
小园子的小菜6 分钟前
MySQL ORDER BY 深度解析:索引排序规则与关键配置参数阈值
数据库·mysql
wxjlkh8 分钟前
Oracle Exadata一体机简介 1千多个W
数据库·oracle
泽虞22 分钟前
《Qt应用开发》笔记p3
linux·开发语言·数据库·c++·笔记·qt·面试
XXYBMOOO26 分钟前
如何自定义 Qt 日志处理并记录日志到文件
开发语言·数据库·qt
不剪发的Tony老师35 分钟前
PEV2:一款PostgreSQL执行计划可视化工具
数据库·postgresql
IT 小阿姨(数据库)35 分钟前
PostgreSQL wal_e 工具详解
运维·数据库·sql·postgresql·centos
有想法的py工程师39 分钟前
AL2系统下编译安装PSQL16.4版本
linux·运维·数据库·postgresql
惊鸿一博43 分钟前
mysql_page pagesize 如何实现游标分页?
数据库·mysql
泽虞1 小时前
《Qt应用开发》笔记p4
linux·开发语言·数据库·c++·笔记·qt·算法