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