config
UK[kənˈfɪg] US[kənˈfɪg]
v.To configure; to set; to take shape; to give a certain form
set
英[set] 美[sɛt]
vt. Set; place, arrange; put in a certain situation; place tableware
vi. Setting off; condensation
n.Gathering; a set; a set; a TV set
adj. fixed; located in; stubborn; arranged
Third person singular: sets Plural: sets Present participle: setting Past tense: set Past participle: set
redis CONFIG SET command syntax
Function:CONFIG SET command can dynamically adjust the configuration of the Redis server without restarting.
Syntax: CONFIG SET parameter value
Description: You can use it to modify configuration parameters, or change the persistence mode of Redis . The configuration parameters that can be modified by CONFIG SET can be listed using the command CONFIG GET *. All configuration parameters modified by CONFIG SET will take effect immediately.
Available versions: >= 2.0.0
Time complexity: Unclear
Return: Return OK when the setting is successful, otherwise return an error.
redis CONFIG SET command example
redis> CONFIG GET slowlog-max-len 1) "slowlog-max-len" 2) "1024" redis> CONFIG SET slowlog-max-len 10086 OK redis> CONFIG GET slowlog-max-len 1) "slowlog-max-len" 2) "10086"