Easy Tutorial
❮ Server Save Redis Hashes ❯

Redis Config Get Command

Redis Server

The Redis Config Get command is used to retrieve configuration parameters of the redis service.

In Redis version 2.4, some parameters could not be accessed using CONFIG GET, but in the latest Redis 2.6 version, all configuration parameters can be accessed using CONFIG GET.

Syntax

The basic syntax for the redis Config Get command is as follows:

redis 127.0.0.1:6379> CONFIG GET parameter

Available Versions

= 2.0.0

Return Value

The value of the given configuration parameter.

Example

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 Server

❮ Server Save Redis Hashes ❯