MongoDB is an open source document-oriented data model. It was developed and supported by a company named 10gen. It is built for scalability, performance, and high availability from a single server deployment to large and complex multi-site infrastructures.
Features of MongoDB:
1. Ad-hoc Queries:
The fields in a MongoDB document can be indexed with primary and secondary indices.
It provides high availability with replica sets. A replica set consists of two or more copies of data.
4. Load balancing:
It has automatic load balancing configuration as data placed in shards.
5. File Storage:
It can be used as a file system with load balancing and data replication features over multiple machines for storing files.
Advantages of MongoDB:
MapReduce can be used for batch processing of data and aggregation operations.
3. Capped applications:
It supports capped applications. Capped applications are fixed-size collections. This type of collection maintains insertion order and if once the specified size has been reached, then it behaves like a circular queue.
Disadvantages of MongoDB:
The data size in MongoDB is high due to document name field.
Ata single document level, only atomic operations are supported and there is no support for transactions.
The map reducing concept is slower and it may require Hadoop added into the mix.