SlideShare a Scribd company logo
MongoDB Administration 101 
Dave Finnegan 
Senior Solution Architect, MongoDB Inc.
Agenda 
• MongoDB Philosophy 
• Data Model 
• High Availability through Replication 
• Scalability through Sharding 
• Deployment Architectures & Operations 
2
MongoDB Philosophy
MongoDB and Enterprise IT Stack 
4 
Applications 
CRM, ERP, Collaboration, Mobile, BI 
Data Management 
Online Data Offline Data 
Hadoop EDW 
Management & Monitoring 
Security & Auditing 
RDBMS 
RDBMS 
Infrastructure 
OS & Virtualization, Compute, Storage, Network
MongoDB Operations for 
Developers 
Dave Finnegan 
Senior Solution Architect, MongoDB Inc.
Operational Database Landscape 
5
Data Model
Document Data Model 
Relational MongoDB 
7 
{ 
first_name: ‘Paul’, 
surname: ‘Miller’, 
city: ‘London’, 
location: [45.123,47.232], 
cars: [ 
{ model: ‘Bentley’, 
year: 1973, 
value: 100000, … }, 
{ model: ‘Rolls Royce’, 
year: 1965, 
value: 330000, … } 
} 
}
Documents are Rich Data Structures 
8 
{ 
first_name: ‘Paul’, 
surname: ‘Miller’, 
cell: ‘+447557505611’ 
city: ‘London’, 
location: [45.123,47.232], 
Profession: [banking, finance, trader], 
cars: [ 
{ model: ‘Bentley’, 
year: 1973, 
value: 100000, … }, 
{ model: ‘Rolls Royce’, 
year: 1965, 
value: 330000, … } 
} 
} 
Fields can contain an array of 
sub-documents 
Fields 
Typed field values 
Fields can 
contain arrays 
String 
Number 
Geo- 
Coordinates
Document Model Benefits 
• Agility and flexibility 
–Data model supports business change 
–Rapidly iterate to meet new requirements 
• Intuitive, natural data representation 
–Eliminates ORM layer 
–Developers are more productive 
• Reduces the need for joins, disk seeks 
–Programming is more simple 
–Performance delivered at scale 
9
Replication
Why Replication? 
• High Availability (HA) through data duplication 
• Distributed access at low latency 
• Workload isolation – OLTP, Query, Analytics 
11
Replica Sets 
Application 
12 
• Replica Set – two or more copies 
• Self-healing shard 
• Addresses availability 
considerations: 
– High Availability 
– Disaster Recovery 
– Maintenance 
• Deployment Flexibility 
– Data locality to users 
– Workload isolation: operational & analytics 
Driver 
Primary 
Secondary 
Secondary 
Replication
Replica Set – Creation
Replica Set – Initialize
Replica Set – Failure
Replica Set – Failover
Replica Set – Recovery
Replica Set – Recovered
Scalability Through Sharding
Working Set Exceeds Physical 
Memory 
20 
Indexes 
Indexes 
Indexes 
Working Set 
Working Set 
Working Set 
Physical Memory
Scaling: Sharding 
21 
mongod 
Key Range 
0..100 
Read/Write Scalability
Scaling: Sharding 
22 
Key Range 
0.. 
Key Range 
50..100 
mongod mongod 
Read/Write Scalability
Scaling: Sharding 
23 
Key Range 
0..25 
Key Range 
25.. 
Key Range 
5150..75 
Key Range 
75..100 
mongod mongod mongod mongod 
Read/Write Scalability
MongoDB Architecture 
28
Deployment Architectures & 
Operations
Single Data Center 
30 
• Automated failover 
• Tolerates server failures 
• Tolerates rack failures 
• Number of replicas 
defines failure tolerance 
Primary – A Primary – B Primary – C 
Secondary Secondary – B – A Secondary – A 
Secondary – C Secondary – C Secondary – B
Active/Standby Data Center 
Primary – A Primary – B Primary – C 
Secondary – B Secondary – C Secondary – A 
Secondary – A Secondary – B Secondary – C 
• Tolerates server and rack failure 
• Standby data center 
31 
Data Center - West 
Data Center - East
Active/Active Data Center 
Primary – A Primary – B Primary – C 
Secondary Secondary – C – A Secondary – B 
Secondary – A Secondary – B Secondary – C 
Secondary – B Secondary – C Secondary – A 
Arbiter – A Arbiter – B Arbiter – C 
• Tolerates server, rack, data center failures, network 
partitions 
32 
Data Center - West 
Data Center - East 
Data Center - Central
Read Global/Write Local 
33 
Primary:NYC 
Primary:LON 
Secondary:NYC 
Primary:SYD 
Secondary:LON 
Secondary:NYC 
Secondary:SYD 
Secondary:LON 
Secondary:SYD
MongoDB Management Service
MongoDB Management Service 
Management for MongoDB, created by the engineers who 
develop the database 
• Automation, for single-click 
provisioning, scaling & 
upgrades 
• Monitoring, with charts, 
dashboards and alerts on 100+ 
metrics 
• Backup and restore, with point-in- 
35 
time recovery, support for 
sharded clusters
Security
Defense in Depth Security Architecture 
37
Enterprise-Grade Security 
38 
Business Needs Security Features 
Authentication In Database 
LDAP* 
Kerberos* 
x.509 Certificates* 
Authorization Built-in Roles 
User-Defined Roles 
Field-Level Redaction 
Auditing Admin Operations* 
Queries (via Partner Solutions) 
Encryption Network: SSL (with FIPS 140-2)* 
Disk: Partner Solutions 
*Included with MongoDB Enterprise
Resources for Ops
For More Information 
Resource Location 
Resource Location 
MongoDB Downloads mongodb.com/download 
Free Online Training mongodb.com/education 
Webinars and Events mongodb.com/events 
White Papers mongodb.com/white-papers 
Case Studies mongodb.com/customers 
Presentations mongodb.com/presentations 
Documentation docs.mongodb.org 
40
Thank you!

More Related Content

What's hot (20)

PPTX
A Technical Introduction to WiredTiger
MongoDB
 
ODP
Introduction to PostgreSQL
Jim Mlodgenski
 
PDF
ProxySQL High Avalability and Configuration Management Overview
René Cannaò
 
PDF
The Full MySQL and MariaDB Parallel Replication Tutorial
Jean-François Gagné
 
PPTX
Sharding Methods for MongoDB
MongoDB
 
PDF
MongoDB Performance Tuning
Puneet Behl
 
PDF
MySQL Performance Schema in Action
Sveta Smirnova
 
PDF
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
confluent
 
PPT
Introduction to redis
Tanu Siwag
 
PDF
Mastering PostgreSQL Administration
EDB
 
PDF
MariaDB MaxScale
MariaDB plc
 
PPTX
PL22 - Backup and Restore Performance.pptx
Vinicius M Grippa
 
PDF
Scaling your Data Pipelines with Apache Spark on Kubernetes
Databricks
 
PDF
Cassandra Introduction & Features
DataStax Academy
 
PDF
Tuning Autovacuum in Postgresql
Mydbops
 
PDF
Iceberg: A modern table format for big data (Strata NY 2018)
Ryan Blue
 
PPTX
An Introduction to MongoDB Ops Manager
MongoDB
 
PPTX
Mongo db intro.pptx
JWORKS powered by Ordina
 
PDF
MySQL/MariaDB Proxy Software Test
I Goo Lee
 
PDF
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Databricks
 
A Technical Introduction to WiredTiger
MongoDB
 
Introduction to PostgreSQL
Jim Mlodgenski
 
ProxySQL High Avalability and Configuration Management Overview
René Cannaò
 
The Full MySQL and MariaDB Parallel Replication Tutorial
Jean-François Gagné
 
Sharding Methods for MongoDB
MongoDB
 
MongoDB Performance Tuning
Puneet Behl
 
MySQL Performance Schema in Action
Sveta Smirnova
 
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
confluent
 
Introduction to redis
Tanu Siwag
 
Mastering PostgreSQL Administration
EDB
 
MariaDB MaxScale
MariaDB plc
 
PL22 - Backup and Restore Performance.pptx
Vinicius M Grippa
 
Scaling your Data Pipelines with Apache Spark on Kubernetes
Databricks
 
Cassandra Introduction & Features
DataStax Academy
 
Tuning Autovacuum in Postgresql
Mydbops
 
Iceberg: A modern table format for big data (Strata NY 2018)
Ryan Blue
 
An Introduction to MongoDB Ops Manager
MongoDB
 
Mongo db intro.pptx
JWORKS powered by Ordina
 
MySQL/MariaDB Proxy Software Test
I Goo Lee
 
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Databricks
 

Viewers also liked (20)

KEY
MongoDB Administration ~ Kevin Hanson
hungarianhc
 
PPTX
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
KEY
MongoDB Administration 20110922
radiocats
 
PPT
Replica Sets (NYC NoSQL Meetup)
MongoDB
 
PDF
Mongo db security guide
Deysi Gmarra
 
PPTX
Back to Basics: Build Something Big With MongoDB
MongoDB
 
PPTX
Securing Your MongoDB Deployment
MongoDB
 
PPTX
Securing Your MongoDB Implementation
MongoDB
 
PPTX
Advanced Replication
MongoDB
 
PPTX
MongoDB Replication (Dwight Merriman)
MongoSF
 
PPTX
Webinar: Architecting Secure and Compliant Applications with MongoDB
MongoDB
 
PDF
MongoDB Performance Tuning
MongoDB
 
PPTX
Automating a Secure MongoDB Deployment with Opscode and Gazzang
MongoDB
 
PPTX
Building Applications using MongoDB, Node.js and Socket.io
MongoDB
 
PPTX
Mongo DB 102
Abhijeet Vaikar
 
PPTX
MongoDB 101
Abhijeet Vaikar
 
PDF
Setting up mongodb sharded cluster in 30 minutes
Sudheer Kondla
 
PDF
MongoDB
Serdar Buyuktemiz
 
PDF
Spring Data MongoDB Webiner
Hakan Özler
 
PPTX
Upgrading Mobile Tester's Weapons with Advanced Debugging
Abhijeet Vaikar
 
MongoDB Administration ~ Kevin Hanson
hungarianhc
 
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
MongoDB Administration 20110922
radiocats
 
Replica Sets (NYC NoSQL Meetup)
MongoDB
 
Mongo db security guide
Deysi Gmarra
 
Back to Basics: Build Something Big With MongoDB
MongoDB
 
Securing Your MongoDB Deployment
MongoDB
 
Securing Your MongoDB Implementation
MongoDB
 
Advanced Replication
MongoDB
 
MongoDB Replication (Dwight Merriman)
MongoSF
 
Webinar: Architecting Secure and Compliant Applications with MongoDB
MongoDB
 
MongoDB Performance Tuning
MongoDB
 
Automating a Secure MongoDB Deployment with Opscode and Gazzang
MongoDB
 
Building Applications using MongoDB, Node.js and Socket.io
MongoDB
 
Mongo DB 102
Abhijeet Vaikar
 
MongoDB 101
Abhijeet Vaikar
 
Setting up mongodb sharded cluster in 30 minutes
Sudheer Kondla
 
Spring Data MongoDB Webiner
Hakan Özler
 
Upgrading Mobile Tester's Weapons with Advanced Debugging
Abhijeet Vaikar
 
Ad

Similar to MongoDB Administration 101 (20)

PPTX
MongoDB Operations for Developers
MongoDB
 
PPTX
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
PPTX
MonogDB Admin 101 - MonogDBDays Munich
Marc Schwering
 
PPTX
Webinar: General Technical Overview of MongoDB for Ops Teams
MongoDB
 
PPTX
MongoDB.local Atlanta: MongoDB on Z
MongoDB
 
PPTX
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
PPT
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
PPTX
MongoDB Deployment Checklist
MongoDB
 
PPTX
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
PPTX
Ops Jumpstart: Admin 101
MongoDB
 
PPTX
Agility and Scalability with MongoDB
MongoDB
 
PPTX
Conceptos básicos. Seminario web 6: Despliegue de producción
MongoDB
 
PDF
MongoDB - General Purpose Database
Ashnikbiz
 
PPTX
Data Treatment MongoDB
Norberto Leite
 
PPTX
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
PPTX
MongoDB Evenings Toronto - Monolithic to Microservices with MongoDB
MongoDB
 
PPTX
MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101
MongoDB
 
PPTX
MongoDB and DigitalOcean Automation with Cloud Manager
Jay Gordon
 
PDF
Introduction to mongo db
Lawrence Mwai
 
PDF
Mongodb The Definitive Guide 3rd Edition 3rd Edition Kristina Chodorow Eoin B...
ikareugine
 
MongoDB Operations for Developers
MongoDB
 
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
MonogDB Admin 101 - MonogDBDays Munich
Marc Schwering
 
Webinar: General Technical Overview of MongoDB for Ops Teams
MongoDB
 
MongoDB.local Atlanta: MongoDB on Z
MongoDB
 
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
MongoDB Deployment Checklist
MongoDB
 
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
Ops Jumpstart: Admin 101
MongoDB
 
Agility and Scalability with MongoDB
MongoDB
 
Conceptos básicos. Seminario web 6: Despliegue de producción
MongoDB
 
MongoDB - General Purpose Database
Ashnikbiz
 
Data Treatment MongoDB
Norberto Leite
 
Ops Jumpstart: MongoDB Administration 101
MongoDB
 
MongoDB Evenings Toronto - Monolithic to Microservices with MongoDB
MongoDB
 
MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101
MongoDB
 
MongoDB and DigitalOcean Automation with Cloud Manager
Jay Gordon
 
Introduction to mongo db
Lawrence Mwai
 
Mongodb The Definitive Guide 3rd Edition 3rd Edition Kristina Chodorow Eoin B...
ikareugine
 
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
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
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
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
 

Recently uploaded (20)

PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Python basic programing language for automation
DanialHabibi2
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 

MongoDB Administration 101

  • 1. MongoDB Administration 101 Dave Finnegan Senior Solution Architect, MongoDB Inc.
  • 2. Agenda • MongoDB Philosophy • Data Model • High Availability through Replication • Scalability through Sharding • Deployment Architectures & Operations 2
  • 4. MongoDB and Enterprise IT Stack 4 Applications CRM, ERP, Collaboration, Mobile, BI Data Management Online Data Offline Data Hadoop EDW Management & Monitoring Security & Auditing RDBMS RDBMS Infrastructure OS & Virtualization, Compute, Storage, Network
  • 5. MongoDB Operations for Developers Dave Finnegan Senior Solution Architect, MongoDB Inc.
  • 8. Document Data Model Relational MongoDB 7 { first_name: ‘Paul’, surname: ‘Miller’, city: ‘London’, location: [45.123,47.232], cars: [ { model: ‘Bentley’, year: 1973, value: 100000, … }, { model: ‘Rolls Royce’, year: 1965, value: 330000, … } } }
  • 9. Documents are Rich Data Structures 8 { first_name: ‘Paul’, surname: ‘Miller’, cell: ‘+447557505611’ city: ‘London’, location: [45.123,47.232], Profession: [banking, finance, trader], cars: [ { model: ‘Bentley’, year: 1973, value: 100000, … }, { model: ‘Rolls Royce’, year: 1965, value: 330000, … } } } Fields can contain an array of sub-documents Fields Typed field values Fields can contain arrays String Number Geo- Coordinates
  • 10. Document Model Benefits • Agility and flexibility –Data model supports business change –Rapidly iterate to meet new requirements • Intuitive, natural data representation –Eliminates ORM layer –Developers are more productive • Reduces the need for joins, disk seeks –Programming is more simple –Performance delivered at scale 9
  • 12. Why Replication? • High Availability (HA) through data duplication • Distributed access at low latency • Workload isolation – OLTP, Query, Analytics 11
  • 13. Replica Sets Application 12 • Replica Set – two or more copies • Self-healing shard • Addresses availability considerations: – High Availability – Disaster Recovery – Maintenance • Deployment Flexibility – Data locality to users – Workload isolation: operational & analytics Driver Primary Secondary Secondary Replication
  • 14. Replica Set – Creation
  • 15. Replica Set – Initialize
  • 16. Replica Set – Failure
  • 17. Replica Set – Failover
  • 18. Replica Set – Recovery
  • 19. Replica Set – Recovered
  • 21. Working Set Exceeds Physical Memory 20 Indexes Indexes Indexes Working Set Working Set Working Set Physical Memory
  • 22. Scaling: Sharding 21 mongod Key Range 0..100 Read/Write Scalability
  • 23. Scaling: Sharding 22 Key Range 0.. Key Range 50..100 mongod mongod Read/Write Scalability
  • 24. Scaling: Sharding 23 Key Range 0..25 Key Range 25.. Key Range 5150..75 Key Range 75..100 mongod mongod mongod mongod Read/Write Scalability
  • 27. Single Data Center 30 • Automated failover • Tolerates server failures • Tolerates rack failures • Number of replicas defines failure tolerance Primary – A Primary – B Primary – C Secondary Secondary – B – A Secondary – A Secondary – C Secondary – C Secondary – B
  • 28. Active/Standby Data Center Primary – A Primary – B Primary – C Secondary – B Secondary – C Secondary – A Secondary – A Secondary – B Secondary – C • Tolerates server and rack failure • Standby data center 31 Data Center - West Data Center - East
  • 29. Active/Active Data Center Primary – A Primary – B Primary – C Secondary Secondary – C – A Secondary – B Secondary – A Secondary – B Secondary – C Secondary – B Secondary – C Secondary – A Arbiter – A Arbiter – B Arbiter – C • Tolerates server, rack, data center failures, network partitions 32 Data Center - West Data Center - East Data Center - Central
  • 30. Read Global/Write Local 33 Primary:NYC Primary:LON Secondary:NYC Primary:SYD Secondary:LON Secondary:NYC Secondary:SYD Secondary:LON Secondary:SYD
  • 32. MongoDB Management Service Management for MongoDB, created by the engineers who develop the database • Automation, for single-click provisioning, scaling & upgrades • Monitoring, with charts, dashboards and alerts on 100+ metrics • Backup and restore, with point-in- 35 time recovery, support for sharded clusters
  • 34. Defense in Depth Security Architecture 37
  • 35. Enterprise-Grade Security 38 Business Needs Security Features Authentication In Database LDAP* Kerberos* x.509 Certificates* Authorization Built-in Roles User-Defined Roles Field-Level Redaction Auditing Admin Operations* Queries (via Partner Solutions) Encryption Network: SSL (with FIPS 140-2)* Disk: Partner Solutions *Included with MongoDB Enterprise
  • 37. For More Information Resource Location Resource Location MongoDB Downloads mongodb.com/download Free Online Training mongodb.com/education Webinars and Events mongodb.com/events White Papers mongodb.com/white-papers Case Studies mongodb.com/customers Presentations mongodb.com/presentations Documentation docs.mongodb.org 40