In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
What is the role of NoSQL non-relational database, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
Memcached (key-value database)
Memcaced is an open source, high-performance caching system with distributed memory objects. Through it, you can reduce the database load and accelerate dynamic web applications. The original version was developed by Brad Fitzpatrick of LiveJoumal in 2003. At present, a lot of users around the world are using it to construct the host's heavy-load website or to improve the response speed of the host's high-access website.
Memcached is a pure memory caching system, the data is like a huge hash table, the data is stored in the form of key-value pairs. By caching objects or data that are often accessed, the pressure of frequently reading the database is reduced, the response speed of the website is improved, and a faster and faster scalable Web application is built.
Memcached is very suitable for application scenarios that require ultra-high performance read and write speed and persistence, but in recent years it has been gradually replaced by other persistence products such as Redis.
Redis (key-value database)
Rediskey- value storage system. There are relatively more storage value types supported by Memcached,redis, including string (string), list (linked list), set (collection), zset (ordered collection), and so on. These data types support push/pop, add/remove, and intersection, union and difference, and richer operations, all of which are atomic.
To ensure efficiency, redis data is cached in memory. The difference is that redis periodically writes the updated data to disk or the modification operation to the appended record file, and realizes master-slave (master-slave) synchronization on the basis.
Redis provides Python, Ruby, Erlang and PHP clients, which are very easy to use. Support memory cache, persistent storage, more rich database types, support master-slave cluster, distributed, support queues and other special functions.
MongoDB (document database)
MongoDB is a product between relational database and non-relational database, which is the most functional and most like relational database among non-relational databases. MongoDB supports a very loose database structure, similar to json's bjson format, so you can store more complex data types. The characteristic of Mongodb*** is that the query language it supports is very powerful, and its syntax is somewhat similar to the object-oriented query language. It can almost achieve most of the functions of single table query in relational database, and it also supports the establishment of data indexing.
MongoDB uses efficient binary storage of data. It has many excellent performances, such as Collenction-Orented-oriented storage, schema freedom (schema-free), support for dynamic query, support for full indexing, support for replication and fault recovery, automatic fragmentation, to support scalability at the cloud computing level, and so on.
Although the mainstream of the current database is still relational database, the application of NoSQL will only become more and more extensive, the reason is very simple, because the data types we face are becoming more and more complex, and the traditional data storage methods have become increasingly unable to meet the requirements.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.