MySQL and NoSQL pros and cons

Source: Internet
Author: User
Tags joins

relational database

<1> relational databases are characterized by:

-The data relationship model is based on the relational model, structured storage, and integrity constraints.

-based on the two-dimensional table and the connection between, need to connect, and, intersection, difference, and other data operations.

-Use Structured Query Language (SQL) to read and write data.

-Operations require data consistency, requiring transactional or even strong consistency.

<2> Advantages:

-Maintain data consistency (transaction processing)

-You can make complex queries such as joins.

-Universal, mature technology.

<3> Disadvantages:

-Data read and write must be parsed by SQL, a large amount of data, high concurrency under low read and write performance.

-to read and write data, or to modify the structure of the need to lock, affecting concurrent operations.

-Unable to adapt to unstructured storage.

-Extended difficulty.

-Expensive and complex.


NoSQL Database

The <1>nosql database is characterized by:

-Unstructured storage.

-based on multidimensional relationship model.

-Has a unique usage scenario.

<2> Advantages:

-High concurrency, strong reading and writing ability under big data.

-Basic support for distributed, easy to scale, scalable.

-Simple, weakly structured storage.

<3> Disadvantages:

-complex operations such as joins are weak.

-Transaction support is weak.

-Poor versatility.

-Poor support for complex business scenarios without complete constraints.

Although in the era of cloud computing, traditional database has a congenital disadvantage, but NoSQL database can not replace it, NoSQL can only be used as a supplement to the traditional data can not be replaced, so the disadvantage of avoiding the traditional database is the problem that the big data age must solve.


This article is from the DBA Sky blog, so be sure to keep this source http://9425473.blog.51cto.com/9415473/1661575

MySQL and NoSQL pros and cons

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.