2.1 redis数据库数量
redis默认有16个数据库,这个结论从何而来呢?
查看redis的配置文件
# Set the number
of databases
. The
default database is
DB 0, you can select
# a different one on a per
-connection basis using
SELECT <dbid
> where
# dbid is a number between
0 and
'databases'-1
##默认有
16个数据库
databases
16