Database Reference
In-Depth Information
Entering MongoDB
A very popular NoSQL database that is being used more and more in the NoSQL commu-
nity is MongoDB. MongoDB is a document-oriented database system that uses JSON-like
documents with dynamic schemas. For more information on MongoDB, see
ht-
tp://en.wikipedia.org/wiki/MongoDB
.
MongoDB can be found at
http://www.mongodb.org/
and the installation instructions for Windows can be found at
http://docs.mongodb.org/
manual/tutorial/install-mongodb-on-windows
.
MongoDB is written in C++, is open source,
uses the Apache open source license that most Apache Foundation products run under, and
is cross-platform.
To install MongoDB on Windows, download the installation file, which will install it today
at
C:\Program Files\MongoDB 2.6 Standard
. To start the installation, open a
command prompt, change the directory to
C:\Program Files\MongoDB 2.6
Standard\bin
, create the database directory using
md \data\db
, and start the data-
base via
mongod.exe
.
We can check on the database by running many MongoDB tools listed at
ht-
dows
. One of the many tools is UMongo, which is cross-platform and built in Java; for
scription tables in the publish/subscribe example.