Monday, June 2, 2014

Get Started with MongoDB

Installation Guide:
http://www.mkyong.com/mongodb/how-to-install-mongodb-on-mac-os-x/

Installation File Manifest:
MongoDB  Version:2.4.8
Mongo Client on MAC:
Umongo


Start MongoDB:
mongod --dbpath 
/Users/502329397/Documents/install/mongodb-osx-x86_64-2.6.3/data

Run MongoDB:
db, show dbs, use test, show collections, db.Alerts.find()

Aspects:
1.  Install Database
2.  Design Data Model
3.  Do CRUD Functionality with Spring Data
4.  Functions - Aggregations
5.  Administrate
6.  Security
7.  Clustering - Sharding, Replication,
8.  Performance - Index,
9.  Deployment
10.  Infrastructure

References:
https://github.com/agirbal/umongo
Documentation in official website
How to install mongodb
SQL to MongoDB Mapping

Issues:
Issue 1: Can't run umongo on Java 1.6
Solution:
Run mongodb from command line
On any platform you can run UMongo from the command line. Open a terminal and go to UMongo's directory in which umongo.jar is present and run:
> java -jar umongo.jar
https://github.com/agirbal/umongo






No comments:

Post a Comment