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)

PDF
Data as Documents: Overview and intro to MongoDB
KEY
MongoDB at CodeMash 2.0.1.0
PDF
Introduction to MongoDB
PDF
MongoDB.pdf
PDF
MongoDB at FrozenRails
PPTX
Why mongo db was created - Dwight Merriman - MongoSF 2011
PPT
MongoDB Pros and Cons
PPTX
Document databases
PPT
MongoDB, it's not just about big data
PDF
The emerging world of mongo db csp
PDF
MongoDB Basics
PPTX
An Introduction To NoSQL & MongoDB
PPT
2011 Mongo FR - MongoDB introduction
PPT
Introduction to MongoDB
KEY
Mongodb intro
PPTX
NoSQL: what's under the hood?
PPT
9. Document Oriented Databases
PPTX
KEY
MongoDB Strange Loop 2009
PPTX
Introduction to NoSQL Database
Data as Documents: Overview and intro to MongoDB
MongoDB at CodeMash 2.0.1.0
Introduction to MongoDB
MongoDB.pdf
MongoDB at FrozenRails
Why mongo db was created - Dwight Merriman - MongoSF 2011
MongoDB Pros and Cons
Document databases
MongoDB, it's not just about big data
The emerging world of mongo db csp
MongoDB Basics
An Introduction To NoSQL & MongoDB
2011 Mongo FR - MongoDB introduction
Introduction to MongoDB
Mongodb intro
NoSQL: what's under the hood?
9. Document Oriented Databases
MongoDB Strange Loop 2009
Introduction to NoSQL Database
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
Hindi spoken digit analysis for native and non-native speakers
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Hybrid model detection and classification of lung cancer
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Encapsulation theory and applications.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
1. Introduction to Computer Programming.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
Enhancing emotion recognition model for a student engagement use case through...
Hindi spoken digit analysis for native and non-native speakers
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Heart disease approach using modified random forest and particle swarm optimi...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Assigned Numbers - 2025 - Bluetooth® Document
MIND Revenue Release Quarter 2 2025 Press Release
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
A Presentation on Artificial Intelligence
Univ-Connecticut-ChatGPT-Presentaion.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DP Operators-handbook-extract for the Mautical Institute
Hybrid model detection and classification of lung cancer
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Encapsulation theory and applications.pdf
NewMind AI Weekly Chronicles - August'25-Week II
1. Introduction to Computer Programming.pptx
TLE Review Electricity (Electricity).pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Getting Started with Data Integration: FME Form 101
Enhancing emotion recognition model for a student engagement use case through...

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