SQL and NoSQL differences

Source: Internet
Author: User
Tags mongodb

Database classification

one, SQL database:mysql

SQL Cons:

1, in many cases, timely access, is not necessary.

2, a lot of things need

3, consumption performance.

Two, NoSQL database:redis,mongodb

Gave up 3 points.

1, real-time consistency.

2, things

3, multi-table joint query.

MongoDB feature 1, no data structure limitations

A, without the concept of a table structure, each record can have a completely different structure
B, business development is convenient and quick.
The C,sql database needs to implement a definition table structure and reuse it.

2, full index support
Single-piece index,
Array index,
Full-Text indexing,
Location Index

3, easy to expand
Replication sets ensure data security
Shard Scale Data size

  

SQL and NoSQL differences

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.