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. Redisconnection命令详解

    2024-04-20 19:02:03       33 阅读
  2. redisscan命令详解

    2024-04-20 19:02:03       51 阅读
  3. Rediscluster命令详解

    2024-04-20 19:02:03       35 阅读
  4. Redistransactions命令详解

    2024-04-20 19:02:03       25 阅读
  5. Redis 的字符串数据结构详解及字符串命令

    2024-04-20 19:02:03       42 阅读
  6. Redis基础命令详解

    2024-04-20 19:02:03       40 阅读
  7. Redis的基础命令详解

    2024-04-20 19:02:03       38 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-20 19:02:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-20 19:02:03       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-20 19:02:03       82 阅读
  4. Python语言-面向对象

    2024-04-20 19:02:03       91 阅读

热门阅读

  1. 【WPF】取色器-Color Extractor

    2024-04-20 19:02:03       38 阅读
  2. NLP预训练模型-GPT-3

    2024-04-20 19:02:03       35 阅读
  3. 消息队列的确认机制和持久化选项

    2024-04-20 19:02:03       32 阅读
  4. 机器学习实验------随机森林

    2024-04-20 19:02:03       36 阅读
  5. 富格林:翻出虚假陷阱保障安全

    2024-04-20 19:02:03       28 阅读
  6. Elasticsearch 索引文档的过程

    2024-04-20 19:02:03       34 阅读
  7. Kafka 源码解析 - Kafka Consumer设计解析

    2024-04-20 19:02:03       37 阅读
  8. vue+vite+elements

    2024-04-20 19:02:03       29 阅读
  9. python模式设计之责任链模式

    2024-04-20 19:02:03       36 阅读