First knowledge of MongoDB

Source: Internet
Author: User

When talking about big data and unstructured data, if you only know Oracle, MSSQL, MySQL, and other relational databases, but do not know anything about non-relational databases such as MongoDB, it seems a little out of sync with the times. In view of this, I began to study MongoDB, in order to solve the storage and retrieval of non-formatted big data.

1. What is MongoDB?
MongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for Web applications.

2. What are the differences between MongoDB and other relational databases?
MongoDB is a product between relational databases and non-relational databases. It has the most abundant functions and features like relational databases.
It supports loose data structures and is similar to the JSON bson format. Therefore, it can store complex data types.

MongoDB does not have the table and row concepts, but has the collection and document definitions. The effect of MongoDB and other relational databases is as follows:

Document
----------> Row
Collection
----------> Table
Database
----------> Database

3. MongoDB features
The biggest feature of Mongo is its powerful query language,
Its syntax is a bit similar to the Object-Oriented Query Language. It can almost implement a vast majority of functions similar to the single-Table query of relational databases, and supports data indexing.

4. MongoDB Retrieval
The MongoDB retrieval method is similar to that of other relational databases, but the syntax is different. In some cases, the retrieval function of MongoDB is more powerful than that of relational databases. Of course, this is also related to the MongoDB storage method.

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.