Your SlideShare is downloading. ×
0
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Introduction to MongoDB (Webinar Jan 2011)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to MongoDB (Webinar Jan 2011)

2,538

Published on

Nosh Petigara's presentation on January 10, 2011

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,538
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
99
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduction to MongoDB Nosh Petigara Director of Product Strategy [email_address] @noshinosh
  • 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. The Great Divide MongoDB sweet spot: Easy, Flexible, Scalable
  • 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. Selected Users
  • 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. 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. 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. 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. 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. 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. 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. 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>

×