Last blog We lied about what is nosql. We have a comprehensive understanding of NoSQL, starting from this blog, will lead everyone into the MongoDB world, we begin to introduce MongoDB.
What is MongoDB?
We look directly at the MongoDB official website of the most authoritative explanation: MongoDB (from "humongous") is a Open-source document database, and the leading NoSQL database. Written in C + +.
Translation: MongoDB's name comes from "humongous" (not knowing what), it is an open source, document-oriented database, and is a leading non relational database. MongoDB is written by the C + + language,
MongoDB is a cross-platform, document-oriented database that delivers high performance, high availability, and scalability.
Why do you use MongoDB?
1, document-oriented Storage (document-oriented storage)
2, full index Support (indexed to any attribute)
3, Replication&high Availability (copy and high availability)
4, auto-sharding (automatic fragmentation)
5, quering (Rich query)
6, Fast In-place Updates (fast update)
Advantages of MongoDB than RDBMS
1. Schema: MongoDB is a document-type database in which a collection holds different files. The number of fields, the content, and the size of the file can be different from copying from one file to another.
2, a single object is clear structure.
3, no complex connection
4, deep inquiry ability. MONGODB supports dynamic queries using a document-based query language, such as SQL's almost as powerful file
5, tuning
6, easy to scale: MongoDB is easy to expand
7. Application Object Conversion/mapping that does not require database objects
8. Use internal memory Storage (window) workgroup to achieve faster data access
Any relational database with a typical architectural design that shows the relationship between the tables and the tables. Although in MongoDB, there is no concept of relationship.
MongoDB under what circumstances.
1. Large Data
2. Content Management and delivery
3, mobile and social infrastructure
4, User Data management
5. Data platform
Summarize
MongoDB is a pioneer of non relational database, which has epoch-making significance. In the next chapter, we introduce the download and installation of MongoDB.