CONFIG
Since 1.1.0ServerChanged in 1.2.1
Syntax
CONFIGHistory
- 1.2.1: acl categories: removed server
Reads and changes the server's settings at runtime. See its subcommands, and Configuration for every setting. A script cannot run it, CONFIG GET included: it is refused with ERR This Redis command is not allowed from script, as in Redis. Before 1.2, a script could.
Subcommands
- CONFIG GET: Returns the settings whose names match a glob-style pattern, * for all, as name-value pairs.
- CONFIG HELP: Lists the CONFIG subcommands, one line each with its arguments, followed by an indented line saying what it does: CONFIG GET, CONFIG SET, CONFIG RESETSTAT, CONFIG REWRITE and CONFIG HELP.
- CONFIG RESETSTAT: Resets the statistics INFO reports, so that they count from now: the number of commands processed and connections received, the network totals, keyspace hits and misses, error counts, and each comman…
- CONFIG REWRITE: Writes the current settings to the configuration file the server was started with, /etc/kividb/kividb.conf by default.
- CONFIG SET: Changes settings, all or none of them: a value out of range, a setting that cannot change at runtime, or one named twice makes it an error that names it, and nothing changes.