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

Introducing MongoDB Atlas
Introducing MongoDB AtlasIntroducing MongoDB Atlas
Introducing MongoDB AtlasMongoDB
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDBvaluebound
 
Intro To MongoDB
Intro To MongoDBIntro To MongoDB
Intro To MongoDBAlex Sharp
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBMongoDB
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptxSurya937648
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBNodeXperts
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBMike Dirolf
 
Overcoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBOvercoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBMongoDB
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentationHyphen Call
 
MongoDB - Aggregation Pipeline
MongoDB - Aggregation PipelineMongoDB - Aggregation Pipeline
MongoDB - Aggregation PipelineJason Terpko
 
MongoDB Schema Design
MongoDB Schema DesignMongoDB Schema Design
MongoDB Schema DesignMongoDB
 
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
 
Non Relational Databases
Non Relational DatabasesNon Relational Databases
Non Relational DatabasesChris Baglieri
 

What's hot (20)

Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
MongoDB 101
MongoDB 101MongoDB 101
MongoDB 101
 
Introducing MongoDB Atlas
Introducing MongoDB AtlasIntroducing MongoDB Atlas
Introducing MongoDB Atlas
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
 
Intro To MongoDB
Intro To MongoDBIntro To MongoDB
Intro To MongoDB
 
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
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Mongo DB Presentation
Mongo DB PresentationMongo DB Presentation
Mongo DB Presentation
 
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
 
Overcoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBOvercoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDB
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
MongodB Internals
MongodB InternalsMongodB Internals
MongodB Internals
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentation
 
Mongodb
MongodbMongodb
Mongodb
 
MongoDB - Aggregation Pipeline
MongoDB - Aggregation PipelineMongoDB - Aggregation Pipeline
MongoDB - Aggregation Pipeline
 
MongoDB Schema Design
MongoDB Schema DesignMongoDB Schema Design
MongoDB Schema Design
 
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
 
Non Relational Databases
Non Relational DatabasesNon Relational Databases
Non Relational Databases
 

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

Databricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdfDatabricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdfVinayVadlagattu
 
Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...
Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...
Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...Christo Ananth
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书c3384a92eb32
 
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...mikehavy0
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligencemahaffeycheryld
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisDr.Costas Sachpazis
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...IJECEIAES
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...AshwaniAnuragi1
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...Amil baba
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Toolssoginsider
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfKira Dess
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/FootingEr. Suman Jyoti
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdfAlexander Litvinenko
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfJNTUA
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 

Recently uploaded (20)

Databricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdfDatabricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdf
 
Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...
Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...
Call for Papers - Journal of Electrical Systems (JES), E-ISSN: 1112-5209, ind...
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
 
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
☎️Looking for Abortion Pills? Contact +27791653574.. 💊💊Available in Gaborone ...
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/Footing
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 

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