Database Reference
In-Depth Information
Scalability of NoSQL and Relational Models
NoSQL
Relational
Data Size
Fig. 3.1
Comparison of traditional relational model with NoSQL model. As data grows to a large
capacity, the NoSQL database outpaces the relational model
Speed.
Figure
3.1
shows a comparison of query speed between the relational
model and MongoDB.
In addition to these abilities, it also works well in a single-instance environment,
making it easy to set up on a home computer and run the examples in this chapter.
3.2
Setting Up MongoDB on a Single Node
The most simple configuration of MongoDB is a single instance running on one
machine. This setup allows for access to all of the features of MongoDB. We use
MongoDB 2.4.4,
2
the latest version at the time of this writing.
Installing MongoDB on Windows
®
3.2.1
1. Obtain
the
latest
version
of
MongoDB
from
2. Rename the extracted folder to
mongodb
.
3. Create a folder called
data
next to the
mongodb
folder.