MongoDB

772 views

Published on

Published in: Spiritual, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
772
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

MongoDB

  1. 1. Outline Introduction Dive-in Scaling MongoDB Ashish Mishra June 16, 2013 Ashish Mishra MongoDB
  2. 2. Outline Introduction Dive-in Scaling 1 Introduction Introduction MongoDB 2 Dive-in Features 3 Scaling Sharding Replication Ashish Mishra MongoDB
  3. 3. Outline Introduction Dive-in Scaling Introduction MongoDB Introduction MongoDB (from ”humongous”) is a scalable, high-performance, open source, schema free, document no-sql oriented database Ashish Mishra MongoDB
  4. 4. Outline Introduction Dive-in Scaling Introduction MongoDB NoSql 1 (NO) SQL 2 (NO) RDBMS 3 (NO) ACID Ashish Mishra MongoDB
  5. 5. Outline Introduction Dive-in Scaling Introduction MongoDB Why? 1 focus on scaling, speed, performance and flexibility Ashish Mishra MongoDB
  6. 6. Outline Introduction Dive-in Scaling Introduction MongoDB Why? 1 focus on scaling, speed, performance and flexibility 2 Not suited for transactional stuff (No ACID) Ashish Mishra MongoDB
  7. 7. Outline Introduction Dive-in Scaling Features Features 1 Document oriented - document are stored in BSON Ashish Mishra MongoDB
  8. 8. Outline Introduction Dive-in Scaling Features Features 2 Schema less - very flexible (no alter table) Ashish Mishra MongoDB
  9. 9. Outline Introduction Dive-in Scaling Features Features 3 Understand JSON natively Ashish Mishra MongoDB
  10. 10. Outline Introduction Dive-in Scaling Features Features 1 Collection (think table) 2 Document (think row) 3 Document can have multiple field Ashish Mishra MongoDB
  11. 11. Outline Introduction Dive-in Scaling Features Queries 1 Query return cursor (not records) 2 Iterate over the result set Ashish Mishra MongoDB
  12. 12. Outline Introduction Dive-in Scaling Sharding Replication Sharding 1 Easier horizontal scaling Ashish Mishra MongoDB
  13. 13. Outline Introduction Dive-in Scaling Sharding Replication Sharding 1 Easier horizontal scaling 2 Mongo Config Server(s) handles distribution, balancing Ashish Mishra MongoDB
  14. 14. Outline Introduction Dive-in Scaling Sharding Replication Replication 1 Duplicating data (Failover) Ashish Mishra MongoDB
  15. 15. Outline Introduction Dive-in Scaling Sharding Replication Replication 1 Duplicating data (Failover) 2 Increase Reliability Ashish Mishra MongoDB
  16. 16. Outline Introduction Dive-in Scaling Sharding Replication Thank you Questions? Ashish Mishra MongoDB

×