SlideShare a Scribd company logo
Why NoSQL Makes Senseand when to use something else?Dwight Merriman / 10gen / MongoDB
The Scaling ImperativeIt already was needed but now...
cloudcommodityhttp://www.globalnerdy.com/2007/09/07/multicore-musings/
NoSQL = Non-relational next generation operation data stores and databasesno joins +light transactional semantics =   horizontally scalable architectures
Scaling Outdistribution & query modelsConsistent hashingOrder preserving range   chunkingScatter gather
Data modelsno joins +light transactional semantics =     horizontally scalable architecturesImportant side effect :     new data models =        improved ways to develop apps      (“Agility”)
Why NoSQL Makes Sense
{ _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”}
{ _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”]}> db.posts.find( { tags : “news” } )
{ _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ]}
{ _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ],comments : [{ by : “tim157”, text : “great story” },{ by : “gora”, text : “i don’t think so” },{ by : “dmerr”, text : “also check out...” }]}
{ _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ],comments : [{ by : “tim157”, text : “great story” },{ by : “gora”, text : “i don’t think so” },{ by : “dmerr”, text : “also check out...” }]}> db.posts.find({title:”Too Big to Fail”})`
{ _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ],comments : [{ by : “tim157”, text : “great story” },{ by : “gora”, text : “i don’t think so” },{ by : “dmerr”, text : “also check out...” }]}> db.posts.find( { “comments.by” : “gora” } )> db.posts.ensureIndex( { “comments.by” : 1 } )
the db space 2000 - 2010+ great for complex transactions+ great for tabular data+ ad hoc queries easy- O<->R mapping hard- speed/scale challenges- not super agile+ ad hoc queries easy+ SQL gives us a standard protocol for the interface between clients and servers+ scales horizontally better than operational dbs. some scale limits at massive scale- schemas are rigid- real time is hard; very good at bulk nightly data loads
the db space 2000 - 2010+ great for complex transactions+ great for tabular data+ ad hoc queries easy- O<->R mapping hard- speed/scale challenges- not super agile+ ad hoc queries easy+ SQL gives us a standard protocol for the interface between clients and servers+ scales horizontally better than operational dbs. some scale limits at massive scale- schemas are rigid- real time is hard; very good at bulk nightly data loads
the db space 2000 - 2010+ great for complex transactions+ great for tabular data+ ad hoc queries easy- O<->R mapping hard- speed/scale challenges- not super agile+ ad hoc queries easy+ SQL gives us a standard protocol for the interface between clients and servers+ scales horizontally better than operational dbs. some scale limits at massive scale- schemas are rigid- real time is hard; very good at bulk nightly data loads
the db space+ fits OO programming well+ agile+ speed/scale- querying a little less add hoc- not super transactional- not sql
ThanksDwight MerrimanCEO 10genhttp://blog.mongodb.org/@mongodbme - @dmerrjobs@10gen.comwww.mongodb.orgwww.mongodb.org/display/DOCS/Events

More Related Content

PPTX
Eagle6 Enterprise Situational Awareness
PDF
Mongodb tutorial at Easylearning Guru
PPTX
Tutorial: Building Your First App with MongoDB Stitch
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PPTX
Jumpstart: Introduction to MongoDB
PDF
MongoDB .local Munich 2019: Managing a Heterogeneous Stack with MongoDB & SQL
PPTX
Introduction to MongoDB
PDF
When to Use MongoDB
Eagle6 Enterprise Situational Awareness
Mongodb tutorial at Easylearning Guru
Tutorial: Building Your First App with MongoDB Stitch
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
Jumpstart: Introduction to MongoDB
MongoDB .local Munich 2019: Managing a Heterogeneous Stack with MongoDB & SQL
Introduction to MongoDB
When to Use MongoDB

What's hot (19)

PPT
Mongodb Training Tutorial in Bangalore
PPTX
Mongo db workshop # 02
PPTX
Introduction to MongoDB
PPTX
Basics of MongoDB
PPTX
MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101
ODP
Introduction to MongoDB
PDF
An introduction to MongoDB
PPTX
MongoDB 101
PPTX
A Presentation on MongoDB Introduction - Habilelabs
PDF
MongoDB for Analytics
PPTX
How to leverage MongoDB for Big Data Analysis and Operations with MongoDB's A...
PDF
MongoDB Launchpad 2016: What’s New in the 3.4 Server
PPTX
MongoDB by Emroz sardar.
PDF
Getting to Insights Faster with the MongoDB Connector for BI
PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PPTX
Intro To Mongo Db
PDF
MongoDB .local Munich 2019: Still Haven't Found What You Are Looking For? Use...
PDF
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
PPTX
Mongo db intro.pptx
Mongodb Training Tutorial in Bangalore
Mongo db workshop # 02
Introduction to MongoDB
Basics of MongoDB
MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101
Introduction to MongoDB
An introduction to MongoDB
MongoDB 101
A Presentation on MongoDB Introduction - Habilelabs
MongoDB for Analytics
How to leverage MongoDB for Big Data Analysis and Operations with MongoDB's A...
MongoDB Launchpad 2016: What’s New in the 3.4 Server
MongoDB by Emroz sardar.
Getting to Insights Faster with the MongoDB Connector for BI
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
Intro To Mongo Db
MongoDB .local Munich 2019: Still Haven't Found What You Are Looking For? Use...
MongoDB .local Chicago 2019: Still Haven't Found What You Are Looking For? Us...
Mongo db intro.pptx
Ad

Similar to Why NoSQL Makes Sense (20)

PPTX
Eagle6 mongo dc revised
PDF
Give Me My Damn Report: Making NoSQL Data Accessible to the Business
PDF
Learn Learn how to build your mobile back-end with MongoDB
PPTX
Webinar: How Banks Use MongoDB as a Tick Database
PDF
Blazing Fast Analytics with MongoDB & Spark
PPTX
Sharing a Startup’s Big Data Lessons
KEY
Mongodb intro
PPTX
Why mongo db was created - Dwight Merriman - MongoSF 2011
PDF
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
PPTX
MVP Cloud OS Week: 9 Sept, Track 1 Data Liberty
PPTX
MVP Cloud OS Week Track 1 9 Sept: Data liberty
ODP
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
PPT
MongoDB Tick Data Presentation
PDF
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
PPTX
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
PPTX
NOSQL Session GlueCon May 2010
PDF
MongoDB Evenings Dallas: What's the Scoop on MongoDB & Hadoop
PDF
Spark and MongoDB
PPTX
Docker Summit MongoDB - Data Democratization
PDF
Slides: Moving from a Relational Model to NoSQL
Eagle6 mongo dc revised
Give Me My Damn Report: Making NoSQL Data Accessible to the Business
Learn Learn how to build your mobile back-end with MongoDB
Webinar: How Banks Use MongoDB as a Tick Database
Blazing Fast Analytics with MongoDB & Spark
Sharing a Startup’s Big Data Lessons
Mongodb intro
Why mongo db was created - Dwight Merriman - MongoSF 2011
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
MVP Cloud OS Week: 9 Sept, Track 1 Data Liberty
MVP Cloud OS Week Track 1 9 Sept: Data liberty
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
MongoDB Tick Data Presentation
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
NOSQL Session GlueCon May 2010
MongoDB Evenings Dallas: What's the Scoop on MongoDB & Hadoop
Spark and MongoDB
Docker Summit MongoDB - Data Democratization
Slides: Moving from a Relational Model to NoSQL
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
PDF
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...

Recently uploaded (20)

PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Chapter 5: Probability Theory and Statistics
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
Getting Started with Data Integration: FME Form 101
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
project resource management chapter-09.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
The various Industrial Revolutions .pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Assigned Numbers - 2025 - Bluetooth® Document
Chapter 5: Probability Theory and Statistics
1 - Historical Antecedents, Social Consideration.pdf
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Developing a website for English-speaking practice to English as a foreign la...
Tartificialntelligence_presentation.pptx
Hybrid model detection and classification of lung cancer
Getting Started with Data Integration: FME Form 101
NewMind AI Weekly Chronicles - August'25-Week II
Group 1 Presentation -Planning and Decision Making .pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Zenith AI: Advanced Artificial Intelligence
project resource management chapter-09.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
TLE Review Electricity (Electricity).pptx
The various Industrial Revolutions .pptx
O2C Customer Invoices to Receipt V15A.pptx
Web App vs Mobile App What Should You Build First.pdf
Programs and apps: productivity, graphics, security and other tools

Why NoSQL Makes Sense

  • 1. Why NoSQL Makes Senseand when to use something else?Dwight Merriman / 10gen / MongoDB
  • 2. The Scaling ImperativeIt already was needed but now...
  • 4. NoSQL = Non-relational next generation operation data stores and databasesno joins +light transactional semantics = horizontally scalable architectures
  • 5. Scaling Outdistribution & query modelsConsistent hashingOrder preserving range chunkingScatter gather
  • 6. Data modelsno joins +light transactional semantics = horizontally scalable architecturesImportant side effect : new data models = improved ways to develop apps (“Agility”)
  • 8. { _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”}
  • 9. { _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”]}> db.posts.find( { tags : “news” } )
  • 10. { _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ]}
  • 11. { _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ],comments : [{ by : “tim157”, text : “great story” },{ by : “gora”, text : “i don’t think so” },{ by : “dmerr”, text : “also check out...” }]}
  • 12. { _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ],comments : [{ by : “tim157”, text : “great story” },{ by : “gora”, text : “i don’t think so” },{ by : “dmerr”, text : “also check out...” }]}> db.posts.find({title:”Too Big to Fail”})`
  • 13. { _id : ObjectId("4e2e3f92268cdda473b628f6"),title : “Too Big to Fail”,when : Date(“2011-07-26”),author : “joe”,text : “blah”,tags : [“business”, “news”, “north america”],votes : 3,voters : [“dmerr”, “sj”, “jane” ],comments : [{ by : “tim157”, text : “great story” },{ by : “gora”, text : “i don’t think so” },{ by : “dmerr”, text : “also check out...” }]}> db.posts.find( { “comments.by” : “gora” } )> db.posts.ensureIndex( { “comments.by” : 1 } )
  • 14. the db space 2000 - 2010+ great for complex transactions+ great for tabular data+ ad hoc queries easy- O<->R mapping hard- speed/scale challenges- not super agile+ ad hoc queries easy+ SQL gives us a standard protocol for the interface between clients and servers+ scales horizontally better than operational dbs. some scale limits at massive scale- schemas are rigid- real time is hard; very good at bulk nightly data loads
  • 15. the db space 2000 - 2010+ great for complex transactions+ great for tabular data+ ad hoc queries easy- O<->R mapping hard- speed/scale challenges- not super agile+ ad hoc queries easy+ SQL gives us a standard protocol for the interface between clients and servers+ scales horizontally better than operational dbs. some scale limits at massive scale- schemas are rigid- real time is hard; very good at bulk nightly data loads
  • 16. the db space 2000 - 2010+ great for complex transactions+ great for tabular data+ ad hoc queries easy- O<->R mapping hard- speed/scale challenges- not super agile+ ad hoc queries easy+ SQL gives us a standard protocol for the interface between clients and servers+ scales horizontally better than operational dbs. some scale limits at massive scale- schemas are rigid- real time is hard; very good at bulk nightly data loads
  • 17. the db space+ fits OO programming well+ agile+ speed/scale- querying a little less add hoc- not super transactional- not sql
  • 18. ThanksDwight MerrimanCEO 10genhttp://blog.mongodb.org/@mongodbme - @dmerrjobs@10gen.comwww.mongodb.orgwww.mongodb.org/display/DOCS/Events