Review the "NoSQL essence"

When online about Redis related articles all over the place, this time I decided to recap NoSQL. What it is, what it used to solve the problem, which is similar to the technology, what are the differences with traditional relational database, when to use?
As also mentioned in the book, short length, the content is very rich. The birth of new technology, we should be both prudent and forward-looking attitude look at it.

1. What is it, what problems to solve?

In fact, the definition of NoSQL is not accurate, early Italian Not Only SQL, not the expression No, SQL!
It refers to non-relational database is now described, help advocate free mode (schemaless) data, it can run in a clustered environment, to sacrifice traditional databases with consistency, in exchange for some of the new features. We can build a more stable, more scalable programming system.
There are two major issues to resolve:

  • Application development efficiency. More in line with the data model of the application, simplifying the interaction and reduce the amount of code.
  • Large-scale data. Fast data acquisition and processing.


     
    NoSQL

2. its "allies"

 
Aggregate data model

Distributed model

The main reason is the birth of NoSQL: a need for a hook to run the database on a large cluster. As more and more amount of data, the server for later extensions of the longitudinal scale up becomes increasingly difficult and expensive, so the scale for the polymerization birth database.

3. Select the appropriate database

Broad that NoSQL database choice for two reasons:

  • Improve programmer productivity;
  • Improve data access performance;

Both factors may also be complementary to conflict with each other, because it is difficult to model the decision-making process of data storage abstraction out, and then later you want to modify, but also quite difficult .

Before deciding to apply a NoSQL technology, we must test whether their like as expected improved programmer productivity and data access performance. You can change or maturity of the technology change in demand with other database technologies service package database.

Guess you like

Origin www.cnblogs.com/weilai1917/p/11827659.html