SlideShare a Scribd company logo
#MDBW17
@jaydestro
Your Introduction To MongoDB
Jumpstart!
#MDBW17
Who is this guy?
#MDBW17
Why am I here?
I love waking up early.
or...
You are ready to start your MongoDB World Experience!
#MDBW17
Agenda
• Document Model
• Query Language
• Compatibility
• MongoDB Components
• SysAdmin/DevOps - Implementation
#MDBW17
What color is this dress?
#MDBW17
#MDBW17
It went viral
#MDBW17
The webservers… not so happy.
#MDBW17
What did I learn?
● People like dresses
● People LOVE sharing opinions
● The webservers were not efficient
● MongoDB withstood the traffic
● MongoDB was perfect for voting app
#MDBW17
Enough about me.
#MDBW17
OK, so what is MongoDB?
MongoDB is a cross-platform and open-source
document-oriented database, a kind of NoSQL
database. As a document database, MongoDB
shuns the relational database's table-based
structure to adapt JSON-like documents that
have dynamic schemas which it calls BSON.
#MDBW17
OK, so what is MongoDB?
● Written in C++, C and JavaScript.
● Source and binary packages available for
download on mongodb.com/download
● Affero GPL License
● Ready for Cloud or Bare Metal Environments
#MDBW17
OK, so what is MongoDB?
MongoDB was written to make it simple to store
data.
{"Key": "Value"}
Create dynamic schemas for your data.
Model your data based on your app.
#MDBW17
More than just key-value
var LocationSchema = new Schema({
name: String,
loc: {
type: [Number], // [<longitude>, <latitude>]
index: '2d' // create the geospatial index
}
});
Create dynamic schemas for your data.
Model your data based on your app.
Document Model
#MDBW17
We're talkin' about documents
#MDBW17
We're talkin' about documents
#MDBW17
We're talkin' about documents
#MDBW17
Rich data similar to JSON
#MDBW17
BSON - Binary JSON
● Binary serialization JSON data representation!
● Easier to transfer than text files.
● Lightweight, transversable, efficient.
Query Language
#MDBW17
Expressive Query Language
#MDBW17
Expressive Query Language
#MDBW17
Multi-Model Database
#MDBW17
Expressive Query Language
#MDBW17
Indexes support the efficient
execution of queries in
MongoDB. Without indexes,
MongoDB must perform a
collection scan
Without an index, MongoDB
must perform a collection
scan. (Look at every doc for
results)
Indexes
#MDBW17
• Single Field
• Multikey
• Text
• Geospatial
• Hashed
• Compound
Indexes Types
#MDBW17
A framework for data
aggregation modeled on the
concept of data processing
pipelines.
Documents enter a multi-stage
pipeline that transforms the
documents into aggregated
results.
Aggregation Pipeline
#MDBW17
Reduce the CPU cycles in
processing your app, let
MongoDB handle
aggregation.
Results produced from
aggregation lower in total byte
size of your data, saving
bandwith.
Aggregation Pipeline
#MDBW17
bash-3.2$ ps auxwww | grep mongod.conf | awk '{ print $2 }'
39087
41024
Think about a UNIX pipeline, stages.
#MDBW17
Aggregation Pipeline
Compatibility
#MDBW17
Cross-platform
#MDBW17
Drivers & Frameworks
MongoDB
Components
#MDBW17
A replica set in MongoDB is a
group of mongod processes
that maintain the same data
set
Replica sets provide
redundancy and high
availability, and are the basis
for all production deployments.
Replica sets - Reliability
#MDBW17
Replication
PRIMARY
SECONDARY SECONDARY
DRIVER
APPLICATION
#MDBW17
Our primary has failed
PRIMARY
SECONDARY SECONDARY
DRIVER
APPLICATION
#MDBW17
Election of new primary
FAILED
SECONDARY
DRIVER
APPLICATION
SECPMNDA PRIMARYSECONDARY
#MDBW17
Node recovery
RECOVERY
SECONDARY
DRIVER
APPLICATION
SECPMNDA PRIMARYSECONDARY
#MDBW17
Back in biz
SECONDARY
SECONDARY
DRIVER
APPLICATION
PRIMARY
#MDBW17
Sharding is a method for
distributing data across
multiple machines.
MongoDB uses sharding to
support deployments with very
large data sets and high
throughput operations.
Sharding - Throughput and data distro
#MDBW17
Sharding
SHARD
0
SHARD
1
SHARD
2
SHARD
3
ROUTER
mongos
DRIVER
APPLICATION
P
S S
CONFIG SERVERS
#MDBW17
Sharding
ROUTER
mongos
DRIVER
APPLICATION
P
S S
P
S S
P
S S
P
S S
P
S S
CONFIG SERVERS
SysAdmins and
DevOps
Let's get started
#MDBW17
Tasks to consider
PATCHES
UPGRADES
SECURITY
BACKUPS
RECOVERY
99.999% UPTIME
UPSCALE
DOWNSCALE
#MDBW17
Helping you deploy in any environment
ConvenienceControl
Cloud ManagerOps Manager MongoDB Atlas
data: on-prem or cloud
ops: on-prem or cloud
data: on-prem or cloud
ops: cloud
Fully Managed Cloud
#MDBW17
Helping you deploy in any environment
ConvenienceControl
Cloud ManagerOps Manager MongoDB Atlas
data: on-prem or cloud
ops: on-prem or cloud
data: on-prem or cloud
ops: cloud
Fully Managed Cloud
#MDBW17
Helping you deploy in any environment
ConvenienceControl
Cloud ManagerOps Manager MongoDB Atlas
data: on-prem or cloud
ops: on-prem or cloud
data: on-prem or cloud
ops: cloud
Fully Managed Cloud
#MDBW17
Fully automated MongoDB hosting in the cloud
#MDBW17
Highly available by default
• Three node prod, standard
• Self healing
• Redundant
• Multiple Availability Zones
#MDBW17
Easily scale
#MDBW17
Security, MongoDB Atlas's #1 Priority
In-flight Security:
• TLS/SSL
• Authentication and
Authorization
• IP Whitelists
• User roles
At-rest security (AWS):
• AWS EBS Volumes
• AES-256 CBC hardware
encryption
#MDBW17
Continuous Backup / Point-in-time Restore
● Snapshots every 6 hours
● Point-in-time backup of replica
● Pay-as-you-go
● Set up at any time
● Queryable Backup without full restore
● Replicas are for redundancy, not data
recovery
#MDBW17
Data Explorer
#MDBW17
Graphs and Metrics
● MongoDB specific
● Hardware specific
● Utilization
● Performance
#MDBW17
Real time performance metrics
#MDBW17
Monitoring and Alerting
● Supports Third-Party integrations
● Webhooks
● Email
● SMS
● PagerDuty
● Slack
#MDBW17
Live migration tools
● Just provide details on where your data is
● Cutover window provided by tailing oplog live
● Reduced downtime over manual import
● Support directly from MongoDB team
#MDBW17
DevOps deployment, we're ready for you!
#MDBW17
AWS (VPC Peering!)
#MDBW17
AWS, Google Cloud, Azure
#MDBW17
Atlas free tier, get started now!
● mongodb.com/atlas
● Free three node cluster
● 512 MB Disk
● No credit card
● Easiest way to start
#MDBW17
What's Next?
● MongoDB University
● YouTube Tutorials
● Ask The Experts
● Advocacy Hub
● Stop by our booth
#MDBW17
Come see me in back to ask questions!
Jumpstart: Your Introduction to MongoDB

More Related Content

What's hot (20)

PPTX
Sizing Your MongoDB Cluster
MongoDB
 
PPTX
Cloud Backup Overview
MongoDB
 
PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PPTX
Common Cluster Configuration Pitfalls
MongoDB
 
KEY
Hybrid MongoDB and RDBMS Applications
Steven Francia
 
PDF
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
MongoDB
 
PDF
MongoDB World 2019: Raiders of the Anti-patterns: A Journey Towards Fixing Sc...
MongoDB
 
PPTX
How Thermo Fisher is Reducing Data Analysis Times from Days to Minutes with M...
MongoDB
 
PPTX
Advanced Schema Design Patterns
MongoDB
 
PPTX
Sizing MongoDB Clusters
MongoDB
 
PPTX
Real Time Data Analytics with MongoDB and Fluentd at Wish
MongoDB
 
PDF
MongoDB .local Bengaluru 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PPTX
A Presentation on MongoDB Introduction - Habilelabs
HabileLabs
 
PPTX
Introducing Stitch
MongoDB
 
PDF
MongoDB .local Chicago 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PPTX
Private Cloud Self-Service at Scale
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
PPTX
Webinar: When to Use MongoDB
MongoDB
 
PPTX
Solving Your Backup Needs Using Ops Manager, Cloud Manager and Atlas
MongoDB
 
PPTX
How to leverage MongoDB for Big Data Analysis and Operations with MongoDB's A...
Gianfranco Palumbo
 
Sizing Your MongoDB Cluster
MongoDB
 
Cloud Backup Overview
MongoDB
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
Common Cluster Configuration Pitfalls
MongoDB
 
Hybrid MongoDB and RDBMS Applications
Steven Francia
 
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
MongoDB
 
MongoDB World 2019: Raiders of the Anti-patterns: A Journey Towards Fixing Sc...
MongoDB
 
How Thermo Fisher is Reducing Data Analysis Times from Days to Minutes with M...
MongoDB
 
Advanced Schema Design Patterns
MongoDB
 
Sizing MongoDB Clusters
MongoDB
 
Real Time Data Analytics with MongoDB and Fluentd at Wish
MongoDB
 
MongoDB .local Bengaluru 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
A Presentation on MongoDB Introduction - Habilelabs
HabileLabs
 
Introducing Stitch
MongoDB
 
MongoDB .local Chicago 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
Private Cloud Self-Service at Scale
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
Webinar: When to Use MongoDB
MongoDB
 
Solving Your Backup Needs Using Ops Manager, Cloud Manager and Atlas
MongoDB
 
How to leverage MongoDB for Big Data Analysis and Operations with MongoDB's A...
Gianfranco Palumbo
 

Similar to Jumpstart: Your Introduction to MongoDB (20)

PPTX
Jumpstart: Your Introduction to MongoDB
MongoDB
 
PPTX
Jumpstart: Your Introduction To MongoDB
MongoDB
 
PDF
MongoDB
Serdar Buyuktemiz
 
PPTX
MongoDB Evening Austin, TX 2017
MongoDB
 
PDF
Mongo db first steps with csharp
Serdar Buyuktemiz
 
PPTX
MongoDB World 2018: Bumps and Breezes: Our Journey from RDBMS to MongoDB
MongoDB
 
PPTX
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDB
MongoDB
 
PPTX
When to Use MongoDB
MongoDB
 
PPTX
MongoDB.pptx
Sigit52
 
PPTX
Powering Microservices with MongoDB, Docker, Kubernetes & Kafka – MongoDB Eur...
Andrew Morgan
 
PPTX
MongoDB BI Connector & Tableau
MongoDB
 
PPTX
Mongodb
ASEEMSRIVASTAVA22
 
PPTX
MongoDB.pptx
Aayush Chimaniya
 
PPTX
Basics of MongoDB
HabileLabs
 
PPTX
Using MongoDB For BigData in 20 Minutes
András Fehér
 
PPTX
mongodb_Introduction
Vikas Pratap Singh
 
PDF
MongoDB Europe 2016 - Powering Microservices with Docker, Kubernetes, and Kafka
MongoDB
 
PPTX
Webinar: Live Data Visualisation with Tableau and MongoDB
MongoDB
 
PDF
Introduction to MongoDB Basics from SQL to NoSQL
Mayur Patil
 
PPTX
Introduction to MongoDB
Stiliyan Kanchev
 
Jumpstart: Your Introduction to MongoDB
MongoDB
 
Jumpstart: Your Introduction To MongoDB
MongoDB
 
MongoDB Evening Austin, TX 2017
MongoDB
 
Mongo db first steps with csharp
Serdar Buyuktemiz
 
MongoDB World 2018: Bumps and Breezes: Our Journey from RDBMS to MongoDB
MongoDB
 
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDB
MongoDB
 
When to Use MongoDB
MongoDB
 
MongoDB.pptx
Sigit52
 
Powering Microservices with MongoDB, Docker, Kubernetes & Kafka – MongoDB Eur...
Andrew Morgan
 
MongoDB BI Connector & Tableau
MongoDB
 
MongoDB.pptx
Aayush Chimaniya
 
Basics of MongoDB
HabileLabs
 
Using MongoDB For BigData in 20 Minutes
András Fehér
 
mongodb_Introduction
Vikas Pratap Singh
 
MongoDB Europe 2016 - Powering Microservices with Docker, Kubernetes, and Kafka
MongoDB
 
Webinar: Live Data Visualisation with Tableau and MongoDB
MongoDB
 
Introduction to MongoDB Basics from SQL to NoSQL
Mayur Patil
 
Introduction to MongoDB
Stiliyan Kanchev
 
Ad

More from MongoDB (20)

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

Recently uploaded (20)

PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
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
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 

Jumpstart: Your Introduction to MongoDB