Home  >  Article  >  Database  >  How many databases does redis have?

How many databases does redis have?

步履不停
步履不停Original
2019-06-25 10:26:115621browse

How many databases does redis have?

Under redis, the database is identified by an integer index rather than a database name.

By default, a client connects to database 0.

The following parameters in the redis configuration file control the total number of databases:

/etc/redis/redis.conf

In the file, there is a configuration item databases = 16 // There are 16 databases by default

How many databases does redis have?

REmote DIctionary Server (Redis) is a key-value storage system written by Salvatore Sanfilippo .

Redis is an open source log-type Key-Value database written in ANSI C language, abides by the BSD protocol, supports the network, can be memory-based and persistent, and provides APIs in multiple languages.

It is often called a data structure server because values ​​can be strings, hashes, lists, sets and sorted sets ) and other types.

For more Redis-related technical articles, please visit the Redis Tutorial column to learn!

The above is the detailed content of How many databases does redis have?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn