kevy4.0

CONFIG

Read or change server configuration parameters.

CONFIG GET parameter | SET parameter value | REWRITE | RESETSTAT
Group
Server
Since
1.0.0
Arity
at least 2
Flags
write admin

Complexity

GET: O(patterns * 16). SET: O(1) plus one config swap that shards pick up on their next tick. REWRITE: O(config file size)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

16 Redis-named parameters exist; only maxmemory, maxmemory-policy, appendfsync, the auto-rewrite pair, hz, maxmemory-samples, loglevel and logfile are hot-settable — bind, port, io-threads, dir and appendonly error at runtime; RESETSTAT is a no-op

See also

BGREWRITEAOFBGSAVECLIENTCLUSTERCOMMANDDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSAVESHUTDOWNSLOWLOG

← All commands