Redis Config Get 命令

更新时间: 2019-07-07 15:54

Redis Config Get 命令用于获取 redis 服务的配置参数。

在 Redis 2.4 版本中, 有部分参数没有办法用 CONFIG GET 访问,但是在最新的 Redis 2.6 版本中,所有配置参数都已经可以用 CONFIG GET 访问了。

语法

redis Config Get 命令基本语法如下:

redis 127.0.0.1:6379> CONFIG GET parameter

可用版本

>= 2.0.0

返回值

给定配置参数的值。

实例

redis 127.0.0.1:6379> config get *max-*-entries* 
1) "hash-max-zipmap-entries"
2) "512"
3) "list-max-ziplist-entries"
4) "512"
5) "set-max-intset-entries"
6) "512"

查看更多 Redis 服务器命令

Distributed Algorithms

Distributed Algorithms

Nancy A. Lynch / Morgan Kaufmann / 1996-3-15 / USD 155.00

In "Distributed Algorithms", Nancy Lynch provides a blueprint for designing, implementing, and analyzing distributed algorithms. She directs her book at a wide audience, including students, programmer......一起来看看 《Distributed Algorithms》 这本书的介绍吧!

在线进制转换器

在线进制转换器

各进制数互转换器

html转js在线工具

html转js在线工具

html转js在线工具