SlideShare a Scribd company logo
10 reasons
to fall in love
Introduction
NoSQL

MongoDB - humongous

Open source, 10gen
Cross-platform: OS X, Linux, Windows, Solaris

v1.0 – Aug 2009
v1.9.1 – Aug 2011 (odd – DEV version)
v2.0.3 – Feb 2012
1. Fast & powerful
Focus on performance


                    key/value
  Scalability and




                    stores           MongoDB
  performance




                                              RDBMS


                         Depth of functionality
2. Document-oriented
{
    _id: <document identifier>,
    key: “value”,
    subDocument: {innerProp: null}
}

JSON/BSON, 16MB

Basic types, arrays, embedded documents,
ObjectId, other
3. Schema-free
{                                                     ObjectId
_id: ObjectId("4B980A6DEA2C3F4579DA141E"),
user_id: ObjectId("4B980A6DEA2C3F4579DA4F54"),        Link to user
shipping_address: {
    street: "3333 Green Ave",                         Embedded
    city: "Brooklyn",                                 document
    state: "NY"},
line_items: [
    {sku: “rbk-423", name: “Case", price: 4000},
    {sku: "spk-211", name: "Guitar", price: 9200}],   Array
subtotal: 13200,                                      Embedded
tax: 1100,                                            documents
total: 14300
}                                                     Duplication
4. Rich queries
db.books.find({name: “MongoDB”});

{author: {$exists: true}, “info.price”: {$lt: 10}}

$gt, $lt, $or, $not, $type, $exists, $in, $all,
$elemMatch
$where – JavaScript expression

db.books.find().skip(50).limit(10).sort({name: 1})
5. Full Index Support
Basic keys, Compound keys
Embedded fields, Arrays

Unique, Sparse, Background

Geospatial indexes (2d)
db.places.find({loc: {$near: [50,50],
$maxDistance: 5}}).limit(20)
6. Useful features
Atomic modifiers ($inc, $set, $push…)
Upsert
FindAndModify

Capped collections

MapReduce
GridFS
7. Replication
     Master-Slave           Replica Set
          M             M                 S


                        M                 S
 S        S         S

                        M                 M


                        S                 M




(Data Center Awareness)
8. Auto-Sharding
Horizontal scalability

   AL <= state < KA   KA <= state < OH   OK <= state <= WY

      mongod              mongod             mongod



                          mongos



                           client
9. Easy to try
~50MB of binaries
No installation required

Multi-language support:
C#, C, C++, Java, Perl, PHP, Python, Ruby

Tools: MongoVUE, RockMongo
http://try.mongodb.org
10. Support
Documentation
  http://www.mongodb.org
  Official MongoDB site

  http://groups.google.com/group/mongodb-user
  Google user group

Commercial support
MongoDB Monitoring Service (MMS)
Questions?

More Related Content

PPT
PhpstudyTokyo MongoDB PHP CakePHP
PDF
Mongo Presentation by Metatagg Solutions
PDF
How do i Meet MongoDB
PPTX
Introduction to MongoDB for C# developers
PPTX
Introduction to MongoDB
PDF
Indexing
KEY
Introduction to MongoDB
PDF
Mongodb workshop
PhpstudyTokyo MongoDB PHP CakePHP
Mongo Presentation by Metatagg Solutions
How do i Meet MongoDB
Introduction to MongoDB for C# developers
Introduction to MongoDB
Indexing
Introduction to MongoDB
Mongodb workshop

What's hot (16)

PDF
JSOP in 60 seconds
ODP
MongoDB - javascript for your data
PDF
Inside MongoDB: the Internals of an Open-Source Database
PPTX
Intro to mongodb mongouk jun2010
PPTX
MongoDB & Drupal
ODP
MongoDB - Ekino PHP
KEY
MongoDB Java Development - MongoBoston 2010
PDF
Mongo db basics
ODP
Leichtgewichtige Webwenwendungen mit dem MEAN-Stack
PPT
Introduction to MongoDB
PPTX
Social Analytics with MongoDB
PPTX
Shankar's mongo db presentation
PPTX
บท7
PPTX
Mongo db Quick Guide
PPTX
MongoDB Aug2010 SF Meetup
PPTX
Back to Basics Webinar 2: Your First MongoDB Application
JSOP in 60 seconds
MongoDB - javascript for your data
Inside MongoDB: the Internals of an Open-Source Database
Intro to mongodb mongouk jun2010
MongoDB & Drupal
MongoDB - Ekino PHP
MongoDB Java Development - MongoBoston 2010
Mongo db basics
Leichtgewichtige Webwenwendungen mit dem MEAN-Stack
Introduction to MongoDB
Social Analytics with MongoDB
Shankar's mongo db presentation
บท7
Mongo db Quick Guide
MongoDB Aug2010 SF Meetup
Back to Basics Webinar 2: Your First MongoDB Application
Ad

Viewers also liked (6)

PPTX
Meetup#2: Building responsive Symbology & Suggest WebService
PDF
Meetup#2: MongoDB Schema Design
PPTX
MongoDB Schema Design by Examples
PPT
MongoDB Schema Design
PDF
Hype vs. Reality: The AI Explainer
PDF
Study: The Future of VR, AR and Self-Driving Cars
Meetup#2: Building responsive Symbology & Suggest WebService
Meetup#2: MongoDB Schema Design
MongoDB Schema Design by Examples
MongoDB Schema Design
Hype vs. Reality: The AI Explainer
Study: The Future of VR, AR and Self-Driving Cars
Ad

Similar to Meetup#1: 10 reasons to fall in love with MongoDB (20)

PPTX
MongoDB
PDF
Spring Data MongoDB 介紹
PPTX
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
PPTX
Webinar: General Technical Overview of MongoDB for Dev Teams
KEY
Mongodb intro
PDF
Using MongoDB and Python
PDF
2016 feb-23 pyugre-py_mongo
PDF
Solutions for bi-directional integration between Oracle RDBMS and Apache Kafk...
PDF
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
PPT
Building web applications with mongo db presentation
PDF
mongodb-introduction
PDF
Solutions for bi-directional integration between Oracle RDBMS & Apache Kafka
PPTX
Introduction to MongoDB and Workshop
PDF
OSDC 2012 | Building a first application on MongoDB by Ross Lawley
PDF
Webinar: Building Your First App with MongoDB and Java
PDF
Getting started with MongoDB and Scala - Open Source Bridge 2012
PPTX
lecture_34e.pptx
PPTX
Introduction to MongoDB
PDF
Java Persistence Frameworks for MongoDB
PPTX
Webinar: Building Your First App in Node.js
MongoDB
Spring Data MongoDB 介紹
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
Webinar: General Technical Overview of MongoDB for Dev Teams
Mongodb intro
Using MongoDB and Python
2016 feb-23 pyugre-py_mongo
Solutions for bi-directional integration between Oracle RDBMS and Apache Kafk...
Solutions for bi-directional Integration between Oracle RDMBS & Apache Kafka
Building web applications with mongo db presentation
mongodb-introduction
Solutions for bi-directional integration between Oracle RDBMS & Apache Kafka
Introduction to MongoDB and Workshop
OSDC 2012 | Building a first application on MongoDB by Ross Lawley
Webinar: Building Your First App with MongoDB and Java
Getting started with MongoDB and Scala - Open Source Bridge 2012
lecture_34e.pptx
Introduction to MongoDB
Java Persistence Frameworks for MongoDB
Webinar: Building Your First App in Node.js

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
cuic standard and advanced reporting.pdf
PPTX
Cloud computing and distributed systems.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Modernizing your data center with Dell and AMD
PPT
Teaching material agriculture food technology
PDF
KodekX | Application Modernization Development
PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Per capita expenditure prediction using model stacking based on satellite ima...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Network Security Unit 5.pdf for BCA BBA.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
cuic standard and advanced reporting.pdf
Cloud computing and distributed systems.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Modernizing your data center with Dell and AMD
Teaching material agriculture food technology
KodekX | Application Modernization Development
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Empathic Computing: Creating Shared Understanding
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Meetup#1: 10 reasons to fall in love with MongoDB

  • 2. Introduction NoSQL MongoDB - humongous Open source, 10gen Cross-platform: OS X, Linux, Windows, Solaris v1.0 – Aug 2009 v1.9.1 – Aug 2011 (odd – DEV version) v2.0.3 – Feb 2012
  • 3. 1. Fast & powerful Focus on performance key/value Scalability and stores MongoDB performance RDBMS Depth of functionality
  • 4. 2. Document-oriented { _id: <document identifier>, key: “value”, subDocument: {innerProp: null} } JSON/BSON, 16MB Basic types, arrays, embedded documents, ObjectId, other
  • 5. 3. Schema-free { ObjectId _id: ObjectId("4B980A6DEA2C3F4579DA141E"), user_id: ObjectId("4B980A6DEA2C3F4579DA4F54"), Link to user shipping_address: { street: "3333 Green Ave", Embedded city: "Brooklyn", document state: "NY"}, line_items: [ {sku: “rbk-423", name: “Case", price: 4000}, {sku: "spk-211", name: "Guitar", price: 9200}], Array subtotal: 13200, Embedded tax: 1100, documents total: 14300 } Duplication
  • 6. 4. Rich queries db.books.find({name: “MongoDB”}); {author: {$exists: true}, “info.price”: {$lt: 10}} $gt, $lt, $or, $not, $type, $exists, $in, $all, $elemMatch $where – JavaScript expression db.books.find().skip(50).limit(10).sort({name: 1})
  • 7. 5. Full Index Support Basic keys, Compound keys Embedded fields, Arrays Unique, Sparse, Background Geospatial indexes (2d) db.places.find({loc: {$near: [50,50], $maxDistance: 5}}).limit(20)
  • 8. 6. Useful features Atomic modifiers ($inc, $set, $push…) Upsert FindAndModify Capped collections MapReduce GridFS
  • 9. 7. Replication Master-Slave Replica Set M M S M S S S S M M S M (Data Center Awareness)
  • 10. 8. Auto-Sharding Horizontal scalability AL <= state < KA KA <= state < OH OK <= state <= WY mongod mongod mongod mongos client
  • 11. 9. Easy to try ~50MB of binaries No installation required Multi-language support: C#, C, C++, Java, Perl, PHP, Python, Ruby Tools: MongoVUE, RockMongo http://try.mongodb.org
  • 12. 10. Support Documentation http://www.mongodb.org Official MongoDB site http://groups.google.com/group/mongodb-user Google user group Commercial support MongoDB Monitoring Service (MMS)

Editor's Notes

  • #4: * No transactions * Fast in-place updates
  • #5: ObjectId: 0 1 2 3 4 5 6 7 8 9 10 11 Timestamp Machine PID Increment