June 2015
Intermediate to advanced
318 pages
6h 57m
English
We have seen commands used by the client program to either set data or get data in Redis but there are some useful commands that are needed to handle Redis as a datastore. These commands help in maintaining Redis in the production environment and are usually the domain of the Redis administration. Since these commands have an impact on the data stored in Redis, one should be careful in executing them. Following are some of the commands:
FLUSHDB: This command deletes all the keys (and their held data) in the chosen database. As we have seen, in Redis we can create a database which is more like a SILO wherein we can store data in a segregated manner (more like separation of concern). This command never fails.FLUSHALL ...Read now
Unlock full access