SlideShare a Scribd company logo
1 of 29
Download to read offline
César Trigo Esteban
Backend Development Director
Twitter: @CesarTrigoEs
www.mongodbspain.com
Twitter: @MongoDBSpain
An Introduction to
1 What is MongoDB
OVERVIEW
World Wide leading NoSQL Database
that allows companies to be more agile and scalable
1. Improving the customer experience
2. Allowing schemes to change quickly to adapt easily to changes
3. Enabling Big-Data
4. Accelerating time to market
5. Reducing costs
2 What is MongoDB
WHO IS USING MONGODB
More at: www.mongodb.com/customers
3 What is MongoDB
COMMUNITY
7Million +
Downloads
200k +
Education Registrations
30k +
MongoDB User Group Members
Fastest-growing community in Big Data
4 What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ Scalable
❖ High performance
❖ Full featured
4 What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ Scalable
❖ High performance
❖ Full featured
MongoDB Main Features
OPEN SOURCE
Source and supported drivers are open source and hosted at Github:
https://github.com/mongodb
Supported drivers for most programming languages
4.1
What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ High performance
❖ Scalable
❖ Full featured
5
5.1 MongoDB Main Features
DOCUMENT ORIENTED
● JSON-like format (BSON) documents as independent units
● Makes it easier to distribute data across multiple servers
● Natural object mapping due to JSON Objects
databasedatabase
collectiontable
documentrow
SQL Term MongoDB Term
SQL to MongoDB
fieldcolumn
embedding & linkingjoin
What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ Scalable
❖ High performance
❖ Full featured
6
MongoDB Main Features
NON-RELATIONAL & SCHEMA-LESS
User Hobbies
Addresses
Relational Databases (RDBMS) Data Model
6.1
MongoDB Main Features
NON-RELATIONAL & SCHEMA-LESS
User
Hobbies
Addresses
With MongoDB we can
store related content in
the same document
Non-Relational Data Model
6.2
MongoDB Main Features
NON-RELATIONAL & SCHEMA-LESS
User Info
- name - creation
- nick - ...
- age
Hobbies
Addresses
db.user.findOne();
{
_id: objectId("535c56cbdf1790f4e1c80074"),
name: "César Trigo",
nick: "CesarTrigo",
age: 25,
creation: ISODate("2014-04-27T01:00:59.448Z"),
hobbies: ["coding", "football", "basket"],
address:[{
street: "Calle Serrano",
number: 127,
city: "Madrid"
},
{
street: "Avenida Diagonal",
city: "Barcelona"
}],
}
coding basket
address address
MongoDB Document
6.3
football
MongoDB Main Features
NON-RELATIONAL & SCHEMA-LESS
User Info
- name - creation
- nick - ...
- age
Hobbies
Addresses
db.user.findOne();
{
_id: objectId("535c56cbdf1790f4e1c80074"),
name: "César Trigo",
nick: "CesarTrigo",
age: 25,
creation: ISODate("2014-04-27T01:00:59.448Z"),
hobbies: ["coding", "football", "basket"],
address:[{
street: "Calle Serrano",
number: 127,
city: "Madrid"
},
{
street: "Avenida Diagonal",
city: "Barcelona"
}],
}
coding basket
address address
MongoDB Document
6.3
football
MongoDB Main Features
NON-RELATIONAL & SCHEMA-LESS
User Info
- name - creation
- nick - ...
- age
Hobbies
Addresses
db.user.findOne();
{
_id: objectId("535c56cbdf1790f4e1c80074"),
name: "César Trigo",
nick: "CesarTrigo",
age: 25,
creation: ISODate("2014-04-27T01:00:59.448Z"),
hobbies: ["coding", "football", "basketball"],
address:[{
street: "Calle Serrano",
number: 127,
city: "Madrid"
},
{
street: "Avenida Diagonal",
city: "Barcelona"
}],
}
coding footbal basket
address address
MongoDB Document
6.3
What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ Scalable
❖ High performance
❖ Full featured
7
MongoDB Main Features
SCALABLE
Replication: provides redundancy and high data availability
Primary
Secondary
Secondary
D
R
I
V
E
R
APP
write
read
Asynchronous
Replication
● Automated replication and failover
● Multi-datacenter support
● Data durability and consistency
7.1
MongoDB Main Features
SCALABLE
Sharding: Storing data records across multiple machines to meeting the
demands of data growth
Shard 1 Shard 2 Shard 3 Shard N
● Increase capacity as you grow reducing the amount of data that
each server needs to store
● Reduces the number of operations each shard handles
● Automatic balancing of data
...
7.2
MongoDB Main Features
SCALABLE INFRASTRUCTURE
Application
Driver
Query Router Query Router
Primary
Secondary
Secondary
Primary
Secondary
Secondary
Primary
Secondary
Secondary
Primary
Secondary
Secondary
Shard 1 Shard 2 Shard 3 Shard N
...
...
7.3
What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ Scalable
❖ High performance
❖ Full featured
8
MongoDB Main Features
HIGH PERFORMANCE
vs
Better data locality In-memory caching Atomic operations
8.1
Relational MongoDB
MongoDB Main Features
HIGH PERFORMANCE
Driver
Secondary
Secondary
Write Concern: customizable write concerns for Replica Sets
Primary
write
replicate
replicate
response
apply
apply
Write operation to a replica set
Write to the primary and at
least one secondary
8.2
What is MongoDB
DEFINITION
MongoDB is a ...
… database
❖ Open source
❖ Document oriented
❖ Non-relational & Schema-less
❖ Scalable
❖ High performance
❖ Full featured
9
● Geospatial indexes to support
geographic data structures
● GeoJSON support
● 2d support for Flat / Euclidean plane
distance calculation
MongoDB Main Features
FULL FEATURED
Geospatial features
9.2
A solution for the real World
because the Earth is not flat!
2d Sphere Indexes: provides spherical
geometry support for Earth-like sphere
distance calculation
MongoDB Main Features
FULL FEATURED9.2
MongoDB Main Features
FULL FEATURED9.3
MongoDB Main Features
FULL FEATURED
Real time Aggregation: Aggregations are operations that process data
records and return computed results
9.3
Aggregation Pipelines
The pipeline provides efficient data
aggregation using native
operations within MongoDB
Map-Reduce
Uses custom JavaScript functions
to perform the map and reduce
operations, as well as the optional
finalize operation.
MongoDB Main Features
FULL FEATURED
MongoDB Management Service
● Server status monitoring
● Custom, metric-based alerting
● Fully managed backups
● Activity and logging viewers
● Automation coming soon
9.4
cesartrigo@gmail.com
@CesarTrigoEs
@MongoDBSpain
MongoDB Spain
www.mongodbspain.com
www.gigigo.com
César Trigo Esteban
Backend Development Director

More Related Content

What's hot

Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBMongoDB
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBLee Theobald
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentationHyphen Call
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRavi Teja
 
MongoDB Fundamentals
MongoDB FundamentalsMongoDB Fundamentals
MongoDB FundamentalsMongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBMike Dirolf
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptxSurya937648
 
Intro To MongoDB
Intro To MongoDBIntro To MongoDB
Intro To MongoDBAlex Sharp
 
Mongo DB schema design patterns
Mongo DB schema design patternsMongo DB schema design patterns
Mongo DB schema design patternsjoergreichert
 
Indexing with MongoDB
Indexing with MongoDBIndexing with MongoDB
Indexing with MongoDBMongoDB
 
An Enterprise Architect's View of MongoDB
An Enterprise Architect's View of MongoDBAn Enterprise Architect's View of MongoDB
An Enterprise Architect's View of MongoDBMongoDB
 

What's hot (20)

Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentation
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
An introduction to MongoDB
An introduction to MongoDBAn introduction to MongoDB
An introduction to MongoDB
 
MongoDB 101
MongoDB 101MongoDB 101
MongoDB 101
 
MongoDB Fundamentals
MongoDB FundamentalsMongoDB Fundamentals
MongoDB Fundamentals
 
Mongo db dhruba
Mongo db dhrubaMongo db dhruba
Mongo db dhruba
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptx
 
MongoDB
MongoDBMongoDB
MongoDB
 
Intro To MongoDB
Intro To MongoDBIntro To MongoDB
Intro To MongoDB
 
Mongo db report
Mongo db reportMongo db report
Mongo db report
 
Mongo DB
Mongo DBMongo DB
Mongo DB
 
Mongo DB schema design patterns
Mongo DB schema design patternsMongo DB schema design patterns
Mongo DB schema design patterns
 
MongoDB
MongoDBMongoDB
MongoDB
 
Indexing with MongoDB
Indexing with MongoDBIndexing with MongoDB
Indexing with MongoDB
 
MongodB Internals
MongodB InternalsMongodB Internals
MongodB Internals
 
An Enterprise Architect's View of MongoDB
An Enterprise Architect's View of MongoDBAn Enterprise Architect's View of MongoDB
An Enterprise Architect's View of MongoDB
 

Viewers also liked

Webinar: MongoDB Persistence with Java and Morphia
Webinar: MongoDB Persistence with Java and MorphiaWebinar: MongoDB Persistence with Java and Morphia
Webinar: MongoDB Persistence with Java and MorphiaMongoDB
 
Mango Database - Web Development
Mango Database - Web DevelopmentMango Database - Web Development
Mango Database - Web Developmentmssaman
 
MongoDB Hacks of Frustration
MongoDB Hacks of FrustrationMongoDB Hacks of Frustration
MongoDB Hacks of FrustrationMongoDB
 
Get your Spatial on with MongoDB in the Cloud
Get your Spatial on with MongoDB in the CloudGet your Spatial on with MongoDB in the Cloud
Get your Spatial on with MongoDB in the CloudMongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBJean-Luc David
 
Graphs, Edges & Nodes - Untangling the Social Web
Graphs, Edges & Nodes - Untangling the Social WebGraphs, Edges & Nodes - Untangling the Social Web
Graphs, Edges & Nodes - Untangling the Social WebJoël Perras
 
Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...
Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...
Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...MongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBChun-Kai Wang
 
Introduction to MongoDB (from Austin Code Camp)
Introduction to MongoDB (from Austin Code Camp)Introduction to MongoDB (from Austin Code Camp)
Introduction to MongoDB (from Austin Code Camp)Chris Edwards
 
Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...Neo4j
 
Concurrency Patterns with MongoDB
Concurrency Patterns with MongoDBConcurrency Patterns with MongoDB
Concurrency Patterns with MongoDBYann Cluchey
 
Elsevier: CSUN Alt Text Project
Elsevier: CSUN Alt Text ProjectElsevier: CSUN Alt Text Project
Elsevier: CSUN Alt Text ProjectTripp Narup
 
Bar charts for questtionnaire
Bar charts for questtionnaireBar charts for questtionnaire
Bar charts for questtionnairedanielr97
 
CALIFICACIONES FINALES CIENCIAS DE LA TIERRA " 5AING 5BCN "
CALIFICACIONES FINALES  CIENCIAS DE LA TIERRA " 5AING  5BCN " CALIFICACIONES FINALES  CIENCIAS DE LA TIERRA " 5AING  5BCN "
CALIFICACIONES FINALES CIENCIAS DE LA TIERRA " 5AING 5BCN " Gabriel Estrada
 
Bmihms subject -outlines_ihm03.10.14
Bmihms subject -outlines_ihm03.10.14Bmihms subject -outlines_ihm03.10.14
Bmihms subject -outlines_ihm03.10.14Ann Sheep
 
Biotechnology august2013-130926012214-phpapp02
Biotechnology august2013-130926012214-phpapp02Biotechnology august2013-130926012214-phpapp02
Biotechnology august2013-130926012214-phpapp02Supa Buoy
 
Lebowski Publishers - Najaar 2014
Lebowski Publishers - Najaar 2014Lebowski Publishers - Najaar 2014
Lebowski Publishers - Najaar 2014Xanne Liebregts
 

Viewers also liked (20)

Webinar: MongoDB Persistence with Java and Morphia
Webinar: MongoDB Persistence with Java and MorphiaWebinar: MongoDB Persistence with Java and Morphia
Webinar: MongoDB Persistence with Java and Morphia
 
Mango Database - Web Development
Mango Database - Web DevelopmentMango Database - Web Development
Mango Database - Web Development
 
MongoDB Hacks of Frustration
MongoDB Hacks of FrustrationMongoDB Hacks of Frustration
MongoDB Hacks of Frustration
 
Get your Spatial on with MongoDB in the Cloud
Get your Spatial on with MongoDB in the CloudGet your Spatial on with MongoDB in the Cloud
Get your Spatial on with MongoDB in the Cloud
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Graphs, Edges & Nodes - Untangling the Social Web
Graphs, Edges & Nodes - Untangling the Social WebGraphs, Edges & Nodes - Untangling the Social Web
Graphs, Edges & Nodes - Untangling the Social Web
 
Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...
Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...
Partner Recruitment Webinar: "Join the Most Productive Ecosystem in Big Data ...
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Introduction to MongoDB (from Austin Code Camp)
Introduction to MongoDB (from Austin Code Camp)Introduction to MongoDB (from Austin Code Camp)
Introduction to MongoDB (from Austin Code Camp)
 
Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...
 
Concurrency Patterns with MongoDB
Concurrency Patterns with MongoDBConcurrency Patterns with MongoDB
Concurrency Patterns with MongoDB
 
JSON-LD and MongoDB
JSON-LD and MongoDBJSON-LD and MongoDB
JSON-LD and MongoDB
 
Elsevier: CSUN Alt Text Project
Elsevier: CSUN Alt Text ProjectElsevier: CSUN Alt Text Project
Elsevier: CSUN Alt Text Project
 
North east
North eastNorth east
North east
 
Bar charts for questtionnaire
Bar charts for questtionnaireBar charts for questtionnaire
Bar charts for questtionnaire
 
CALIFICACIONES FINALES CIENCIAS DE LA TIERRA " 5AING 5BCN "
CALIFICACIONES FINALES  CIENCIAS DE LA TIERRA " 5AING  5BCN " CALIFICACIONES FINALES  CIENCIAS DE LA TIERRA " 5AING  5BCN "
CALIFICACIONES FINALES CIENCIAS DE LA TIERRA " 5AING 5BCN "
 
83 143-1-sm
83 143-1-sm83 143-1-sm
83 143-1-sm
 
Bmihms subject -outlines_ihm03.10.14
Bmihms subject -outlines_ihm03.10.14Bmihms subject -outlines_ihm03.10.14
Bmihms subject -outlines_ihm03.10.14
 
Biotechnology august2013-130926012214-phpapp02
Biotechnology august2013-130926012214-phpapp02Biotechnology august2013-130926012214-phpapp02
Biotechnology august2013-130926012214-phpapp02
 
Lebowski Publishers - Najaar 2014
Lebowski Publishers - Najaar 2014Lebowski Publishers - Najaar 2014
Lebowski Publishers - Najaar 2014
 

Similar to An introduction to MongoDB

Everything You Need to Know About MongoDB Development.pptx
Everything You Need to Know About MongoDB Development.pptxEverything You Need to Know About MongoDB Development.pptx
Everything You Need to Know About MongoDB Development.pptx75waytechnologies
 
how_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdfhow_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdfsarah david
 
how_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptxhow_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptxsarah david
 
Mongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in BangaloreMongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in Bangalorerajkamaltibacademy
 
Building your first app with MongoDB
Building your first app with MongoDBBuilding your first app with MongoDB
Building your first app with MongoDBNorberto Leite
 
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBDev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBMongoDB
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.Emroz Sardar
 
MongoDB Schema Design: Practical Applications and Implications
MongoDB Schema Design: Practical Applications and ImplicationsMongoDB Schema Design: Practical Applications and Implications
MongoDB Schema Design: Practical Applications and ImplicationsMongoDB
 
Introduction to MongoDB and its best practices
Introduction to MongoDB and its best practicesIntroduction to MongoDB and its best practices
Introduction to MongoDB and its best practicesAshishRathore72
 
Top MongoDB interview Questions and Answers
Top MongoDB interview Questions and AnswersTop MongoDB interview Questions and Answers
Top MongoDB interview Questions and Answersjeetendra mandal
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDBMongoDB
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB
 
L’architettura di Classe Enterprise di Nuova Generazione
L’architettura di Classe Enterprise di Nuova GenerazioneL’architettura di Classe Enterprise di Nuova Generazione
L’architettura di Classe Enterprise di Nuova GenerazioneMongoDB
 
Mongo db transcript
Mongo db transcriptMongo db transcript
Mongo db transcriptfoliba
 

Similar to An introduction to MongoDB (20)

Everything You Need to Know About MongoDB Development.pptx
Everything You Need to Know About MongoDB Development.pptxEverything You Need to Know About MongoDB Development.pptx
Everything You Need to Know About MongoDB Development.pptx
 
how_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdfhow_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdf
 
how_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptxhow_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptx
 
Mongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in BangaloreMongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in Bangalore
 
MongoDB
MongoDBMongoDB
MongoDB
 
Building your first app with MongoDB
Building your first app with MongoDBBuilding your first app with MongoDB
Building your first app with MongoDB
 
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBDev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDB
 
Mongodb
MongodbMongodb
Mongodb
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.
 
MongoDB DOC v1.5
MongoDB DOC v1.5MongoDB DOC v1.5
MongoDB DOC v1.5
 
MongoDB Schema Design: Practical Applications and Implications
MongoDB Schema Design: Practical Applications and ImplicationsMongoDB Schema Design: Practical Applications and Implications
MongoDB Schema Design: Practical Applications and Implications
 
MongoDB.pptx
MongoDB.pptxMongoDB.pptx
MongoDB.pptx
 
MongoDB Basics Unileon
MongoDB Basics UnileonMongoDB Basics Unileon
MongoDB Basics Unileon
 
Introduction to MongoDB and its best practices
Introduction to MongoDB and its best practicesIntroduction to MongoDB and its best practices
Introduction to MongoDB and its best practices
 
Top MongoDB interview Questions and Answers
Top MongoDB interview Questions and AnswersTop MongoDB interview Questions and Answers
Top MongoDB interview Questions and Answers
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDB
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data Presentation
 
L’architettura di Classe Enterprise di Nuova Generazione
L’architettura di Classe Enterprise di Nuova GenerazioneL’architettura di Classe Enterprise di Nuova Generazione
L’architettura di Classe Enterprise di Nuova Generazione
 
nodejs.pptx
nodejs.pptxnodejs.pptx
nodejs.pptx
 
Mongo db transcript
Mongo db transcriptMongo db transcript
Mongo db transcript
 

Recently uploaded

Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSneha Padhiar
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming languageSmritiSharma901052
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 

Recently uploaded (20)

Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming language
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 

An introduction to MongoDB

  • 1. César Trigo Esteban Backend Development Director Twitter: @CesarTrigoEs www.mongodbspain.com Twitter: @MongoDBSpain An Introduction to
  • 2. 1 What is MongoDB OVERVIEW World Wide leading NoSQL Database that allows companies to be more agile and scalable 1. Improving the customer experience 2. Allowing schemes to change quickly to adapt easily to changes 3. Enabling Big-Data 4. Accelerating time to market 5. Reducing costs
  • 3. 2 What is MongoDB WHO IS USING MONGODB More at: www.mongodb.com/customers
  • 4. 3 What is MongoDB COMMUNITY 7Million + Downloads 200k + Education Registrations 30k + MongoDB User Group Members Fastest-growing community in Big Data
  • 5. 4 What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ Scalable ❖ High performance ❖ Full featured
  • 6. 4 What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ Scalable ❖ High performance ❖ Full featured
  • 7. MongoDB Main Features OPEN SOURCE Source and supported drivers are open source and hosted at Github: https://github.com/mongodb Supported drivers for most programming languages 4.1
  • 8. What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ High performance ❖ Scalable ❖ Full featured 5
  • 9. 5.1 MongoDB Main Features DOCUMENT ORIENTED ● JSON-like format (BSON) documents as independent units ● Makes it easier to distribute data across multiple servers ● Natural object mapping due to JSON Objects databasedatabase collectiontable documentrow SQL Term MongoDB Term SQL to MongoDB fieldcolumn embedding & linkingjoin
  • 10. What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ Scalable ❖ High performance ❖ Full featured 6
  • 11. MongoDB Main Features NON-RELATIONAL & SCHEMA-LESS User Hobbies Addresses Relational Databases (RDBMS) Data Model 6.1
  • 12. MongoDB Main Features NON-RELATIONAL & SCHEMA-LESS User Hobbies Addresses With MongoDB we can store related content in the same document Non-Relational Data Model 6.2
  • 13. MongoDB Main Features NON-RELATIONAL & SCHEMA-LESS User Info - name - creation - nick - ... - age Hobbies Addresses db.user.findOne(); { _id: objectId("535c56cbdf1790f4e1c80074"), name: "César Trigo", nick: "CesarTrigo", age: 25, creation: ISODate("2014-04-27T01:00:59.448Z"), hobbies: ["coding", "football", "basket"], address:[{ street: "Calle Serrano", number: 127, city: "Madrid" }, { street: "Avenida Diagonal", city: "Barcelona" }], } coding basket address address MongoDB Document 6.3 football
  • 14. MongoDB Main Features NON-RELATIONAL & SCHEMA-LESS User Info - name - creation - nick - ... - age Hobbies Addresses db.user.findOne(); { _id: objectId("535c56cbdf1790f4e1c80074"), name: "César Trigo", nick: "CesarTrigo", age: 25, creation: ISODate("2014-04-27T01:00:59.448Z"), hobbies: ["coding", "football", "basket"], address:[{ street: "Calle Serrano", number: 127, city: "Madrid" }, { street: "Avenida Diagonal", city: "Barcelona" }], } coding basket address address MongoDB Document 6.3 football
  • 15. MongoDB Main Features NON-RELATIONAL & SCHEMA-LESS User Info - name - creation - nick - ... - age Hobbies Addresses db.user.findOne(); { _id: objectId("535c56cbdf1790f4e1c80074"), name: "César Trigo", nick: "CesarTrigo", age: 25, creation: ISODate("2014-04-27T01:00:59.448Z"), hobbies: ["coding", "football", "basketball"], address:[{ street: "Calle Serrano", number: 127, city: "Madrid" }, { street: "Avenida Diagonal", city: "Barcelona" }], } coding footbal basket address address MongoDB Document 6.3
  • 16. What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ Scalable ❖ High performance ❖ Full featured 7
  • 17. MongoDB Main Features SCALABLE Replication: provides redundancy and high data availability Primary Secondary Secondary D R I V E R APP write read Asynchronous Replication ● Automated replication and failover ● Multi-datacenter support ● Data durability and consistency 7.1
  • 18. MongoDB Main Features SCALABLE Sharding: Storing data records across multiple machines to meeting the demands of data growth Shard 1 Shard 2 Shard 3 Shard N ● Increase capacity as you grow reducing the amount of data that each server needs to store ● Reduces the number of operations each shard handles ● Automatic balancing of data ... 7.2
  • 19. MongoDB Main Features SCALABLE INFRASTRUCTURE Application Driver Query Router Query Router Primary Secondary Secondary Primary Secondary Secondary Primary Secondary Secondary Primary Secondary Secondary Shard 1 Shard 2 Shard 3 Shard N ... ... 7.3
  • 20. What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ Scalable ❖ High performance ❖ Full featured 8
  • 21. MongoDB Main Features HIGH PERFORMANCE vs Better data locality In-memory caching Atomic operations 8.1 Relational MongoDB
  • 22. MongoDB Main Features HIGH PERFORMANCE Driver Secondary Secondary Write Concern: customizable write concerns for Replica Sets Primary write replicate replicate response apply apply Write operation to a replica set Write to the primary and at least one secondary 8.2
  • 23. What is MongoDB DEFINITION MongoDB is a ... … database ❖ Open source ❖ Document oriented ❖ Non-relational & Schema-less ❖ Scalable ❖ High performance ❖ Full featured 9
  • 24. ● Geospatial indexes to support geographic data structures ● GeoJSON support ● 2d support for Flat / Euclidean plane distance calculation MongoDB Main Features FULL FEATURED Geospatial features 9.2
  • 25. A solution for the real World because the Earth is not flat! 2d Sphere Indexes: provides spherical geometry support for Earth-like sphere distance calculation MongoDB Main Features FULL FEATURED9.2
  • 27. MongoDB Main Features FULL FEATURED Real time Aggregation: Aggregations are operations that process data records and return computed results 9.3 Aggregation Pipelines The pipeline provides efficient data aggregation using native operations within MongoDB Map-Reduce Uses custom JavaScript functions to perform the map and reduce operations, as well as the optional finalize operation.
  • 28. MongoDB Main Features FULL FEATURED MongoDB Management Service ● Server status monitoring ● Custom, metric-based alerting ● Fully managed backups ● Activity and logging viewers ● Automation coming soon 9.4