How redis redis how to switch switch db db

redis how to switch db

 

Almost turned 200 on one server redis instance, watching collapsed. You want to do nothing more than different types of data belonging to different applications and separated from each other.

 

So, redis there any way to make a different application data stored apart from each other at the same time on the same instance of it? Equivalent MySQL database , different application data stored in different databases.

Under redis, the database is an integer index identity, rather than a database name. By default, a client database connected to 0. redis following configuration parameters to control file database Total:

Almost turned 200 on one server redis instance, watching collapsed. You want to do nothing more than different types of data belonging to different applications and separated from each other.

 

So, redis there any way to make a different application data stored apart from each other at the same time on the same instance of it? Equivalent MySQL database , different application data stored in different databases.

Under redis, the database is an integer index identity, rather than a database name. By default, a client database connected to 0. redis following configuration parameters to control file database Total:

Guess you like

Origin www.cnblogs.com/xy51/p/11325792.html