SlideShare a Scribd company logo
Intro to MongoDB
         Alex Sharp


         twitter: @ajsharp
         email: ajsharp@frothlogic.com


Monday, February 22, 2010
So what is MongoDB?




Monday, February 22, 2010
First and foremost...




Monday, February 22, 2010
IT’S THE NEW HOTNESS!!!




Monday, February 22, 2010
omgomgomg
                            SHINY OBJECTS
                             omgomgomg


Monday, February 22, 2010
MongoDB (from "humongous") is a
            scalable, high-performance, open source,
                schema-free, document-oriented
                             database.
                          - mongodb.org



Monday, February 22, 2010
Philosophy


Monday, February 22, 2010
Philosophy



                            “One size ïŹts all” approach no longer applies




Monday, February 22, 2010
Philosophy



          Non-relational DBs scale more easily, especially horizontally




Monday, February 22, 2010
Philosophy



                Focus on speed, performance, ïŹ‚exibility and scalability




Monday, February 22, 2010
Philosophy



                   Not concerned with transactional stuff and relational
                                       semantics




Monday, February 22, 2010
Philosophy



                 DBs should be an on-demand commodity, in a cloud-
                                    like fashion




Monday, February 22, 2010
Philosophy
               Mongo tries to achieve
               the performance of
               traditional key-value
               stores while
               maintaining
               functionality of
               traditional RDBMS




Monday, February 22, 2010
Features


Monday, February 22, 2010
Features
               Standard database stuff




Monday, February 22, 2010
Features
               Standard database stuff
                     Indexing




Monday, February 22, 2010
Features
               Standard database stuff
                     Indexing
                     replication/failover support




Monday, February 22, 2010
Features: Document Storage



               Documents are stored in BSON (binary JSON)




Monday, February 22, 2010
Features: Document Storage



               BSON is a binary serialization of JSON-like objects




Monday, February 22, 2010
Features: Document Storage



               This is extremely powerful, b/c it means mongo
               understands JSON natively




Monday, February 22, 2010
Features: Document Storage



               Any valid JSON can be easily imported and queried




Monday, February 22, 2010
Features


               Schema-less; very ïŹ‚exible




Monday, February 22, 2010
Features


               Schema-less; very ïŹ‚exible
               no more blocking ALTER TABLE




Monday, February 22, 2010
Features



               Auto-sharding (alpha)




Monday, February 22, 2010
Features



               Makes for easy horizontal scaling




Monday, February 22, 2010
Features



               Map/Reduce




Monday, February 22, 2010
Features



               Very, very fast




Monday, February 22, 2010
Features



               Super easy to install




Monday, February 22, 2010
Features



               Strong with major languages




Monday, February 22, 2010
Features



               Document-oriented = ïŹ‚exible




Monday, February 22, 2010
Features: Querying
               Rich, javascript-based query syntax




Monday, February 22, 2010
Features: Querying
               Rich, javascript-based query syntax
                     Allows us to deep, nested queries




Monday, February 22, 2010
Features: Querying
               Rich, javascript-based query syntax
                     Allows us to do deep, nested queries

                     db.order.find( { shipping: { carrier: "usps" } } );




Monday, February 22, 2010
Features: Querying
               Rich, javascript-based query syntax
                     Allows us to deep, nested queries

                     db.order.find( { shipping: { carrier: "usps" } } );




                    shipping is an embedded document (object)




Monday, February 22, 2010
Features: Binary Object Store
               EfïŹcient binary large object store via GridFS




Monday, February 22, 2010
Features: Binary Object Store
               EfïŹcient binary large object store via GridFS
                     i.e. store images, videos, anything




Monday, February 22, 2010
Concepts


Monday, February 22, 2010
Concepts: Document-oriented
               Think of “documents” as database records




Monday, February 22, 2010
Concepts: Document-oriented
               Think of “documents” as database records
               Documents are basically just JSON objects that Mongo
               stores in binary




Monday, February 22, 2010
Concepts: Document-oriented
               Think of “collections” as database tables




Monday, February 22, 2010
Concept Mapping
             RDBMS (mysql, postgres)   MongoDB


                            Tables     Collections




Monday, February 22, 2010
Concept Mapping
             RDBMS (mysql, postgres)           MongoDB


                               Tables         Collections


                            Records/rows   Documents/objects




Monday, February 22, 2010
Concept Mapping
             RDBMS (mysql, postgres)             MongoDB


                               Tables            Collections


                            Records/rows    Documents/objects


                Queries return record(s)   Queries return a cursor



Monday, February 22, 2010
Concept Mapping
             RDBMS (mysql, postgres)              MongoDB


                               Tables            Collections


                            Records/rows      Documents/objects


            Queries return record(s)       Queries return a cursor



Monday, February 22, 2010
                                        ???
Concepts: Cursors
               Queries return “cursors” instead of collections




Monday, February 22, 2010
Concepts: Cursors
               Queries return “cursors” instead of collections
                     A cursor allows you to iterate through the result set




Monday, February 22, 2010
Concepts: Cursors
               Queries return “cursors” instead of collections
                     A cursor allows you to iterate through the result set
                     A big reason for this is performance




Monday, February 22, 2010
Concepts: Cursors
               Queries return “cursors” instead of collections
                     A cursor allows you to iterate through the result set
                     A big reason for this is performance
                     Much more efïŹcient than loading all objects into
                     memory




Monday, February 22, 2010
Concepts: Cursors
               The ïŹnd() function returns a cursor object




Monday, February 22, 2010
Concepts: Cursors
               The ïŹnd() function returns a cursor object

                  var cursor = db.logged_requests.find({ 'status_code' : 200 })

                  cursor.hasNext() // "true"

                  cursor.forEach(
                     function(item) {
                       print(tojson(item))
                     }
                  );

                  cursor.hasNext() // "false"




Monday, February 22, 2010
Cool Features


Monday, February 22, 2010
Cool Features
               Capped collections




Monday, February 22, 2010
Cool Features
               Capped collections
                     Fixed-sized, limited operation, auto-LRU age-out
                     collections




Monday, February 22, 2010
Cool Features
               Capped collections
                     Fixed-sized, limited operation, auto-LRU age-out
                     collections
                     Fixed insertion order




Monday, February 22, 2010
Cool Features
               Capped collections
                     Fixed-sized, limited operation, auto-LRU age-out
                     collections
                     Fixed insertion order
                     Super fast




Monday, February 22, 2010
Cool Features
               Capped collections
                     Fixed-sized, limited operation, auto-LRU age-out
                     collections
                     Fixed insertion order
                     Super fast
                     Ideal for logging and caching




Monday, February 22, 2010
Cool Uses
               Data Warehouse
                     Mongo understands JSON natively




Monday, February 22, 2010
Cool Uses
               Data Warehouse
                     Mongo understands JSON natively
                     Very powerful for analysis




Monday, February 22, 2010
Cool Uses
               Data Warehouse
                     Mongo understands JSON natively
                     Very powerful for analysis
                     Query a bunch of data from some web service




Monday, February 22, 2010
Cool Uses
               Data Warehouse
                     Mongo understands JSON natively
                     Very powerful for analysis
                     Query a bunch of data from some web service
                     Import into mongo (mongoimport -f ïŹlename.json)




Monday, February 22, 2010
Cool Uses
               Data Warehouse
                     Mongo understands JSON natively
                     Very powerful for analysis
                     Query a bunch of data from some web service
                     Import into mongo (mongoimport -f ïŹlename.json)
                     Analyze to your heart’s content




Monday, February 22, 2010
Cool Uses
               Harmonyapp.com
                     Large rails app for building websites (kind of a CMS)




Monday, February 22, 2010
Cool Uses
               Hardcore debugging
                     Spit out large amounts of data




Monday, February 22, 2010
Limitations
               Transaction support




Monday, February 22, 2010
Limitations
               Transaction support
               Relational integrity




Monday, February 22, 2010
Resources

               http://mongodb.org
                     http://www.mongodb.org/display/DOCS/Tutorial
                     http://www.mongodb.org/display/DOCS/Use+Cases
               http://blog.mongodb.org/post/172254834/mongodb-
               is-fantastic-for-logging
               http://github.com/ajsharp/mongo-conf



Monday, February 22, 2010

More Related Content

What's hot (20)

PPTX
Getting started with postgresql
botsplash.com
 
PPTX
Introduction to NoSQL Databases
Derek Stainer
 
PPTX
Introduction to MongoDB.pptx
Surya937648
 
PPTX
Basics of MongoDB
HabileLabs
 
PPTX
MongoDB 101
Abhijeet Vaikar
 
PPTX
Document Database
Heman Hosainpana
 
ZIP
NoSQL databases
Harri Kauhanen
 
PPTX
The Basics of MongoDB
valuebound
 
PDF
An introduction to MongoDB
César Trigo
 
PPTX
6.hive
Prashant Gupta
 
PPTX
Couch db
amini gazar
 
PDF
Get to know PostgreSQL!
OddbjĂžrn Steffensen
 
PDF
Mongo DB: Operational Big Data Database
Xpand IT
 
PPTX
Dockers and containers basics
Sourabh Saxena
 
PPT
9. Document Oriented Databases
Fabio Fumarola
 
PPTX
MongoDB.pptx
Sigit52
 
PDF
MongoDB Sharding Fundamentals
Antonios Giannopoulos
 
PPTX
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Simplilearn
 
PDF
Intro to HBase
alexbaranau
 
PDF
Containers: The What, Why, and How
Sneha Inguva
 
Getting started with postgresql
botsplash.com
 
Introduction to NoSQL Databases
Derek Stainer
 
Introduction to MongoDB.pptx
Surya937648
 
Basics of MongoDB
HabileLabs
 
MongoDB 101
Abhijeet Vaikar
 
Document Database
Heman Hosainpana
 
NoSQL databases
Harri Kauhanen
 
The Basics of MongoDB
valuebound
 
An introduction to MongoDB
César Trigo
 
6.hive
Prashant Gupta
 
Couch db
amini gazar
 
Get to know PostgreSQL!
OddbjĂžrn Steffensen
 
Mongo DB: Operational Big Data Database
Xpand IT
 
Dockers and containers basics
Sourabh Saxena
 
9. Document Oriented Databases
Fabio Fumarola
 
MongoDB.pptx
Sigit52
 
MongoDB Sharding Fundamentals
Antonios Giannopoulos
 
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Simplilearn
 
Intro to HBase
alexbaranau
 
Containers: The What, Why, and How
Sneha Inguva
 

Similar to Intro To MongoDB (20)

PDF
Introduction to MongoDB
Justin Smestad
 
PDF
Everyday - mongodb
elliando dias
 
PDF
MongoDB @ Frankfurt NoSql User Group
Chris Harris
 
PDF
Introduction to CouchDB
John Wood
 
PDF
Open source Technology
Amardeep Vishwakarma
 
PPTX
EinfĂŒhrung in MongoDB
NETUserGroupBern
 
PDF
Morning with MongoDB Paris 2012 - Accueil et Introductions
MongoDB
 
PDF
Mongodb (1)
Deepak Kumar
 
PPTX
JS App Architecture
Corey Butler
 
PDF
No sql findings
Christian van der Leeden
 
PDF
Persistence Smoothie
Michael Bleigh
 
PPTX
MongoDB 2.4 and spring data
Jimmy Ray
 
PPTX
MongoDB
Rony Gregory
 
PPTX
NoSQL with Mongodb
Nagaraja Shanabhog
 
PDF
Mongo db transcript
foliba
 
PPTX
mongodb_DS.pptx
DavoudSalehi1
 
PDF
Symfony2 and MongoDB
Pablo Godel
 
PDF
10gen MongoDB Video Presentation at WebGeek DevCup
WebGeek Philippines
 
PPTX
MongoDB NoSQL - Developer Guide
Shiv K Sah
 
PPTX
Realtime Analytics with MongoDB Counters (mongonyc 2012)
Scott Hernandez
 
Introduction to MongoDB
Justin Smestad
 
Everyday - mongodb
elliando dias
 
MongoDB @ Frankfurt NoSql User Group
Chris Harris
 
Introduction to CouchDB
John Wood
 
Open source Technology
Amardeep Vishwakarma
 
EinfĂŒhrung in MongoDB
NETUserGroupBern
 
Morning with MongoDB Paris 2012 - Accueil et Introductions
MongoDB
 
Mongodb (1)
Deepak Kumar
 
JS App Architecture
Corey Butler
 
No sql findings
Christian van der Leeden
 
Persistence Smoothie
Michael Bleigh
 
MongoDB 2.4 and spring data
Jimmy Ray
 
MongoDB
Rony Gregory
 
NoSQL with Mongodb
Nagaraja Shanabhog
 
Mongo db transcript
foliba
 
mongodb_DS.pptx
DavoudSalehi1
 
Symfony2 and MongoDB
Pablo Godel
 
10gen MongoDB Video Presentation at WebGeek DevCup
WebGeek Philippines
 
MongoDB NoSQL - Developer Guide
Shiv K Sah
 
Realtime Analytics with MongoDB Counters (mongonyc 2012)
Scott Hernandez
 
Ad

More from Alex Sharp (11)

PDF
Bldr: A Minimalist JSON Templating DSL
Alex Sharp
 
PDF
Bldr - Rubyconf 2011 Lightning Talk
Alex Sharp
 
PDF
Mysql to mongo
Alex Sharp
 
PDF
Refactoring in Practice - Sunnyconf 2010
Alex Sharp
 
PDF
Refactoring in Practice - Ruby Hoedown 2010
Alex Sharp
 
PDF
Practical Ruby Projects with MongoDB - Ruby Kaigi 2010
Alex Sharp
 
PDF
Practical Ruby Projects with MongoDB - Ruby Midwest
Alex Sharp
 
KEY
Practical Ruby Projects with MongoDB - MongoSF
Alex Sharp
 
KEY
Practical Ruby Projects With Mongo Db
Alex Sharp
 
KEY
Getting Comfortable with BDD
Alex Sharp
 
KEY
Testing Has Many Purposes
Alex Sharp
 
Bldr: A Minimalist JSON Templating DSL
Alex Sharp
 
Bldr - Rubyconf 2011 Lightning Talk
Alex Sharp
 
Mysql to mongo
Alex Sharp
 
Refactoring in Practice - Sunnyconf 2010
Alex Sharp
 
Refactoring in Practice - Ruby Hoedown 2010
Alex Sharp
 
Practical Ruby Projects with MongoDB - Ruby Kaigi 2010
Alex Sharp
 
Practical Ruby Projects with MongoDB - Ruby Midwest
Alex Sharp
 
Practical Ruby Projects with MongoDB - MongoSF
Alex Sharp
 
Practical Ruby Projects With Mongo Db
Alex Sharp
 
Getting Comfortable with BDD
Alex Sharp
 
Testing Has Many Purposes
Alex Sharp
 
Ad

Recently uploaded (20)

PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Kit-Works Team Study_20250627_í•œë‹Źë§Œì—ë§Œë“ ì‚Źë‚Žì„œëč„슀킀링(양닀윗).pdf
Wonjun Hwang
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pdf
ghjghvhjgc
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
PPTX
Manual Testing for Accessibility Enhancement
Julia Undeutsch
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Kit-Works Team Study_20250627_í•œë‹Źë§Œì—ë§Œë“ ì‚Źë‚Žì„œëč„슀킀링(양닀윗).pdf
Wonjun Hwang
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pdf
ghjghvhjgc
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
Manual Testing for Accessibility Enhancement
Julia Undeutsch
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 

Intro To MongoDB

  • 1. Intro to MongoDB Alex Sharp twitter: @ajsharp email: [email protected] Monday, February 22, 2010
  • 2. So what is MongoDB? Monday, February 22, 2010
  • 3. First and foremost... Monday, February 22, 2010
  • 4. IT’S THE NEW HOTNESS!!! Monday, February 22, 2010
  • 5. omgomgomg SHINY OBJECTS omgomgomg Monday, February 22, 2010
  • 6. MongoDB (from "humongous") is a scalable, high-performance, open source, schema-free, document-oriented database. - mongodb.org Monday, February 22, 2010
  • 8. Philosophy “One size ïŹts all” approach no longer applies Monday, February 22, 2010
  • 9. Philosophy Non-relational DBs scale more easily, especially horizontally Monday, February 22, 2010
  • 10. Philosophy Focus on speed, performance, ïŹ‚exibility and scalability Monday, February 22, 2010
  • 11. Philosophy Not concerned with transactional stuff and relational semantics Monday, February 22, 2010
  • 12. Philosophy DBs should be an on-demand commodity, in a cloud- like fashion Monday, February 22, 2010
  • 13. Philosophy Mongo tries to achieve the performance of traditional key-value stores while maintaining functionality of traditional RDBMS Monday, February 22, 2010
  • 15. Features Standard database stuff Monday, February 22, 2010
  • 16. Features Standard database stuff Indexing Monday, February 22, 2010
  • 17. Features Standard database stuff Indexing replication/failover support Monday, February 22, 2010
  • 18. Features: Document Storage Documents are stored in BSON (binary JSON) Monday, February 22, 2010
  • 19. Features: Document Storage BSON is a binary serialization of JSON-like objects Monday, February 22, 2010
  • 20. Features: Document Storage This is extremely powerful, b/c it means mongo understands JSON natively Monday, February 22, 2010
  • 21. Features: Document Storage Any valid JSON can be easily imported and queried Monday, February 22, 2010
  • 22. Features Schema-less; very ïŹ‚exible Monday, February 22, 2010
  • 23. Features Schema-less; very ïŹ‚exible no more blocking ALTER TABLE Monday, February 22, 2010
  • 24. Features Auto-sharding (alpha) Monday, February 22, 2010
  • 25. Features Makes for easy horizontal scaling Monday, February 22, 2010
  • 26. Features Map/Reduce Monday, February 22, 2010
  • 27. Features Very, very fast Monday, February 22, 2010
  • 28. Features Super easy to install Monday, February 22, 2010
  • 29. Features Strong with major languages Monday, February 22, 2010
  • 30. Features Document-oriented = ïŹ‚exible Monday, February 22, 2010
  • 31. Features: Querying Rich, javascript-based query syntax Monday, February 22, 2010
  • 32. Features: Querying Rich, javascript-based query syntax Allows us to deep, nested queries Monday, February 22, 2010
  • 33. Features: Querying Rich, javascript-based query syntax Allows us to do deep, nested queries db.order.find( { shipping: { carrier: "usps" } } ); Monday, February 22, 2010
  • 34. Features: Querying Rich, javascript-based query syntax Allows us to deep, nested queries db.order.find( { shipping: { carrier: "usps" } } ); shipping is an embedded document (object) Monday, February 22, 2010
  • 35. Features: Binary Object Store EfïŹcient binary large object store via GridFS Monday, February 22, 2010
  • 36. Features: Binary Object Store EfïŹcient binary large object store via GridFS i.e. store images, videos, anything Monday, February 22, 2010
  • 38. Concepts: Document-oriented Think of “documents” as database records Monday, February 22, 2010
  • 39. Concepts: Document-oriented Think of “documents” as database records Documents are basically just JSON objects that Mongo stores in binary Monday, February 22, 2010
  • 40. Concepts: Document-oriented Think of “collections” as database tables Monday, February 22, 2010
  • 41. Concept Mapping RDBMS (mysql, postgres) MongoDB Tables Collections Monday, February 22, 2010
  • 42. Concept Mapping RDBMS (mysql, postgres) MongoDB Tables Collections Records/rows Documents/objects Monday, February 22, 2010
  • 43. Concept Mapping RDBMS (mysql, postgres) MongoDB Tables Collections Records/rows Documents/objects Queries return record(s) Queries return a cursor Monday, February 22, 2010
  • 44. Concept Mapping RDBMS (mysql, postgres) MongoDB Tables Collections Records/rows Documents/objects Queries return record(s) Queries return a cursor Monday, February 22, 2010 ???
  • 45. Concepts: Cursors Queries return “cursors” instead of collections Monday, February 22, 2010
  • 46. Concepts: Cursors Queries return “cursors” instead of collections A cursor allows you to iterate through the result set Monday, February 22, 2010
  • 47. Concepts: Cursors Queries return “cursors” instead of collections A cursor allows you to iterate through the result set A big reason for this is performance Monday, February 22, 2010
  • 48. Concepts: Cursors Queries return “cursors” instead of collections A cursor allows you to iterate through the result set A big reason for this is performance Much more efïŹcient than loading all objects into memory Monday, February 22, 2010
  • 49. Concepts: Cursors The ïŹnd() function returns a cursor object Monday, February 22, 2010
  • 50. Concepts: Cursors The ïŹnd() function returns a cursor object var cursor = db.logged_requests.find({ 'status_code' : 200 }) cursor.hasNext() // "true" cursor.forEach( function(item) { print(tojson(item)) } ); cursor.hasNext() // "false" Monday, February 22, 2010
  • 52. Cool Features Capped collections Monday, February 22, 2010
  • 53. Cool Features Capped collections Fixed-sized, limited operation, auto-LRU age-out collections Monday, February 22, 2010
  • 54. Cool Features Capped collections Fixed-sized, limited operation, auto-LRU age-out collections Fixed insertion order Monday, February 22, 2010
  • 55. Cool Features Capped collections Fixed-sized, limited operation, auto-LRU age-out collections Fixed insertion order Super fast Monday, February 22, 2010
  • 56. Cool Features Capped collections Fixed-sized, limited operation, auto-LRU age-out collections Fixed insertion order Super fast Ideal for logging and caching Monday, February 22, 2010
  • 57. Cool Uses Data Warehouse Mongo understands JSON natively Monday, February 22, 2010
  • 58. Cool Uses Data Warehouse Mongo understands JSON natively Very powerful for analysis Monday, February 22, 2010
  • 59. Cool Uses Data Warehouse Mongo understands JSON natively Very powerful for analysis Query a bunch of data from some web service Monday, February 22, 2010
  • 60. Cool Uses Data Warehouse Mongo understands JSON natively Very powerful for analysis Query a bunch of data from some web service Import into mongo (mongoimport -f ïŹlename.json) Monday, February 22, 2010
  • 61. Cool Uses Data Warehouse Mongo understands JSON natively Very powerful for analysis Query a bunch of data from some web service Import into mongo (mongoimport -f ïŹlename.json) Analyze to your heart’s content Monday, February 22, 2010
  • 62. Cool Uses Harmonyapp.com Large rails app for building websites (kind of a CMS) Monday, February 22, 2010
  • 63. Cool Uses Hardcore debugging Spit out large amounts of data Monday, February 22, 2010
  • 64. Limitations Transaction support Monday, February 22, 2010
  • 65. Limitations Transaction support Relational integrity Monday, February 22, 2010
  • 66. Resources http://mongodb.org http://www.mongodb.org/display/DOCS/Tutorial http://www.mongodb.org/display/DOCS/Use+Cases http://blog.mongodb.org/post/172254834/mongodb- is-fantastic-for-logging http://github.com/ajsharp/mongo-conf Monday, February 22, 2010