PART-I : MongoDB Introduction
PART-II : Mongo DB Installation in Windows -7 64 bit OS
PART-I : MongoDB Introduction
MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling.
It is a NoSQL database
MongoDB structure in favor of JSON(JavaScript Object Notation - http://www.json.org/)-like documents with dynamic schemas (MongoDB calls the format BSON- http://bsonspec.org/).
Learn MongoDB online here: http://try.mongodb.org/
Keywords we can exchange from SQL to NoSQL
RDBMS | MongoDB |
---|---|
Database | Database |
Table | Collection |
Tuple/Row | Document |
column | Field |
Table Join | Embedded Documents |
Primary Key | Primary Key (Default key _id provided by mongodb itself) |
PART-II : MongoDB Installation in Windows 7 64 bit OS
1. Download MongoDB from here
2. Create a folder mongodb in C drive (i.e., C:\mongodb)
3. Extract(unzip) the downloaded zip file to this folder(i.e., C:\mongodb\mongodb-win32-x86_64-2008plus-2.4.8)
4. Create a folder data either in C drive or D drive(Which ever drive you want to). C drive is preferable.(i.e, C:\data)
5. Create a sub folder db in data folder. i.e, (C:\data\db)
6. Open command prompt in Admin mode.
7. Navigate up to bin from the mongodb installed folder(i.e., C:\mongodb\mongodb-win32-x86_64-2008plus-2.4.8\bin).
8 . Issue mongod.exe command (i.e., C:\mongodb\mongodb-win32-x86_64-2008plus-2.4.8\bin\mongod.exe)
9. Open another command prompt in Admin mode
Issue mongo.exe command
NOTE:
1) test is a database which is default for MongoDB
2) Default port number for MongoDB is :
27017: the default port accessed by the various MongoDB drivers.
28017: a port that handles HTTP requests and provides some general monitoring.
Reference
:
No comments:
Post a Comment