ppyordanov / Dynamic-Noise-and-Pollution-Map

A dynamically generated University of Glasgow noise and pollution campus map via the innovative Smart Citizen Kit developed in Barcelona, Spain by FabLab.
0 stars 0 forks source link

Set Up MongoDB #32

Closed ppyordanov closed 9 years ago

ppyordanov commented 9 years ago

_MongoDB_ will be set up in order to run the benchmarks and test its performance against MySQL. This will aid the decision making process regarding database management system choice.

ppyordanov commented 9 years ago
Set up dispatcher servlet to connect to MongoDB /localhost/
Initialised repositories for collection access.

MongoDB documents structure:

DB: ugmap

> db.createCollection("user")
{ "ok" : 1 }
> db.createCollection("device")
{ "ok" : 1 }
> db.createCollection("datareading")
{ "ok" : 1 }
> db.createCollection("route")
{ "ok" : 1 }
ppyordanov commented 9 years ago

MongoDB has been configured to work with Spring MVC.