Skip to content
Search

MongoDB

lastmod 2026-01-31created 2015-05-0117 edits

MongoDB (from HUMONGOUS) is a cross-platform document-oriented database system. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls this format BSON). This makes data integration easier and faster for certain types of applications. Released under a combination of the Affero GPL and the Apache License, MongoDB is free and open-source software.

It was first developed in October 2007 by 10gen (now MongoDB), a New York City-based company, as a component of a planned PaaS (platform as a service) product, and moved to an open-source development model in 2009, when 10gen began offering commercial support and other services. Since then, MongoDB has been adopted as backend software by numerous major websites and services such as Craigslist, eBay, Foursquare, SourceForge, and The New York Times. MongoDB is the most popular NoSQL database system.

Categories

  • Sift - using MongoDB queries in JS
  • MangoDB - open-source alternative to MongoDB
  • Pongo - Postgres-based Mongo with Strong Consistency
  • pymongo - Python library

MongoDB Atlas Database

Seems to be a Cloud Computing service run by the official MongoDB site. The free tier offers 500MB.

How to install

Import the public key used by the package management system:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

Ubuntu 12.04:

echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

Ubuntu 14.04:

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

Install MongoDB:

sudo apt-get update
sudo apt-get install -y mongodb-org

Pros and cons

View

See also

Favorite site

author Zer0 sitemap