Home > Database > Redis > body text

How many databases does redis have?

步履不停
Release: 2019-06-25 10:26:11
Original
5664 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!