2. What is MongoDB?
MongoDB is the web-age *NOSQL
Database that is
high-performance
web-scale
Document Oriented
schema-free
open-source
* NOSQL == Non-SQL or non-RDBMS
3. Why MongoDB?
MongoDB is designed to eliminate the pains
with RDBMSs like
performance –degradation with multi-table
joins
by allowing embedded documents and arrays
faster distributed queries & in-place updates
complex scalability and availability
architectures
by replicated servers with automatic master
failover
automatic sharding (partitioning) and read-
write distribution over shards
schema-evolution and data integrity loops
schema-free design allows easier
evolution/changes
4. Where is MongoDB used?
Best Answer : Everywhere!
Yup ! That’s pretty much correct!
OLAP & OLTP Applications are using mongoDB
5. Forbidden land for MongoDB?
• Legacy SQL crunchers & SQL
mindset/baggage no good for Mongo!
• Too much transactional operations a no-no
for Mongo!
– For example banking, and accounting
operations
• Where Reporting needs are too extensive
and mission critical
6. MongoDB Data Model
Databases Database
Collections collection collection collection
Documents Document Document Document Document Document
key -
Key-value Key-value Key-value Key-value
value
Key -> a string
Values – String, Float, Binary, date-
time, Integer etc
7. MongoDB Features at a glance
NOSQL
Document
Easy Data Model
Aggregation (with
Mongo
JSON/BSON)
DB
Auto-
Secondary
Sharding &
indexes &
Schema-free Automatic
rich query
language master
failover
8. more Mongo?
• for database software visit
www.mongodb.org
– For training/consultation in India
contact@vulcanminds.com