YouTip LogoYouTip

Server Config Set

Here's the translated HTML content with all code blocks preserved: # Redis Config Set Command | Rookie Tutorial # [Rookie Tutorial -- Learning not just technology, but dreams!](#) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0)) Redis Tutorial (#)(#)(#)(#)(#) ## Redis Commands (#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#) ## Redis Advanced Tutorial [Redis Backup & Recovery](#)(#)(#)(#)(#)(#)(#)(#) [](#)(#) (#)[](#) Deep Exploration Data Management Scripting Scripting Languages Programming Computer Hardware Networking Computer Components Computer Computer Servers Development Tools # Redis Config Set Command !(#)(#) The Redis Config Set command allows dynamic adjustment of Redis server configuration without requiring a restart. You can use it to modify configuration parameters or change Redis persistence methods. ### Syntax The basic syntax of redis Config Set command is as follows: redis 127.0.0.1:6379> CONFIG Set parameter value ### Available Version >= 2.0.0 ### Return Value Returns OK when successful, otherwise returns an error. ### Example redis 127.0.0.1:6379> CONFIG GET slowlog-max-len 1) "slowlog-max-len"2) "1024" redis 127.0.0.1:6379> CONFIG SET slowlog-max-len 10086 OK redis 127.0.0.1:6379> CONFIG GET slowlog-max-len 1) "slowlog-max-len"2) "10086" !(#)(#)
← Server LastsaveServer Client Setname β†’