Analysis of Redis and MongoDB

Source: Internet
Author: User
Tags mongodb redis
Let's talk about something today, NoSQL. A listen to NoSQL maybe many people will feel very tall feeling, but actually contacted also feel OK, with the current data of the crazy explosive growth, traditional RDBMS also more and more exposed his shortcomings, so, as a qualified programmer, it is necessary to understand , the new concept of nosql in recent years, NoSQL can be understood as "not just SQL", not to say that the RDBMS is discarded, but a complement it.

Well, nonsense not to say, the front is only a prerequisite, today I would like to say that the focus of the NoSQL database in the use of more than 2 kinds of, (also do not know my intuition is not AH) A, redis, for the typical key-value database. Another, MongoDB, this must be very familiar to you, a document database that also stores JSON-formatted data. Redis and MongoDB installation is not particularly difficult, I mean to experience his basic features, in a similar cmd window to knock a few lines of command is relatively easy. Redis database is in fact maintaining a huge hashmap, of course, there are some other operations, but also query sorting function, as well as linked list function. MongoDB in the storage of things are more personalized, unlike Redis is similar to the "ID + name": Content, and then by the process of their own data processing, so each database has its own characteristics, such as Sina Weibo with the Redis. In fact, there are other classes in the NoSQL database, such as graphics database Graphba, as well as column-oriented storage hbase,hadoop used by the database, the principle of more Google's bigtable more similar, interested students can learn what is called column-oriented storage.

This article originally is not monotonous introduction Redis and MongoDB installation use, such posts on the Internet to find an estimate is a bunch of, the emphasis on introducing a concept to the reader, leading the reader's study, when it is to popularize knowledge

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.