Redis – Server Debug Segfault Command
Redis DEBUG SEGFAULT performs an invalid memory access that crashes Redis. It is used to simulate bugs during the development. Return Value String reply. Syntax Following is the basic syntax of Redis DEBUG…
Redis blog…
Redis DEBUG SEGFAULT performs an invalid memory access that crashes Redis. It is used to simulate bugs during the development. Return Value String reply. Syntax Following is the basic syntax of Redis DEBUG…
Redis DEBUG OBJECT is a debugging command that should not be used by the clients. Check the OBJECT command instead. Return Value String reply. Syntax Following is the basic syntax of Redis DEBUG…
Redis DBSIZE command is used to get the number of keys in selected database. Return Value Integer reply. Syntax Following is the basic syntax of Redis DBSIZE command. redis 127.0.0.1:6379> DBSIZE Example redis 127.0.0.1:6379>…
Redis CONFIG RESETSTAT command resets the statistics reported by Redis using the INFO command. Following counters can be reset using this command − Keyspace hitsKeyspace missesNumber of commands processedNumber of connections receivedNumber…
Redis CONFIG Set command is used in order to reconfigure the server at run time without the need to restart Redis. You can change both trivial parameters or switch from one to…
Redis CONFIG REWRITE command rewrites the redis.conf file the server was started with, applying minimal changes needed to reflect the configuration currently used by the server. It may be different compared to…
Redis CONFIG GET command is used to read the configuration parameters of a running Redis server. Not all the configuration parameters are supported in Redis 2.4, while Redis 2.6 can read the…
Redis COMMAND INFO returns the details about multiple Redis commands. Return Value Array reply – The nested list of command details. Syntax Following is the basic syntax of Redis COMMAND INFO command. redis 127.0.0.1:6379>…
Redis BGSAVE command saves the DB in the background. The OK code is immediately returned. Redis forks, the parent continues to serve the clients, the child saves the DB on the disk,…
Redis COMMAND GETKEYS is a helper command to let you find the keys from a full Redis command. Return Value Array reply – The list of keys from your command. Syntax Following…