Techopedia Explains MongoDB
MongoDB was first developed by MongoDB Inc., known then as 10gen, in October 2007 originally as a major part in a PaaS (Platform as a Service) product similar to Windows Azure and Google App Engine. The development was shifted to open source in 2009.
MongoDB became one of the most popular NoSQL databases, being used as the backend for many major websites including eBay, Craigslist, SourceForge and The New York Times
. MongoDB is available under the GNU Affero General Public License while its language drivers are available under the Apache License. There are also commercial licenses being offered.
- Ad hoc queries - supports search by field, regular expression searches, and range queries.
- Indexing - any field in the BSON document can be indexed.
- Replication - provides high availability via replica sets which consists of two or more copies of the original data.
- Load balancing - sharding is the method used to allow MongoDB to scale horizontally, meaning that data will be distributed and split into ranges and then stored in different shards which can be located in different servers. Shard keys are used to determine how the data will be distributed.
- Aggregation - MapReduce can be applied to enable batch processing of data as well as perform aggregation operations.
- File storage - MongoDB can be used as file system which makes use of the above functions and acting in a distributed manner through sharding.