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 小时前
LangChain / Integrations / Integrations by component / Tool
java·数据库·langchain
xqqxqxxq2 小时前
SQL 连接查询技术笔记
数据库·笔记·sql
消失的旧时光-19432 小时前
第六篇:Redis Hash——一个用户对象应该保存成 JSON,还是保存成 Hash?
redis·json·哈希算法
Databend2 小时前
从万亿级大模型到全线应用:Databend Cloud 助力头部 AI 企业构建全链路 Trace 数据管道
大数据·数据库·sql
MC皮蛋侠客2 小时前
SQLAlchemy 系列(十一):从 1.x 到 2.x——渐进迁移与数据访问层治理
数据库·python
1001101_QIA2 小时前
工控机网络配置
开发语言·数据库·php
ClouGence3 小时前
加一张临时表,OceanBase Oracle 写入居然快了 30 倍!
数据库·sql·oracle
tju23333 小时前
信创产业二十年:国产基础软件走到哪一步了?
数据库·gitee
自律最差的编程狗3 小时前
从零搭建:VMware + Ubuntu + Docker + MySQL 完整指南
mysql·ubuntu·docker