NoSQL (a) Why choose NoSQL?

Source: Internet
Author: User

"NoSQL essence" Reading notes, reproduced please indicate the source "Jiq Technical Blog"

The relational database has become a part of the computer culture because of its many advantages:

2 get persisted data

Data can be persisted to disk, and it is easy to access one of the small pieces of data.

2 concurrency

The relational database has the concept of "transaction", which effectively guarantees the consistency of multiple programs accessing the same data, and the acid (atomicity, consistency, isolation, persistence) characteristics of the transaction. I believe everyone is familiar with the heart.

2 Integrated

Different development teams, different platforms, different language applications can share the same data

2 The standard relational model

This is facilitated by the provision of a near-standard, unified relational model

But two reasons make relational databases seem inadequate:

? Impedance detuning

The data structure in memory is far from the relational model, which is called "impedance detuning (impedance mismatch)". Memory structures such as nested records, lists, and so on, need to be converted to "relational" and "tuple" before they can be stored.

? A swarm of swarms

With the rapid increase of network scale, the hardware computing resources "horizontal expansion" has become inevitable, cluster has become a trend, but the relational database is not designed for the cluster, or the use of "shared disk subsystem" to support the cluster file system (disk will become a bottleneck), or logically to the database shard, This allows the load to be distributed across multiple servers, but the application must control all shards, and transactions, consistency, and so on, cannot span shards.

Thus, NoSQL was born.

2 born for a cluster

NoSQL is basically thought of as a cluster (a small number of databases are not), when the amount of data to be processed is large, or grows at a faster rate, and requires high data access efficiency, consider nosql.

2 Impedance detuning

Remember that dealing with "big data" on a cluster is not the only reason for NoSQL, and impedance detuning is another key factor in NoSQL databases where there is no concept of "patterns" in traditional relational databases, and you can add fields without having to define a data storage model beforehand. Ideal for working with irregular data and custom fields, consider NoSQL when you want to improve application development efficiency in a more user-friendly way of interacting with your data.

NoSQL (a) Why choose NoSQL?

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.