is there any thing similar to "use" sql command in redis?
is there any thing similar to "u开发者_运维百科se" sql command in redis ?
Yes. Redis runs with multiple databases at a time (16 by default). You can use "SELECT " to change the active database.
http://redis.io/commands/select
No. The use
commands are typically a way to select a specific database within a server that hosts multiple databases. Redis does not generally use the same concepts to partition data stored within the server.
If its at all helpful, see http://redis.io/commands for a list of all the commands.
精彩评论