1 redis里边有数据库的概念。可分为1-255这些表。在存储或者查找的时候要指明。 redis_sentinel 集群里边封装成了namespace这样的概念。与db是不一样的。 转载于:https://www.cnblogs.com/catkins/p/5270383.html