redis and server | Mar 11, 2016
The SAVE
commands performs a synchronous save of the dataset producing a
point in time snapshot of all the data inside the Redis instance, in the form
of an RDB file.
redis and server | Mar 11, 2016
Provide information on the role of a Redis instance in the context of replication, by returning if the instance is currently a master
, slave
, or sentinel
. The command also returns additional information about the state of the replication (if the role is master or slave) or the list of monitored master names (if the role is sentinel).
redis and server | Mar 11, 2016
MONITOR
is a debugging command that streams back every command processed by
the Redis server.
It can help in understanding what is happening to the database.
This command can both be used via redis-cli
and via telnet
.
redis and server | Mar 11, 2016
Return the UNIX TIME of the last DB save executed with success.
A client may check if a BGSAVE
command succeeded reading the LASTSAVE
value,
then issuing a BGSAVE
command and checking at regular intervals every N
seconds if LASTSAVE
changed.
redis and server | Mar 11, 2016
The INFO
command returns information and statistics about the server in a
format that is simple to parse by computers and easy to read by humans.
redis and server | Mar 11, 2016
Delete all the keys of the currently selected DB. This command never fails.
More »