Introduction to MongoDB Nosh Petigara Director of Product Strategy [email_address] @noshinosh
MongoDB: The basics <ul><li>Motivation & use cases </li></ul><ul><li>The document model </li></ul><ul><li>Flexible queries...
The Great Divide MongoDB sweet spot: Easy, Flexible, Scalable
Use Cases <ul><li>RDBMS replacement for high-traffic web applications </li></ul><ul><li>Semi-structured content management...
Selected Users
Understanding the Document Model { _id :“A4304” author : “nosh”, date : 22/6/2010, title : “Intro to MongoDB” text : “Mong...
Document Model Makes Queries Simple db.posts.find({author: “nosh”,  tags: “webinar”}) Operators: $gt, $lt, $gte, $lte, $ne...
Atomic Operations makes Updates Simple db.posts.update({_id:A4304},  {title: “Intro to MongoDB(updated)”,  text: “MongoDB ...
Under the hood <ul><li>Written in C++ </li></ul><ul><li>Available on most platforms </li></ul><ul><li>Data serialized to B...
Some Other Cool Features <ul><li>Geo-spatial indexes </li></ul><ul><ul><li>$near </li></ul></ul><ul><li>GridFS </li></ul><...
Single Master Deployments <ul><li>Configure as a replica set for automated failover </li></ul><ul><li>Add more secondaries...
Auto Sharded Deployment <ul><li>Autosharding distributes data among two or more replica sets </li></ul><ul><li>Mongo Confi...
Next Steps <ul><li>http://mongodb.org </li></ul><ul><li>@mongodb </li></ul><ul><li>http://10gen.com/events </li></ul><ul><...
Upcoming SlideShare
Loading in...5
×

Introduction to MongoDB (Webinar Jan 2011)

2,549

Published on

Nosh Petigara's presentation on January 10, 2011

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,549
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
99
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introduction to MongoDB (Webinar Jan 2011)

  1. 1. Introduction to MongoDB Nosh Petigara Director of Product Strategy [email_address] @noshinosh
  2. 2. MongoDB: The basics <ul><li>Motivation & use cases </li></ul><ul><li>The document model </li></ul><ul><li>Flexible queries and updates </li></ul><ul><li>Deployment architecture </li></ul>
  3. 3. The Great Divide MongoDB sweet spot: Easy, Flexible, Scalable
  4. 4. Use Cases <ul><li>RDBMS replacement for high-traffic web applications </li></ul><ul><li>Semi-structured content management </li></ul><ul><li>Real-time analytics & high-speed logging </li></ul><ul><li>Web Infrastructure </li></ul>Web 2.0, Media, SaaS, Gaming Finance, Telecom, Healthcare, Goverment
  5. 5. Selected Users
  6. 6. Understanding the Document Model { _id :“A4304” author : “nosh”, date : 22/6/2010, title : “Intro to MongoDB” text : “MongoDB is an open source..”, tags : [“webinar”, “opensource”] comments : [{author: “mike”, date: 11/18/2010, txt: “Did you see the…”, votes: 7},….] } Documents->Collections->Databases
  7. 7. Document Model Makes Queries Simple db.posts.find({author: “nosh”, tags: “webinar”}) Operators: $gt, $lt, $gte, $lte, $ne, $all, $in, $nin, count, limit, skip, group Where is my join??!!
  8. 8. Atomic Operations makes Updates Simple db.posts.update({_id:A4304}, {title: “Intro to MongoDB(updated)”, text: “MongoDB is a scalable..”}, ${addToSet: {tags: “mongodb”}}) $set, $unset $push, $pop, $pull, $addToSet $inc Where is my transaction??
  9. 9. Under the hood <ul><li>Written in C++ </li></ul><ul><li>Available on most platforms </li></ul><ul><li>Data serialized to BSON </li></ul><ul><li>Extensive use of memory-mapped files </li></ul>
  10. 10. Some Other Cool Features <ul><li>Geo-spatial indexes </li></ul><ul><ul><li>$near </li></ul></ul><ul><li>GridFS </li></ul><ul><ul><li>Store large binary files </li></ul></ul><ul><li>Capped Collections </li></ul><ul><ul><li>Fixed-space FIFO collections </li></ul></ul>
  11. 11. Single Master Deployments <ul><li>Configure as a replica set for automated failover </li></ul><ul><li>Add more secondaries to scale reads </li></ul>Primary/Master Secondary/Slave
  12. 12. Auto Sharded Deployment <ul><li>Autosharding distributes data among two or more replica sets </li></ul><ul><li>Mongo Config Server(s) handles distribution & balancing </li></ul><ul><li>Transparent to applications </li></ul>Primary/Master Secondary/Slave MongoS Mongo Config
  13. 13. Next Steps <ul><li>http://mongodb.org </li></ul><ul><li>@mongodb </li></ul><ul><li>http://10gen.com/events </li></ul><ul><li>[email_address] </li></ul><ul><li>@noshinosh </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×