SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
MONGO DB Introduction
• Two key Entity
• Collection
• Document
MONGO DB Vs Traditional
• Overview with Traditional System
RDBMS MONGO
ROW DOCUMENT
TABLE COLLECTION
COLUMN PROPERTY
One –Many Mapoping Enbbeded-document’s
Collection Introduction
• Collection can be though as a table in
RDBMS
• Mongo DB refer collection as
•group of document
Collection Introduction (Contd…)
• Schema Free
• Can store :-
– {“fName" : “Anish!"}
– {“Age" : 33}
– {“pin”:898765} all three can be stored in single
collection
Within the same collection
Collection Introduction (Contd…)
 Collection Identified by name
 Restriction
 empty string ("")
 Null character
 Reserved Names
Document Introduction
• Each document identified as special key “_id”
• Ordered set of keys with associated values.
• JSON structure
• E.g
– {“fName" : “Anish!"}
– {“fName" : “Anish!", “age" : 32}
– Type Sensitive these are not equal
• {“Age" : 3}
• {“Age" : “3”}
• Key always start with “_” underscore which
means it’s reserved.
Database Introduction
 MongoDB group collection in databse.
 Naming Restriction
 Empty String as name
 Null character
 All lower case
 Feature
 Single Instance many database
 Reserved Database name cannot be used for our
application
 E.g NameSpace
 Collection Name : user
 Database Name : college
 Namespace will become college.user
Thank you for
watching feedback
appreciated…………
…………..

Más contenido relacionado

Destacado

Mongo db readingdocumentusecases
Mongo db readingdocumentusecasesMongo db readingdocumentusecases
Mongo db readingdocumentusecaseszarigatongy
 
Mongo db updatedocumentusecases
Mongo db updatedocumentusecasesMongo db updatedocumentusecases
Mongo db updatedocumentusecaseszarigatongy
 
Big data references
Big data referencesBig data references
Big data referenceszarigatongy
 
Presentación1animking
Presentación1animkingPresentación1animking
Presentación1animkingcolo22-22
 
Pensar o humano, amar o mundo
Pensar o humano, amar o mundoPensar o humano, amar o mundo
Pensar o humano, amar o mundoVanessa Zaniol
 
Adorno, Semiformação e educação
Adorno, Semiformação e educaçãoAdorno, Semiformação e educação
Adorno, Semiformação e educaçãoVanessa Zaniol
 
El calentamiento global
El calentamiento globalEl calentamiento global
El calentamiento globaltonymauco
 
LA ADICCIÓN AL INTERNET
LA ADICCIÓN AL INTERNET LA ADICCIÓN AL INTERNET
LA ADICCIÓN AL INTERNET jesusmont
 
Presentación power point zurich 2011 (modificada por gema manzano)
Presentación power point zurich 2011 (modificada por gema manzano)Presentación power point zurich 2011 (modificada por gema manzano)
Presentación power point zurich 2011 (modificada por gema manzano)gmanzanov
 
Presentación1
Presentación1Presentación1
Presentación1colo22-22
 
Mateos garcía manuel actividad tema 1
Mateos garcía manuel actividad tema 1Mateos garcía manuel actividad tema 1
Mateos garcía manuel actividad tema 1Manuel Mateos García
 
Presentación de proyecto.seleccionador de piezas
Presentación de proyecto.seleccionador de piezasPresentación de proyecto.seleccionador de piezas
Presentación de proyecto.seleccionador de piezasCristian Ortega
 
Educação após Auschwitz
Educação após AuschwitzEducação após Auschwitz
Educação após AuschwitzVanessa Zaniol
 
Periodo democratico
Periodo democraticoPeriodo democratico
Periodo democraticocapcesar
 
Presentación4
Presentación4Presentación4
Presentación4colo22-22
 

Destacado (20)

Mongo db index
Mongo db indexMongo db index
Mongo db index
 
Mongo db readingdocumentusecases
Mongo db readingdocumentusecasesMongo db readingdocumentusecases
Mongo db readingdocumentusecases
 
Mongo db updatedocumentusecases
Mongo db updatedocumentusecasesMongo db updatedocumentusecases
Mongo db updatedocumentusecases
 
Big data references
Big data referencesBig data references
Big data references
 
Presentación1animking
Presentación1animkingPresentación1animking
Presentación1animking
 
Pensar o humano, amar o mundo
Pensar o humano, amar o mundoPensar o humano, amar o mundo
Pensar o humano, amar o mundo
 
Adorno, Semiformação e educação
Adorno, Semiformação e educaçãoAdorno, Semiformação e educação
Adorno, Semiformação e educação
 
El calentamiento global
El calentamiento globalEl calentamiento global
El calentamiento global
 
LA ADICCIÓN AL INTERNET
LA ADICCIÓN AL INTERNET LA ADICCIÓN AL INTERNET
LA ADICCIÓN AL INTERNET
 
Presentación power point zurich 2011 (modificada por gema manzano)
Presentación power point zurich 2011 (modificada por gema manzano)Presentación power point zurich 2011 (modificada por gema manzano)
Presentación power point zurich 2011 (modificada por gema manzano)
 
A crise na educação
A crise na educaçãoA crise na educação
A crise na educação
 
Presentación1
Presentación1Presentación1
Presentación1
 
Redes sociales
Redes socialesRedes sociales
Redes sociales
 
Mateos garcía manuel actividad tema 1
Mateos garcía manuel actividad tema 1Mateos garcía manuel actividad tema 1
Mateos garcía manuel actividad tema 1
 
Presentación de proyecto.seleccionador de piezas
Presentación de proyecto.seleccionador de piezasPresentación de proyecto.seleccionador de piezas
Presentación de proyecto.seleccionador de piezas
 
Educação após Auschwitz
Educação após AuschwitzEducação após Auschwitz
Educação após Auschwitz
 
Periodo democratico
Periodo democraticoPeriodo democratico
Periodo democratico
 
Presentación4
Presentación4Presentación4
Presentación4
 
Coesão ii
Coesão iiCoesão ii
Coesão ii
 
Elamor yamistad cccc
Elamor yamistad ccccElamor yamistad cccc
Elamor yamistad cccc
 

Similar a Mongo db introduction

Schema Design
Schema DesignSchema Design
Schema DesignMongoDB
 
Introduction to Apache Solr
Introduction to Apache SolrIntroduction to Apache Solr
Introduction to Apache SolrAndy Jackson
 
Book of the Dead Project
Book of the Dead ProjectBook of the Dead Project
Book of the Dead ProjectBarry Norton
 
Elasticsearch - basics and beyond
Elasticsearch - basics and beyondElasticsearch - basics and beyond
Elasticsearch - basics and beyondErnesto Reig
 
NoSQL - Cassandra & MongoDB.pptx
NoSQL -  Cassandra & MongoDB.pptxNoSQL -  Cassandra & MongoDB.pptx
NoSQL - Cassandra & MongoDB.pptxNaveen Kumar
 
3-Mongodb and Mapreduce Programming.pdf
3-Mongodb and Mapreduce Programming.pdf3-Mongodb and Mapreduce Programming.pdf
3-Mongodb and Mapreduce Programming.pdfMarianJRuben
 
MongoDB: a gentle, friendly overview
MongoDB: a gentle, friendly overviewMongoDB: a gentle, friendly overview
MongoDB: a gentle, friendly overviewAntonio Pintus
 
Getting Started with MongoDB (TCF ITPC 2014)
Getting Started with MongoDB (TCF ITPC 2014)Getting Started with MongoDB (TCF ITPC 2014)
Getting Started with MongoDB (TCF ITPC 2014)Michael Redlich
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBSean Laurent
 
MongoDB Mojo: Building a Basic Perl App
MongoDB Mojo: Building a Basic Perl AppMongoDB Mojo: Building a Basic Perl App
MongoDB Mojo: Building a Basic Perl AppStennie Steneker
 
No sql or Not only SQL
No sql or Not only SQLNo sql or Not only SQL
No sql or Not only SQLAjay Jha
 
Tech Gupshup Meetup On MongoDB - 24/06/2016
Tech Gupshup Meetup On MongoDB - 24/06/2016Tech Gupshup Meetup On MongoDB - 24/06/2016
Tech Gupshup Meetup On MongoDB - 24/06/2016Mukesh Tilokani
 
01_XMLDataModel.pptx
01_XMLDataModel.pptx01_XMLDataModel.pptx
01_XMLDataModel.pptxPrerak10
 
Modeling Data in MongoDB
Modeling Data in MongoDBModeling Data in MongoDB
Modeling Data in MongoDBlehresman
 
Effective XML Keyword Search with Relevance Oriented Ranking
Effective XML Keyword Search with Relevance Oriented RankingEffective XML Keyword Search with Relevance Oriented Ranking
Effective XML Keyword Search with Relevance Oriented RankingFudan University
 
Databases for beginners.pdf
Databases for beginners.pdfDatabases for beginners.pdf
Databases for beginners.pdffikadumola
 

Similar a Mongo db introduction (20)

Schema Design
Schema DesignSchema Design
Schema Design
 
Introduction to Apache Solr
Introduction to Apache SolrIntroduction to Apache Solr
Introduction to Apache Solr
 
Book of the Dead Project
Book of the Dead ProjectBook of the Dead Project
Book of the Dead Project
 
MongoDB
MongoDBMongoDB
MongoDB
 
Elasticsearch - basics and beyond
Elasticsearch - basics and beyondElasticsearch - basics and beyond
Elasticsearch - basics and beyond
 
NoSQL - Cassandra & MongoDB.pptx
NoSQL -  Cassandra & MongoDB.pptxNoSQL -  Cassandra & MongoDB.pptx
NoSQL - Cassandra & MongoDB.pptx
 
3-Mongodb and Mapreduce Programming.pdf
3-Mongodb and Mapreduce Programming.pdf3-Mongodb and Mapreduce Programming.pdf
3-Mongodb and Mapreduce Programming.pdf
 
Mongo DB
Mongo DB Mongo DB
Mongo DB
 
MongoDB: a gentle, friendly overview
MongoDB: a gentle, friendly overviewMongoDB: a gentle, friendly overview
MongoDB: a gentle, friendly overview
 
Getting Started with MongoDB (TCF ITPC 2014)
Getting Started with MongoDB (TCF ITPC 2014)Getting Started with MongoDB (TCF ITPC 2014)
Getting Started with MongoDB (TCF ITPC 2014)
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
MongoDB Mojo: Building a Basic Perl App
MongoDB Mojo: Building a Basic Perl AppMongoDB Mojo: Building a Basic Perl App
MongoDB Mojo: Building a Basic Perl App
 
Elasto Mania
Elasto ManiaElasto Mania
Elasto Mania
 
No sql or Not only SQL
No sql or Not only SQLNo sql or Not only SQL
No sql or Not only SQL
 
Mongo db
Mongo dbMongo db
Mongo db
 
Tech Gupshup Meetup On MongoDB - 24/06/2016
Tech Gupshup Meetup On MongoDB - 24/06/2016Tech Gupshup Meetup On MongoDB - 24/06/2016
Tech Gupshup Meetup On MongoDB - 24/06/2016
 
01_XMLDataModel.pptx
01_XMLDataModel.pptx01_XMLDataModel.pptx
01_XMLDataModel.pptx
 
Modeling Data in MongoDB
Modeling Data in MongoDBModeling Data in MongoDB
Modeling Data in MongoDB
 
Effective XML Keyword Search with Relevance Oriented Ranking
Effective XML Keyword Search with Relevance Oriented RankingEffective XML Keyword Search with Relevance Oriented Ranking
Effective XML Keyword Search with Relevance Oriented Ranking
 
Databases for beginners.pdf
Databases for beginners.pdfDatabases for beginners.pdf
Databases for beginners.pdf
 

Último

9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostMatt Ray
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxUdaiappa Ramachandran
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Commit University
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 

Último (20)

9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 

Mongo db introduction

  • 1. MONGO DB Introduction • Two key Entity • Collection • Document
  • 2. MONGO DB Vs Traditional • Overview with Traditional System RDBMS MONGO ROW DOCUMENT TABLE COLLECTION COLUMN PROPERTY One –Many Mapoping Enbbeded-document’s
  • 3. Collection Introduction • Collection can be though as a table in RDBMS • Mongo DB refer collection as •group of document
  • 4. Collection Introduction (Contd…) • Schema Free • Can store :- – {“fName" : “Anish!"} – {“Age" : 33} – {“pin”:898765} all three can be stored in single collection Within the same collection
  • 5. Collection Introduction (Contd…)  Collection Identified by name  Restriction  empty string ("")  Null character  Reserved Names
  • 6. Document Introduction • Each document identified as special key “_id” • Ordered set of keys with associated values. • JSON structure • E.g – {“fName" : “Anish!"} – {“fName" : “Anish!", “age" : 32} – Type Sensitive these are not equal • {“Age" : 3} • {“Age" : “3”} • Key always start with “_” underscore which means it’s reserved.
  • 7. Database Introduction  MongoDB group collection in databse.  Naming Restriction  Empty String as name  Null character  All lower case  Feature  Single Instance many database  Reserved Database name cannot be used for our application  E.g NameSpace  Collection Name : user  Database Name : college  Namespace will become college.user
  • 8. Thank you for watching feedback appreciated………… …………..