Database Reference
In-Depth Information
MongoDB
License
Free Software Foundation's GNU AGPL v3.0.; commercial licenses available from Mon-
goDB, Inc.
Activity
High
Purpose
JSON document-oriented database
Official Page
http://www.mongodb.org
Hadoop Integra-
tion
API Compatible
If you have a large number of JSON documents (described here ) in your Hadoop cluster and
need some data management tool to effectively use them, consider MongoDB, an open
source, big data, document-oriented database whose documents are JSON objects. At the
start of 2015, it is one of the most popular NoSQL databases. Unlike some other database
systems, MongoDB supports secondary indexes—meaning it is possible to quickly search on
other than the primary key that uniquely identifies each document in the Mongo database.
The name derives from the slang word “humongous,” meaning very, very large. While Mon-
goDB did not originally run on Hadoop and the HDFS, it can be used in conjunction with
Hadoop.
MongoDB is a document-oriented database, the document being a JSON object. In relational
databases, you have tables and rows. In MongoDB, the equivalent of a row is a JSON docu-
ment, and the analog to a table is a collection, a set of JSON documents. To understand Mon-
goDB, you should skip ahead to “JSON” of this topic.
Perhaps the best way to understand its use is by way of a code example, shown in the next
“Example Code” section.
 
Search WWH ::




Custom Search