MongoDB is?
MongoDB is a database based on Distributed file storage
Written by C + +
Designed to deliver scalable, high-performance data storage solutions for WEB applications
is a product between a relational database and a non-relational database, the most versatile of the non-relational databases, most like relational databases.
Is NoSQL (NoSQL = not-only sql), meaning "not just sql."
MongoDB is a document-type NoSQL. Features: stored in a JSON-like format, the stored content is document-based, thus having the opportunity to index certain fields and implement certain functions of the relational database.
NoSQL is used for storage of hyper-scale data. (for example, Google or Facebook collects trillions of bits of data for their users every day). These types of data stores do not require a fixed pattern and can be scaled horizontally without extra action.
Advantages and disadvantages of distributed computing
Advantages
- Reliability
- Scalability
- Resource sharing
- Flexibility
- Faster speed
- Open Systems
- Higher performance
Disadvantages
- Trouble shooting
- Software (less software to support distributed)
- Network (Network infrastructure issues: transmission problems, high load, information loss, etc.)
- Security
Why use NoSQL
Today we can easily access and crawl data through third-party platforms (e.g., google,facebook, etc.). User's personal information, social network, geographical location, user generated data and user operation log have multiplied. If we want to dig these user data, the SQL database is not suitable for these applications, and the development of NoSQL database can handle these big data very well.
MongoDB is?