In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you what kind of database redis is. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Redis is a new, non-relational, does not support SQL syntax, does not support things, | | Open source, C language, support network, memory-based, persistent, Key-Value data storage, NoSql database.
Characteristics and advantages
K, v key value storage and data structure storage (e.g. lists, dictionaries)
All data (including data storage) operations are completed in memory
Single-threaded service (which means there will be more blocking), using the epoll model for request response, compared to nginx
Support master-slave replication mode, but also provide highly available master-slave replication mode (Sentinel)
Decentralized distributed cluster
Rich programming interface support, such as Python, Golang, Java, php, Ruby, Lua, Node.js
Rich features, in addition to supporting a variety of data structures, but also supports transactions, publish / subscribe, message queuing and other functions
Support for data persistence (AOF, RDB)
Data types (five):
String string
String type is the most basic data storage type in Redis, and it is binary safe in Redis, which means that this type can accept data in any format, such as JPEG image data or Json object description information. The maximum length of data that a string type Value can hold in Redis is 512m.
Hash hash
It can be understood that there is a main key first, under which the data is stored in the form of key-value, and the type of value is also String.
List list
The element type of the list is string, sorted by insertion order, and the element has an index
Set set
The element is of string type. The element is unique, does not repeat, and has no modification operation.
Ordered set zset
Ordered collection, elements of type string, elements are unique, each element will be associated with a double (double precision) type score, representing the weight, sorting the elements from left to right by weight.
Thank you for reading! About what kind of database redis is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.