SlideShare a Scribd company logo
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

Basics of MongoDB
Basics of MongoDB Basics of MongoDB
Basics of MongoDB
Habilelabs
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
Lee Theobald
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
valuebound
 
Mongodb basics and architecture
Mongodb basics and architectureMongodb basics and architecture
Mongodb basics and architecture
Bishal Khanal
 
Mongo db dhruba
Mongo db dhrubaMongo db dhruba
Mongo db dhruba
Dhrubaji Mandal ♛
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
Derek Stainer
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Ravi Teja
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentation
Hyphen Call
 
Mongodb
MongodbMongodb
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
MongoDB
 
An Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDBAn Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDB
William LaForest
 
NoSql
NoSqlNoSql
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
Dr-Dipali Meher
 
Intro To MongoDB
Intro To MongoDBIntro To MongoDB
Intro To MongoDB
Alex Sharp
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
Harri Kauhanen
 
MongoDB
MongoDBMongoDB
MongodB Internals
MongodB InternalsMongodB Internals
MongodB Internals
Norberto Leite
 
Mongodb vs mysql
Mongodb vs mysqlMongodb vs mysql
Mongodb vs mysql
hemal sharma
 
NewSQL - The Future of Databases?
NewSQL - The Future of Databases?NewSQL - The Future of Databases?
NewSQL - The Future of Databases?
Elvis Saravia
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
NodeXperts
 

What's hot (20)

Basics of MongoDB
Basics of MongoDB Basics of MongoDB
Basics of MongoDB
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
 
Mongodb basics and architecture
Mongodb basics and architectureMongodb basics and architecture
Mongodb basics and architecture
 
Mongo db dhruba
Mongo db dhrubaMongo db dhruba
Mongo db dhruba
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentation
 
Mongodb
MongodbMongodb
Mongodb
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
An Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDBAn Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDB
 
NoSql
NoSqlNoSql
NoSql
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Intro To MongoDB
Intro To MongoDBIntro To MongoDB
Intro To MongoDB
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
MongoDB
MongoDBMongoDB
MongoDB
 
MongodB Internals
MongodB InternalsMongodB Internals
MongodB Internals
 
Mongodb vs mysql
Mongodb vs mysqlMongodb vs mysql
Mongodb vs mysql
 
NewSQL - The Future of Databases?
NewSQL - The Future of Databases?NewSQL - The Future of Databases?
NewSQL - The Future of Databases?
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to 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 Morphia
MongoDB
 
Mango Database - Web Development
Mango Database - Web DevelopmentMango Database - Web Development
Mango Database - Web Development
mssaman
 
MongoDB Hacks of Frustration
MongoDB Hacks of FrustrationMongoDB Hacks of Frustration
MongoDB Hacks of Frustration
MongoDB
 
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
MongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Jean-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 Web
Joë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 MongoDB
Chun-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 MongoDB
Yann Cluchey
 
JSON-LD and MongoDB
JSON-LD and MongoDBJSON-LD and MongoDB
JSON-LD and MongoDB
Gregg Kellogg
 
Elsevier: CSUN Alt Text Project
Elsevier: CSUN Alt Text ProjectElsevier: CSUN Alt Text Project
Elsevier: CSUN Alt Text Project
Tripp Narup
 
Bar charts for questtionnaire
Bar charts for questtionnaireBar charts for questtionnaire
Bar charts for questtionnaire
danielr97
 
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.14
Ann Sheep
 
Biotechnology august2013-130926012214-phpapp02
Biotechnology august2013-130926012214-phpapp02Biotechnology august2013-130926012214-phpapp02
Biotechnology august2013-130926012214-phpapp02
Supa Buoy
 
Lebowski Publishers - Najaar 2014
Lebowski Publishers - Najaar 2014Lebowski Publishers - Najaar 2014
Lebowski Publishers - Najaar 2014
Xanne 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.pptx
75waytechnologies
 
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
sarah 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.pptx
sarah david
 
Mongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in BangaloreMongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in Bangalore
rajkamaltibacademy
 
MongoDB
MongoDBMongoDB
MongoDB
wiTTyMinds1
 
Building your first app with MongoDB
Building your first app with MongoDBBuilding your first app with MongoDB
Building your first app with MongoDB
Norberto 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 MongoDB
MongoDB
 
Mongodb
MongodbMongodb
Mongodb
Apurva Vyas
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.
Emroz Sardar
 
MongoDB DOC v1.5
MongoDB DOC v1.5MongoDB DOC v1.5
MongoDB DOC v1.5
Tharun Srinivasa
 
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
 
MongoDB.pptx
MongoDB.pptxMongoDB.pptx
MongoDB.pptx
Aayush Chimaniya
 
MongoDB Basics Unileon
MongoDB Basics UnileonMongoDB Basics Unileon
MongoDB Basics Unileon
Juan Antonio Roy Couto
 
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
AshishRathore72
 
Top MongoDB interview Questions and Answers
Top MongoDB interview Questions and AnswersTop MongoDB interview Questions and Answers
Top MongoDB interview Questions and Answers
jeetendra mandal
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDB
MongoDB
 
MongoDB Tick Data Presentation
MongoDB Tick Data PresentationMongoDB Tick Data Presentation
MongoDB Tick Data Presentation
MongoDB
 
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
MongoDB
 
nodejs.pptx
nodejs.pptxnodejs.pptx
nodejs.pptx
shamsullah shamsi
 
Mongo db transcript
Mongo db transcriptMongo db transcript
Mongo db transcript
foliba
 

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

Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
Kamal Acharya
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
ycwu0509
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 

Recently uploaded (20)

Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 

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