"MongoDB is an open-source document database that provides
high performance, high availability, and easy scalability. Documents (objects)
map nicely to programming language data types. Embedded documents and arrays
reduce need for joins."
Other words:
"A MongoDB deployment hosts a number of databases.
database holds a set of collections. collection holds a set of
documents.document is a set of key-value pairs. Documents have dynamic schema.
Dynamic schema means that documents in the same collection do not need to have
the same set of fields or structure, and common fields in a collection’s
documents may hold different types of data."
Document Database
A record in MongoDB is a document, which is a data structure
composed of field (Key) and value pairs. MongoDB documents are similar to JSON
objects. The values of fields may include other documents, arrays, and arrays
of documents.A MongoDB document.
{
"name":"Rossum",
"age":54,
"status":true,
"groups":["news","sports"],
}
The advantages of using documents are:
- Documents (i.e. objects) correspond to native data types in many programming languages.
- Embedded documents and arrays reduce need for expensive joins.
- Dynamic schema supports fluent polymorphism.
- It is in document (Json) format, so there is no problem with join tables that’s why it’s speed is very fast rather then other database like Msql, Sqlserver and others.
Key Features
·
High Performance
·
High Availability
·
Automatic Scaling
·
Flexibility
·
Ease of use
·
Power
Installation of MongoDB
First download mongoDB for different OS then go through below
steps
Install on Windows
MongoDBDownload- 64-bit zip
| msi
Install on Linux
Install on Mac
Install on Solarisis
If you want previous release then click on below link
Steps:
- Now download it and extract it in any directory for linux, mac, solorisis and install msi for windows.
- Open terminal and go through same directory where mongoDB extract by cd command
- Type this command Python setup.py install
Now MongoDB is
installed successfully . If you want to see mongodb UI interface then download
below download and install the it will
show UI interface on your system for MongoDB.
Robomongo-this
is for MongoDB UI interface. There are number of UI interface but according to
me it’s good.
No comments:
Post a Comment