Submit Search
Upload
Introduction to MongoDB
•
56 likes
•
39,176 views
Mike Dirolf
Follow
Intro to MongoDB given 4/2010 at Philly ETE
Read less
Read more
Technology
Report
Share
Report
Share
1 of 35
Download now
Download to read offline
Recommended
Introduction to Redis
Introduction to Redis
Dvir Volk
Mongodb basics and architecture
Mongodb basics and architecture
Bishal Khanal
Cassandra Introduction & Features
Cassandra Introduction & Features
DataStax Academy
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
mumrah
Introduction to MongoDB
Introduction to MongoDB
Ravi Teja
Introduction to Storm
Introduction to Storm
Chandler Huang
The Basics of MongoDB
The Basics of MongoDB
valuebound
MongoDB
MongoDB
nikhil2807
Recommended
Introduction to Redis
Introduction to Redis
Dvir Volk
Mongodb basics and architecture
Mongodb basics and architecture
Bishal Khanal
Cassandra Introduction & Features
Cassandra Introduction & Features
DataStax Academy
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
mumrah
Introduction to MongoDB
Introduction to MongoDB
Ravi Teja
Introduction to Storm
Introduction to Storm
Chandler Huang
The Basics of MongoDB
The Basics of MongoDB
valuebound
MongoDB
MongoDB
nikhil2807
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
Lee Theobald
Introduction to memcached
Introduction to memcached
Jurriaan Persyn
MongoDB presentation
MongoDB presentation
Hyphen Call
Introduction to MongoDB
Introduction to MongoDB
NodeXperts
Introduction to MongoDB
Introduction to MongoDB
MongoDB
MongoDB Fundamentals
MongoDB Fundamentals
MongoDB
Intro to HBase
Intro to HBase
alexbaranau
Basics of MongoDB
Basics of MongoDB
Habilelabs
Introduction to Redis
Introduction to Redis
Arnab Mitra
NoSQL databases - An introduction
NoSQL databases - An introduction
Pooyan Mehrparvar
Introduction to MongoDB
Introduction to MongoDB
Dineesha Suraweera
Mongo db intro.pptx
Mongo db intro.pptx
JWORKS powered by Ordina
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky
Introduction to Apache ZooKeeper
Introduction to Apache ZooKeeper
Saurav Haloi
NoSQL databases
NoSQL databases
Harri Kauhanen
Mongo DB Presentation
Mongo DB Presentation
Jaya Naresh Kovela
Apache Spark Architecture
Apache Spark Architecture
Alexey Grishchenko
kafka
kafka
Amikam Snir
Log Structured Merge Tree
Log Structured Merge Tree
University of California, Santa Cruz
Apache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic Datasets
Alluxio, Inc.
MongoDB at FrozenRails
MongoDB at FrozenRails
Mike Dirolf
Intro to mongodb mongouk jun2010
Intro to mongodb mongouk jun2010
Skills Matter
More Related Content
What's hot
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
Lee Theobald
Introduction to memcached
Introduction to memcached
Jurriaan Persyn
MongoDB presentation
MongoDB presentation
Hyphen Call
Introduction to MongoDB
Introduction to MongoDB
NodeXperts
Introduction to MongoDB
Introduction to MongoDB
MongoDB
MongoDB Fundamentals
MongoDB Fundamentals
MongoDB
Intro to HBase
Intro to HBase
alexbaranau
Basics of MongoDB
Basics of MongoDB
Habilelabs
Introduction to Redis
Introduction to Redis
Arnab Mitra
NoSQL databases - An introduction
NoSQL databases - An introduction
Pooyan Mehrparvar
Introduction to MongoDB
Introduction to MongoDB
Dineesha Suraweera
Mongo db intro.pptx
Mongo db intro.pptx
JWORKS powered by Ordina
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky
Introduction to Apache ZooKeeper
Introduction to Apache ZooKeeper
Saurav Haloi
NoSQL databases
NoSQL databases
Harri Kauhanen
Mongo DB Presentation
Mongo DB Presentation
Jaya Naresh Kovela
Apache Spark Architecture
Apache Spark Architecture
Alexey Grishchenko
kafka
kafka
Amikam Snir
Log Structured Merge Tree
Log Structured Merge Tree
University of California, Santa Cruz
Apache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic Datasets
Alluxio, Inc.
What's hot
(20)
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
Introduction to memcached
Introduction to memcached
MongoDB presentation
MongoDB presentation
Introduction to MongoDB
Introduction to MongoDB
Introduction to MongoDB
Introduction to MongoDB
MongoDB Fundamentals
MongoDB Fundamentals
Intro to HBase
Intro to HBase
Basics of MongoDB
Basics of MongoDB
Introduction to Redis
Introduction to Redis
NoSQL databases - An introduction
NoSQL databases - An introduction
Introduction to MongoDB
Introduction to MongoDB
Mongo db intro.pptx
Mongo db intro.pptx
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Introduction to Apache ZooKeeper
Introduction to Apache ZooKeeper
NoSQL databases
NoSQL databases
Mongo DB Presentation
Mongo DB Presentation
Apache Spark Architecture
Apache Spark Architecture
kafka
kafka
Log Structured Merge Tree
Log Structured Merge Tree
Apache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic Datasets
Similar to Introduction to MongoDB
MongoDB at FrozenRails
MongoDB at FrozenRails
Mike Dirolf
Intro to mongodb mongouk jun2010
Intro to mongodb mongouk jun2010
Skills Matter
MongoDB at CodeMash 2.0.1.0
MongoDB at CodeMash 2.0.1.0
Mike Dirolf
MongoDB at ZPUGDC
MongoDB at ZPUGDC
Mike Dirolf
Introduction to Mongo DB-open-‐source, high-‐performance, document-‐orient...
Introduction to Mongo DB-open-‐source, high-‐performance, document-‐orient...
boychatmate1
MongoDB at RuPy
MongoDB at RuPy
Mike Dirolf
MongoDB NYC Python
MongoDB NYC Python
Mike Dirolf
MongoDB Strange Loop 2009
MongoDB Strange Loop 2009
Mike Dirolf
Mongodb intro
Mongodb intro
christkv
Introduction to MongoDB
Introduction to MongoDB
Alex Bilbie
MongoDB, PHP and the cloud - php cloud summit 2011
MongoDB, PHP and the cloud - php cloud summit 2011
Steven Francia
Introduction to MongoDB
Introduction to MongoDB
antoinegirbal
2011 Mongo FR - MongoDB introduction
2011 Mongo FR - MongoDB introduction
antoinegirbal
Building your first app with MongoDB
Building your first app with MongoDB
Norberto Leite
Managing Social Content with MongoDB
Managing Social Content with MongoDB
MongoDB
2016 feb-23 pyugre-py_mongo
2016 feb-23 pyugre-py_mongo
Michael Bright
Using MongoDB and Python
Using MongoDB and Python
Mike Bright
Marc s01 e02-crud-database
Marc s01 e02-crud-database
MongoDB
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
MongoDB
MongoDB Hadoop DC
MongoDB Hadoop DC
Mike Dirolf
Similar to Introduction to MongoDB
(20)
MongoDB at FrozenRails
MongoDB at FrozenRails
Intro to mongodb mongouk jun2010
Intro to mongodb mongouk jun2010
MongoDB at CodeMash 2.0.1.0
MongoDB at CodeMash 2.0.1.0
MongoDB at ZPUGDC
MongoDB at ZPUGDC
Introduction to Mongo DB-open-‐source, high-‐performance, document-‐orient...
Introduction to Mongo DB-open-‐source, high-‐performance, document-‐orient...
MongoDB at RuPy
MongoDB at RuPy
MongoDB NYC Python
MongoDB NYC Python
MongoDB Strange Loop 2009
MongoDB Strange Loop 2009
Mongodb intro
Mongodb intro
Introduction to MongoDB
Introduction to MongoDB
MongoDB, PHP and the cloud - php cloud summit 2011
MongoDB, PHP and the cloud - php cloud summit 2011
Introduction to MongoDB
Introduction to MongoDB
2011 Mongo FR - MongoDB introduction
2011 Mongo FR - MongoDB introduction
Building your first app with MongoDB
Building your first app with MongoDB
Managing Social Content with MongoDB
Managing Social Content with MongoDB
2016 feb-23 pyugre-py_mongo
2016 feb-23 pyugre-py_mongo
Using MongoDB and Python
Using MongoDB and Python
Marc s01 e02-crud-database
Marc s01 e02-crud-database
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion ...
MongoDB Hadoop DC
MongoDB Hadoop DC
More from Mike Dirolf
Indexing
Indexing
Mike Dirolf
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Mike Dirolf
Inside PyMongo - MongoNYC
Inside PyMongo - MongoNYC
Mike Dirolf
FrozenRails Training
FrozenRails Training
Mike Dirolf
Python Development (MongoSF)
Python Development (MongoSF)
Mike Dirolf
MongoDB: How it Works
MongoDB: How it Works
Mike Dirolf
MongoDB hearts Django? (Django NYC)
MongoDB hearts Django? (Django NYC)
Mike Dirolf
MongoDB at RubyConf
MongoDB at RubyConf
Mike Dirolf
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
Mike Dirolf
MongoDB London PHP
MongoDB London PHP
Mike Dirolf
MongoDB EuroPython 2009
MongoDB EuroPython 2009
Mike Dirolf
MongoDB SF Python
MongoDB SF Python
Mike Dirolf
MongoDB SF Ruby
MongoDB SF Ruby
Mike Dirolf
More from Mike Dirolf
(13)
Indexing
Indexing
Inside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Inside PyMongo - MongoNYC
Inside PyMongo - MongoNYC
FrozenRails Training
FrozenRails Training
Python Development (MongoSF)
Python Development (MongoSF)
MongoDB: How it Works
MongoDB: How it Works
MongoDB hearts Django? (Django NYC)
MongoDB hearts Django? (Django NYC)
MongoDB at RubyConf
MongoDB at RubyConf
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
MongoDB London PHP
MongoDB London PHP
MongoDB EuroPython 2009
MongoDB EuroPython 2009
MongoDB SF Python
MongoDB SF Python
MongoDB SF Ruby
MongoDB SF Ruby
Recently uploaded
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
The Digital Insurer
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Boston Institute of Analytics
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Recently uploaded
(20)
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Introduction to MongoDB
1.
open-‐source, high-‐performance,
document-‐oriented database
2.
Non-relational
Operational Stores (“NoSQL”) New Gen. OLAP RDBMS (vertica, aster, greenplum) (Oracle, MySQL)
3.
NoSQL Really Means:
non-‐relational, next-‐generation operational datastores and databases
4.
no joins +
no complex transactions Horizontally Scalable Architectures
5.
no joins +
no complex transactions New Data Models
6.
New Data Models improved
ways to develop applications?
7.
Data Models
Key / Value memcached, Dynamo Tabular BigTable Document Oriented MongoDB, CouchDB, JSON stores
8.
• memcached scalability &
performance • key/value • RDBMS depth of functionality
9.
JSON-style Documents
represented as BSON {“hello”: “world”} x16x00x00x00x02hello x00x06x00x00x00world x00x00 http://bsonspec.org
10.
Flexible “Schemas”
{“author”: “eliot”, {“author”: “mike”, “text”: “...”, “text”: “...”} “tags”: [“mongodb”]}
11.
Dynamic Queries
12.
Atomic Update
Modifiers
13.
Focus on Performance
14.
Replication
master slave master master slave slave slave slave master master slave master
15.
Auto-sharding
Shards mongod mongod mongod ... Config mongod mongod mongod Servers mongod mongod mongod mongos mongos ... client
16.
Many Supported Platforms /
Languages
17.
Best Use Cases
T Scaling Out Caching The Web High Volume
18.
Less Good At
highly transactional ad-‐hoc business intelligence problems that require SQL
19.
A Quick Aside _id
special key present in all documents unique across a Collection any type you want
20.
Post {author: “mike”, date:
new Date(), text: “my blog post...”, tags: [“mongodb”, “intro”]}
21.
Comment {author: “eliot”, date:
new Date(), text: “great post!”}
22.
New Post post =
{author: “mike”, date: new Date(), text: “my blog post...”, tags: [“mongodb”, “intro”]} db.posts.save(post)
23.
Embedding a Comment c
= {author: “eliot”, date: new Date(), text: “great post!”} db.posts.update({_id: post._id}, {$push: {comments: c}})
24.
Posts by Author db.posts.find({author:
“mike”})
25.
Last 10 Posts db.posts.find()
.sort({date: -‐1}) .limit(10)
26.
Posts Since April
1 april_1 = new Date(2010, 3, 1) db.posts.find({date: {$gt: april_1}})
27.
Posts Ending With
‘Tech’ db.posts.find({text: /Tech$/})
28.
Posts With a
Tag db.posts.find({tags: “mongodb”}) ...and Fast (multi-‐key indexes) db.posts.ensureIndex({tags: 1})
29.
Indexing / Querying
on Embedded Docs (dot notation) db.posts.ensureIndex({“comments.author”: 1}) db.posts.find({“comments.author”: “eliot”})
30.
Counting Posts db.posts.count() db.posts.find({author: “mike”}).count()
31.
Basic Paging page =
2 page_size = 15 db.posts.find().limit(page_size) .skip(page * page_size)
32.
Migration: Adding Titles
(just start adding them) post = {author: “mike”, date: new Date(), text: “another blog post...”, tags: [“mongodb”], title: “MongoDB for Fun and Profit”} post_id = db.posts.save(post)
33.
Advanced Queries
$gt, $lt, $gte, $lte, $ne, $all, $in, $nin db.posts.find({$where: “this.author == ‘mike’ || this.title == ‘foo’”})
34.
Other Cool Stuff aggregation
and map/reduce capped collections unique indexes mongo shell GridFS geo
35.
slides will be
up on http://dirolf.com Download MongoDB http://www.mongodb.org and let us know what you think @mdirolf @mongodb
Download now