Introduction of Mongo DB
Mongo DB is developed by Mongo DB Inc and is published under a combination of the Server Side Public License and the Apache License it is a cross-platform document oriented database which provides, high performance, high availability, and easy scalability and supported by a company named 10gen. It works on concept of collection and document.
Mongo DB is the database program that is
§ Free
§ Open Source
§ Cross Platform
§ Document Oriented
§ NoSQL (Not only SQL)
§ Mongo DB is written in C++ language.
How Mongo DB is way better than Relational Databases
§ Structured Data – MongoDB may easily handle structured data(like a spread-sheet or table), semi structured data and unstructured data (data with no rules, examples are multimedia content).
§ Agile Development – All the NoSQL features of MongoDB makes it perfect fit for Agile methodology for developing applications. Modern applications are designed to have fewer development time and quick updates to the ever ending requirements.
§ Scalability – Mongo DB is horizontally scalable and thus can respond to the increasing application requirements with less cost.
Some other features of Mongo DB
§ Replication – You can setup replication of data or information between Mongo DB instances. When an instance goes down than the other instance can handle the requests with same data available.
§ Map Reduce – You can apply Map Reduce algorithm in the Mongo DB Collections to pull out some useful reports.
Applications of MongoDB
Application of MongoDB that are known in production:
1. Analyzing Application Logs MongoDB is schema-less feature makes it a best fit for analyzing application logs where record schema may change from time to time.
2. Automatic Purging Capped Collection of Mongo DB helps to remove old records automatically.
Where to Use Mongo Database?
- Big Data
- Content Management and Delivery
- Mobile and Social Infrastructure
- User Data Management
- Data Hub