SlideShare une entreprise Scribd logo
1  sur  20
Hyphen.call@gmail.com
Mongo DB for Web Application
ADITYA
Roll Number
COMPUTER SCIENCE
3 A
Mongo DB is a document
oriented database. It is an
open source product,
developed and supported by
a company named 10gen.
MongoDB is written in C++.
The manufacturing company
10 gen has given the
definition of Mongo DB:
"Mongo DB is scalable, open
source, high performance,
document oriented database." -
10 gen
MongoDB was designed to
work with commodity
servers. Now it is used by
company of all sizes, across
all industry.
What is mongoDB ?
 Data model: using BSON (binary JSON), developers can easily
map to modern object-oriented languages without a
complicated ORM layer.
 ORM: Object Relational Mapping
 BSON: Binary JSON based on JSON.
Lightweight, Traversable, Efficient.
MongoDB is a cross-platform, document oriented database that
provides, high performance, high availability, and easy scalability.
MongoDB works on concept of collection and document.
 Scalable High-Performance Open-source, Document-Oriented
database.
 Built for Speed
 Rich Document based queries for Easy readability.
 Full Index Support for High Performance.
 Replication and Failover for High Availability.
 Auto Sharding for Easy Scalability.
 Map / Reduce for Aggregation.
History of MongoDB
The initial development of MongoDB began in 2007 when the company was building a
platform as a service similar to window azure.
"Window azure is a cloud computing platform and
infrastructure, created by Microsoft, to build,
deploy and manage applications and service through
a global network."MongoDB was developed by a New York based organization named 10gen
which is now known as MongoDB Inc. It was initially developed as a PAAS
(Platform As A Service). Later in 2009, it is introduced in the market as an
open source database server that was maintained and supported by MongoDB
Inc.
The first ready production of MongoDB has been considered from version 1.4
which was released in March 2010.
MongoDB2.4.9 was the latest and stable version which was released on
January 10, 2014.
latest version is 3.6
First of all, we should know what is document oriented database?
10gen is the company behind
MongoDB.
Founded in 2007
• Dwight Merriman, Eliot Horowitz
• Doubleclick, Oracle, Marklogic, HP
Worldwide Expanding
Team
• 140+ employees
• NY, Palo Alto, London, Dublin, Sydney
Set the direction & Contribute
code to
MongoDB
Foster
Community
&
ecosystem
Provide
Commercial
services
Provide MongoDB
Management Services
Why MongoDB?
 SQL was invented in the 70’s to store data.
 MongoDB stores documents (or) objects.
 Now-a-days, everyone works with objects
(Python/Ruby/Java/etc.)
 And we need Databases to persist our objects.
Then why not store objects directly ?
 Embedded documents and arrays reduce need for joins. No Joins
and No-multi document
transactions.
This may be a very genuine question that - "what was
the need of mongodb although there were many
databases in action?“
This is a very simple answer:
All the modern applications require big data, fast
features development, flexible deployment and the
older database systems not enough competent, so the
mongodb was obviously needed.
Purpose to build MongoDB
Features of MongoDB
These are some important features of mongoDB.
1. Support ad hoc queries
In MongoDB, you can search by field, range query and it also supports regular expression
searches.
2. Indexing
You can index any field in a document.
3. Replication
MongoDB supports Master Slave replication.
A master can perform Reads and Writes and a Slave copies data from the master and can
only be used for reads or back up (not writes)
4. Duplication of data
MongoDB can run over multiple servers. The data is duplicated to keep the system up and
also keep its running condition in case of hardware failure.
5. Load balancing
It has an automatic load balancing configuration because of data placed in shards.
6. Supports map reduce and aggregation tools.
7. Uses JavaScript instead of Procedures.
8. It is a schema-less database written in C++.
9. Provides high performance.
10. Stores files of any size easily without complicating your stack.
11. Easy to administer in the case of failures.
12. It also supports:
• JSON data model with dynamic schemas
• Auto-sharding for horizontal scalability
• Built in replication for high availability
13. Operating System : Cross-Platform
Now a day many companies using MongoDB to create new types of
applications, improve performance and availability.
The Nexus Architecture
Nexus Architecture : means connection of two or more things
Data as Documents
MongoDB stores data in a binary representation called BSON (Binary
JSON). The BSON encoding extends the popular JSON (JavaScript Object
Notation) representation to include additional types such as int, long, date,
floating point, and decimal128.
MongoDB documents tend to have all data for a given record in a
single document, whereas in a relational database information for a
given record is usually spread across many tables.
“Data as documents: simpler for
developers, faster for users.”
How does the MongoDB data model stack up to relational databases and key-value stores? Take
a look at the chart below:
MongoDB scales like crazy. Whether you are sharding to scale data
volume, performance or cross-data center operations, you can do it with
MongoDB.
Document Store
RDBMS MongoDB
Database Database
Table, view Collection
Row Documents(JSON, BSON)
Column Field
Index Index
Join Embedded Document
Foreign Key Reference
Partition Key Shard Key
Relational Database MongoDB
server
databases
schema
joins
tablescontain
rowscontain
server
schema
databases
tablescontain
joins rowscontain
MongoDB CURD operation
Four basic operation in mongoDB.
1. Create Operations
2. Update Operations
3. Read Operations
4. Delete Operations
Create Operations:
Create or insert operations add new documents to a collection. If the collection does not
currently exist, insert operations will create the collection.
MongoDB provides the following methods to insert documents into a collection:
db.collection.insertOne(
<document>,
{
name : “ Hyphen ” , Document
status : “ pending ”
}
)
• db.collection.insertMany()
Update Operations:
Update operations modify existing documents in a collection. MongoDB provides the
following methods to update documents of a collection:
db.users.updateMany( collection
{ age : { $ lt : 18 } } , update filter
{ $ set : { status : “ reject ” } } update action
)
• db.collection.UpdateOne()
• db.collection.replace()
Read Operations:
Read operations retrieves documents from a collection; i.e. queries a collection for
documents. MongoDB provides the following methods to read documents from a collection:
db.users.find( collection
query criteria
{ age : { $ gt : 18 } } , projection
{ name: 1 , address : 1 } update action
) . Limit(5)
Delete Operations:
Delete operations remove documents from a collection. MongoDB provides the
following methods to delete documents of a collection:
db.users.deleteMany( collection
{ status : “ reject ”} delete filter
)
• db.collection.deleteOne()
See who’s using MongoDB
THANK YOU
hyphen production

Contenu connexe

Tendances

Mongodb basics and architecture
Mongodb basics and architectureMongodb basics and architecture
Mongodb basics and architectureBishal Khanal
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Databasenehabsairam
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBMongoDB
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and UsesSuvradeep Rudra
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBNodeXperts
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBMike Dirolf
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introductionPooyan Mehrparvar
 
An introduction to MongoDB
An introduction to MongoDBAn introduction to MongoDB
An introduction to MongoDBCésar Trigo
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.jsVikash Singh
 
Elasticsearch for beginners
Elasticsearch for beginnersElasticsearch for beginners
Elasticsearch for beginnersNeil Baker
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 

Tendances (20)

NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
 
Mongo DB Presentation
Mongo DB PresentationMongo DB Presentation
Mongo DB Presentation
 
Mongodb
MongodbMongodb
Mongodb
 
Mongodb basics and architecture
Mongodb basics and architectureMongodb basics and architecture
Mongodb basics and architecture
 
Mongo db intro.pptx
Mongo db intro.pptxMongo db intro.pptx
Mongo db intro.pptx
 
Mongo db dhruba
Mongo db dhrubaMongo db dhruba
Mongo db dhruba
 
Mongo DB
Mongo DB Mongo DB
Mongo DB
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Database
 
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
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
 
An introduction to MongoDB
An introduction to MongoDBAn introduction to MongoDB
An introduction to MongoDB
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
Elasticsearch for beginners
Elasticsearch for beginnersElasticsearch for beginners
Elasticsearch for beginners
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 

Similaire à MongoDB presentation

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.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
 
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
 
MongoDB Introduction and Data Modelling
MongoDB Introduction and Data Modelling MongoDB Introduction and Data Modelling
MongoDB Introduction and Data Modelling Sachin Bhosale
 
Node Js, AngularJs and Express Js Tutorial
Node Js, AngularJs and Express Js TutorialNode Js, AngularJs and Express Js Tutorial
Node Js, AngularJs and Express Js TutorialPHP Support
 
A Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfA Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfJessica Navarro
 
A Study on Mongodb Database
A Study on Mongodb DatabaseA Study on Mongodb Database
A Study on Mongodb DatabaseIJSRD
 
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
 
Kalp Corporate MongoDB Tutorials
Kalp Corporate MongoDB TutorialsKalp Corporate MongoDB Tutorials
Kalp Corporate MongoDB TutorialsKalp Corporate
 
MongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data scienceMongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data sciencebitragowthamkumar1
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptxSurya937648
 
MongoDB NoSQL database a deep dive -MyWhitePaper
MongoDB  NoSQL database a deep dive -MyWhitePaperMongoDB  NoSQL database a deep dive -MyWhitePaper
MongoDB NoSQL database a deep dive -MyWhitePaperRajesh Kumar
 
SQL vs MongoDB
SQL vs MongoDBSQL vs MongoDB
SQL vs MongoDBcalltutors
 
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYCHands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYCLaura Ventura
 

Similaire à MongoDB presentation (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.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
 
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
 
MongoDB Introduction and Data Modelling
MongoDB Introduction and Data Modelling MongoDB Introduction and Data Modelling
MongoDB Introduction and Data Modelling
 
Node Js, AngularJs and Express Js Tutorial
Node Js, AngularJs and Express Js TutorialNode Js, AngularJs and Express Js Tutorial
Node Js, AngularJs and Express Js Tutorial
 
A Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfA Study on Mongodb Database.pdf
A Study on Mongodb Database.pdf
 
A Study on Mongodb Database
A Study on Mongodb DatabaseA Study on Mongodb Database
A Study on Mongodb Database
 
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
 
MongoDB.pptx
MongoDB.pptxMongoDB.pptx
MongoDB.pptx
 
Kalp Corporate MongoDB Tutorials
Kalp Corporate MongoDB TutorialsKalp Corporate MongoDB Tutorials
Kalp Corporate MongoDB Tutorials
 
Mongo db
Mongo dbMongo db
Mongo db
 
MongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data scienceMongoDB Lab Manual (1).pdf used in data science
MongoDB Lab Manual (1).pdf used in data science
 
Mongo db
Mongo dbMongo db
Mongo db
 
Introduction to MongoDB.pptx
Introduction to MongoDB.pptxIntroduction to MongoDB.pptx
Introduction to MongoDB.pptx
 
MongoDB
MongoDBMongoDB
MongoDB
 
Online MongoDB Training by Easylearning.guru
Online MongoDB Training by Easylearning.guruOnline MongoDB Training by Easylearning.guru
Online MongoDB Training by Easylearning.guru
 
MongoDB NoSQL database a deep dive -MyWhitePaper
MongoDB  NoSQL database a deep dive -MyWhitePaperMongoDB  NoSQL database a deep dive -MyWhitePaper
MongoDB NoSQL database a deep dive -MyWhitePaper
 
Experiment no 1
Experiment no 1Experiment no 1
Experiment no 1
 
SQL vs MongoDB
SQL vs MongoDBSQL vs MongoDB
SQL vs MongoDB
 
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYCHands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
 

Dernier

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf203318pmpc
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 

Dernier (20)

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 

MongoDB presentation

  • 1. Hyphen.call@gmail.com Mongo DB for Web Application ADITYA Roll Number COMPUTER SCIENCE 3 A
  • 2. Mongo DB is a document oriented database. It is an open source product, developed and supported by a company named 10gen. MongoDB is written in C++. The manufacturing company 10 gen has given the definition of Mongo DB: "Mongo DB is scalable, open source, high performance, document oriented database." - 10 gen MongoDB was designed to work with commodity servers. Now it is used by company of all sizes, across all industry.
  • 3. What is mongoDB ?  Data model: using BSON (binary JSON), developers can easily map to modern object-oriented languages without a complicated ORM layer.  ORM: Object Relational Mapping  BSON: Binary JSON based on JSON. Lightweight, Traversable, Efficient. MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.
  • 4.  Scalable High-Performance Open-source, Document-Oriented database.  Built for Speed  Rich Document based queries for Easy readability.  Full Index Support for High Performance.  Replication and Failover for High Availability.  Auto Sharding for Easy Scalability.  Map / Reduce for Aggregation.
  • 5. History of MongoDB The initial development of MongoDB began in 2007 when the company was building a platform as a service similar to window azure. "Window azure is a cloud computing platform and infrastructure, created by Microsoft, to build, deploy and manage applications and service through a global network."MongoDB was developed by a New York based organization named 10gen which is now known as MongoDB Inc. It was initially developed as a PAAS (Platform As A Service). Later in 2009, it is introduced in the market as an open source database server that was maintained and supported by MongoDB Inc. The first ready production of MongoDB has been considered from version 1.4 which was released in March 2010. MongoDB2.4.9 was the latest and stable version which was released on January 10, 2014. latest version is 3.6 First of all, we should know what is document oriented database?
  • 6. 10gen is the company behind MongoDB. Founded in 2007 • Dwight Merriman, Eliot Horowitz • Doubleclick, Oracle, Marklogic, HP Worldwide Expanding Team • 140+ employees • NY, Palo Alto, London, Dublin, Sydney Set the direction & Contribute code to MongoDB Foster Community & ecosystem Provide Commercial services Provide MongoDB Management Services
  • 7. Why MongoDB?  SQL was invented in the 70’s to store data.  MongoDB stores documents (or) objects.  Now-a-days, everyone works with objects (Python/Ruby/Java/etc.)  And we need Databases to persist our objects. Then why not store objects directly ?  Embedded documents and arrays reduce need for joins. No Joins and No-multi document transactions.
  • 8. This may be a very genuine question that - "what was the need of mongodb although there were many databases in action?“ This is a very simple answer: All the modern applications require big data, fast features development, flexible deployment and the older database systems not enough competent, so the mongodb was obviously needed. Purpose to build MongoDB
  • 9. Features of MongoDB These are some important features of mongoDB. 1. Support ad hoc queries In MongoDB, you can search by field, range query and it also supports regular expression searches. 2. Indexing You can index any field in a document. 3. Replication MongoDB supports Master Slave replication. A master can perform Reads and Writes and a Slave copies data from the master and can only be used for reads or back up (not writes) 4. Duplication of data MongoDB can run over multiple servers. The data is duplicated to keep the system up and also keep its running condition in case of hardware failure.
  • 10. 5. Load balancing It has an automatic load balancing configuration because of data placed in shards. 6. Supports map reduce and aggregation tools. 7. Uses JavaScript instead of Procedures. 8. It is a schema-less database written in C++. 9. Provides high performance. 10. Stores files of any size easily without complicating your stack. 11. Easy to administer in the case of failures. 12. It also supports: • JSON data model with dynamic schemas • Auto-sharding for horizontal scalability • Built in replication for high availability 13. Operating System : Cross-Platform Now a day many companies using MongoDB to create new types of applications, improve performance and availability.
  • 11. The Nexus Architecture Nexus Architecture : means connection of two or more things
  • 12. Data as Documents MongoDB stores data in a binary representation called BSON (Binary JSON). The BSON encoding extends the popular JSON (JavaScript Object Notation) representation to include additional types such as int, long, date, floating point, and decimal128. MongoDB documents tend to have all data for a given record in a single document, whereas in a relational database information for a given record is usually spread across many tables. “Data as documents: simpler for developers, faster for users.”
  • 13. How does the MongoDB data model stack up to relational databases and key-value stores? Take a look at the chart below: MongoDB scales like crazy. Whether you are sharding to scale data volume, performance or cross-data center operations, you can do it with MongoDB.
  • 14. Document Store RDBMS MongoDB Database Database Table, view Collection Row Documents(JSON, BSON) Column Field Index Index Join Embedded Document Foreign Key Reference Partition Key Shard Key
  • 16. MongoDB CURD operation Four basic operation in mongoDB. 1. Create Operations 2. Update Operations 3. Read Operations 4. Delete Operations Create Operations: Create or insert operations add new documents to a collection. If the collection does not currently exist, insert operations will create the collection. MongoDB provides the following methods to insert documents into a collection: db.collection.insertOne( <document>, { name : “ Hyphen ” , Document status : “ pending ” } ) • db.collection.insertMany()
  • 17. Update Operations: Update operations modify existing documents in a collection. MongoDB provides the following methods to update documents of a collection: db.users.updateMany( collection { age : { $ lt : 18 } } , update filter { $ set : { status : “ reject ” } } update action ) • db.collection.UpdateOne() • db.collection.replace() Read Operations: Read operations retrieves documents from a collection; i.e. queries a collection for documents. MongoDB provides the following methods to read documents from a collection: db.users.find( collection query criteria { age : { $ gt : 18 } } , projection { name: 1 , address : 1 } update action ) . Limit(5)
  • 18. Delete Operations: Delete operations remove documents from a collection. MongoDB provides the following methods to delete documents of a collection: db.users.deleteMany( collection { status : “ reject ”} delete filter ) • db.collection.deleteOne()
  • 19. See who’s using MongoDB

Notes de l'éditeur

  1. Pictures with reflection and blurred background (Basic) To reproduce the picture effects on this slide, do the following: On the Home tab, in the Slides group, click Layout, and then click Blank. On the Insert tab, in the Images group, click Picture. In the Insert Picture dialog box, select a picture and then click Insert. Select the picture. Under Picture Tools, on the Format tab, in the Size group, click the arrow below Crop, point to Crop to Shape, and then under Rectangles click Round Diagonal Corner Rectangle. Also under Picture Tools, on the Format tab, in the Size group, click the Size and Position dialog box launcher. In the Format Picture dialog box, resize or crop the image so that the height is set to 2” and the width is set to 2.4”. To crop the picture, click Crop in the left pane, and in the right pane, under Crop position, enter values into the Height, Width, Left, and Top boxes. To resize the picture, click Size in the left pane, and in the right pane, under Size and rotate, enter values into the Height and Width boxes. Also in the Format Picture dialog box, click Reflection in the right pane, and in the Reflection pane, in the Presets list, click Half Reflection, Touching. On the Insert tab, in the Images group, click Picture. In the Insert Picture dialog box, select a different picture and then click Insert. Repeat this process until there are three pictures on the slide. Select the second picture. Under Picture Tools, on the Format tab, in the Size group, click the Size and Position dialog box launcher. In the Format Picture dialog box, resize or crop the image so that the height is set to 2” and the width is set to 2.4”. To crop the picture, click Crop in the left pane, and in the right pane, under Crop position, enter values into the Height, Width, Left, and Top boxes. To resize the picture, click Size in the left pane, and in the right pane, under Size and rotate, enter values into the Height and Width boxes. Select the third picture. Under Picture Tools, on the Format tab, in the Size group, click the Size and Position dialog box launcher. In the Format Picture dialog box, resize or crop the image so that the height is set to 2” and the width is set to 2.4”. To crop the picture, click Crop in the left pane, and in the right pane, under Crop position, enter values into the Height, Width, Left, and Top boxes. To resize the picture, click Size in the left pane, and in the right pane, under Size and rotate, enter values into the Height and Width boxes. Select the first picture. On the Home tab, in the Clipboard group, click Format Painter. With the Format Painter cursor, on the slide, click the second picture. Select the first picture. On the Home tab, in the Clipboard group, click Format Painter. With the Format Painter cursor, on the slide, click the third picture. Press and hold CTRL, and then select all three pictures. On the Home tab, in the Drawing group, click Arrange, point to Align, and then do the following: Click Align Selected Objects. Click Align Middle. To reproduce the background effects on this slide, do the following: On the Insert tab, in the Images group, click Picture. In the Insert Picture dialog box, select a picture and then click Insert. Select the picture. Under Picture Tools, on the Format tab, in the Size group, click the Size and Position dialog box launcher. In the Format Picture dialog box, resize or crop the image so that the height is set to 7.5” and the width is set to 10”. To crop the picture, click Crop in the left pane, and in the right pane, under Crop position, enter values into the Height, Width, Left, and Top boxes. To resize the picture, click Size in the left pane, and in the right pane, under Size and rotate, enter values into the Height and Width boxes. Also in the Format Picture dialog box, click Artistic Effects in the left pane, and in the Artistic Effects pane, do the following: Click the button next to Presets and then click Blur (second row, fifth option from the left). In the Radius box, enter 30. On the Home tab, in the Drawing group, click Shapes, and under Rectangles click Rectangle (first option from the left). Drag to draw a rectangle on the slide. Select the rectangle. Under Drawing Tools, on the Format tab, in the Size group, enter 7.5” into the Height box and enter 10” into the Width box. Also under Drawing Tools, on the Format tab, in the Shape Styles group, click Shape Fill, point to Gradients, and then click More Gradients. In the Format Shape dialog box, click Fill in the left pane, select Gradient fill in the Fill pane, and then do the following: In the Type list, select Radial. In the Direction list, select From Center. Under Gradient stops, click Add gradient stops or Remove gradient stops until two stops appear in the slider. Also under Gradient stops, customize the gradient stops as follows: Select the first stop from the left in the slider, and then do the following: In the Position box, enter 0%. Click the button next to Color, and then under Theme Colors click White, Background 1 (first row, first option from the left). In the Transparency box, enter 60%. Select the second stop from the left in the slider, and then do the following: In the Position box, enter 100%. Click the button next to Color, and then under Theme Colors click White, Background 1 (first row, first option from the left). In the Transparency box, enter 0%.  Also in the Format Shape dialog box, click Line Color in the right pane, and in the Line Color pane select No Line. Select the shape. On the Home tab, in the Drawing group, click Arrange, point to Align, and then do the following: Click Align to slide. Click Align Middle. Click Align Center. On the Home tab, in the Drawing group, click Arrange, and then click Send to Back. Select the background picture. On the Home tab, in the Drawing group, click Arrange, and then click Send to Back.