Redis – Server Info Command
Redis INFO command returns information and statistics about the server in a format that is simple to parse by the computers and easy to read by humans. Following are some optional parameters.…
Redis INFO command returns information and statistics about the server in a format that is simple to parse by the computers and easy to read by humans. Following are some optional parameters.…
Redis FLUSHDB deletes all the keys of the currently selected DB. This command never fails. Return Value String reply. Syntax Following is the basic syntax of Redis FLUSHDB command. redis 127.0.0.1:6379> FLUSHDB Example redis…
Redis FLUSHALL deletes all the keys of all the existing databases, not just the currently selected one. This command never fails. Return Value String reply. Syntax Following is the basic syntax of…
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…