Mongo DB
Mongo DB
Sunil Sinha
What is MongoDB ?
Simple
Dynamic
Document oriented
Scalable
NoSQL database
Object-Oriented
RDBMS Table : Employee
{
"firstname" : "Thomas",
"lastname" : "Smith",
"age" : 29
}
Terminology and Concepts
RDMBS DB MongoDB
Database Database
Table Collection
Index Index
Row Document
Column Field
Joining Linking & Embedding
Partition Sharding (Range Partition)
Replication ReplSet
Installation
Visit
https://docs.mongodb.com/manual/installation/.
Install the Enterprise version of MongoDB.
Download and run the .msi Windows installer ( with
admin access) from mongodb.org/downloads.
Replication
Sharding
Sharding
Why Mongo DB ?
high performance
high availability
automatic scaling
simple installation and implementation
Structured , semi structured and non-structured data
support Windows, Linux, Mac OS X and Solaris
Cons
Not strongly ACID-compliant (Atomic, Consistency,
Isolation, Durability)
Not recommended for Defined Complex transactions
No function or stored procedure exists
Not recommended for highly transactional systems
Not recommended for tightly coupled systems