SlideShare a Scribd company logo
VANDANA
B.Tech CS 3rd yr
Roll No.9072
 First developed by the software company
MongoDB Inc. in October 2007 as a
component of a planned platform as a service
product.
 The company shifted to an open source
development model in 2009.
 In just 5 yrs. In 24 AUG. 2015 MongoDB has
evolved into one of the world’s most popular
database.
 MongoDB is a cross - platform, Document
oriented database .
 MongoDB supports JSON like documents with
dynamic schemas.
 MongoDB supports indexing.
RDBMS MongoDB
Database Database
Table Collection
Tuple/Row Document
Column Field
Table Join Embedded
Documents
Primary Key Primary
Key
(Default key_id
provided by
mongodb itself)
Mongo db1
Mongo db1
Mongo db1
Mongo db1
Mongo db1
Mongo db1
Mongo db1
Mongo db1
 Schema less
 No complex joins
 Deep-Query ability
 Easy to Scale-out
 Uses internal memory for storing working
set
 Create database
> use DATABASE_NAME
>use mydb
switched to db mydb
>db
mydb
>show dbs
local 0.78125GB
test 0.23012GB
>db.first.insert({“name”:”my first document”})
>show dbs
local 0.78125GB
mydb 0.23012GB
test 0.23012GB
 Drop Database
>use mydb
>db.dropDatabase()
>{“dropped” : ”mydb”, ”ok” : 1}
IN MONGODB IN RDBMS
Mongo db1
In MongoDB In RDBMS
 Sharding is a method for storing data across
multiple machines.
 Purpose of sharding is that database with
large data set exceed the storage capacity of
the server.
 So,database have 2 basic approaches:
1.Vertical scaling
2. Sharding
Mongo db1
Mongo db1
 Sharding partitions a collection’s data by
shard key.
 MongoDB divides shard key values into
chunks and distributes chunks evenly across
shards.
 MongoDB uses either Range based
paritioning or hash based partitioning.
Mongo db1
Mongo db1
 The addition of new data can result in data
distribution imbalances within the cluster.
 So to maintain MongoDB ensures two
background processes:
1.Splitting
2.Balancing
 Replication provides redundancy and
increases data availability.
.
 There is only one primary database allows
write operation.
.
 Multiple secondary database servers only for
read operation.
.
 Arbiter doesn’t store data. It used during
failover to decide which server will be next
primary server.
Mongo db1
 Document Oriented Storage
 Disaster Recovery
 Auto – Sharding
 Indexing
 GridFS
Mongo db1
Mongo db1
Mongo db1
Mongo db1
Mongo db1

More Related Content

PPTX
The Basics of MongoDB
valuebound
 
PPTX
MongoDB presentation
Hyphen Call
 
PPTX
MongoDB
nikhil2807
 
ODP
Introduction to MongoDB
Dineesha Suraweera
 
PPTX
Basics of MongoDB
HabileLabs
 
PPTX
Introduction to MongoDB
NodeXperts
 
PPTX
MongoDB basics & Introduction
Jerwin Roy
 
PPT
Introduction to mongodb
neela madheswari
 
The Basics of MongoDB
valuebound
 
MongoDB presentation
Hyphen Call
 
MongoDB
nikhil2807
 
Introduction to MongoDB
Dineesha Suraweera
 
Basics of MongoDB
HabileLabs
 
Introduction to MongoDB
NodeXperts
 
MongoDB basics & Introduction
Jerwin Roy
 
Introduction to mongodb
neela madheswari
 

What's hot (20)

PDF
Mongo db basics
Claudio Montoya
 
PPTX
MongoDB for Beginners
Enoch Joshua
 
PPTX
Introduction to mongo db
NexThoughts Technologies
 
PPTX
Mongo DB 102
Abhijeet Vaikar
 
DOCX
Mongo db report
Hyphen Call
 
PDF
Mongo db
Noman Ellahi
 
PPTX
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorials
SpringPeople
 
PPTX
Mongodb introduction and_internal(simple)
Kai Zhao
 
PPTX
MongoDB 101
Abhijeet Vaikar
 
PDF
An introduction to MongoDB
César Trigo
 
PPTX
Mongo db
Raghu nath
 
PDF
U C2007 My S Q L Performance Cookbook
guestae36d0
 
PPTX
Mongo db intro.pptx
JWORKS powered by Ordina
 
PPT
Introduction to MongoDB
Ravi Teja
 
PDF
Introduction to MongoDB
Mike Dirolf
 
PDF
Mongo db basics
Harischandra M K
 
PDF
Introduction to mongo db
Rohit Bishnoi
 
PPTX
MongoDB Schema Design by Examples
Hadi Ariawan
 
PPTX
Mongo DB Presentation
Jaya Naresh Kovela
 
Mongo db basics
Claudio Montoya
 
MongoDB for Beginners
Enoch Joshua
 
Introduction to mongo db
NexThoughts Technologies
 
Mongo DB 102
Abhijeet Vaikar
 
Mongo db report
Hyphen Call
 
Mongo db
Noman Ellahi
 
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorials
SpringPeople
 
Mongodb introduction and_internal(simple)
Kai Zhao
 
MongoDB 101
Abhijeet Vaikar
 
An introduction to MongoDB
César Trigo
 
Mongo db
Raghu nath
 
U C2007 My S Q L Performance Cookbook
guestae36d0
 
Mongo db intro.pptx
JWORKS powered by Ordina
 
Introduction to MongoDB
Ravi Teja
 
Introduction to MongoDB
Mike Dirolf
 
Mongo db basics
Harischandra M K
 
Introduction to mongo db
Rohit Bishnoi
 
MongoDB Schema Design by Examples
Hadi Ariawan
 
Mongo DB Presentation
Jaya Naresh Kovela
 
Ad

Viewers also liked (12)

PDF
Cвадебные ботильоны купить в Санкт- Петербурге
Свадебный салон «В белом»
 
PDF
Ay Mairi Behan
Aaiqa Muhammad Shami
 
PDF
Journal 5
pginingroem
 
PDF
A Report on Baseball Using R
Raymond Christopher Peralta
 
PDF
Un mat 2014 1
02031972
 
PDF
Joseph Tran
joseph tran
 
PPTX
Дарина Черкашина "Prozorro"
SmartLviv
 
PDF
Scott Selby PPP Final
Scott_Selby
 
PPTX
Информация в природе, обществе, технике.
UriyK
 
PDF
Ten Reasons to Partner With Park Industries 115
Mark Lindell
 
PPTX
Ігор Пігарєв
SmartLviv
 
PPTX
QuantiQ outlines Dynamics 365
QuantiQ Technology
 
Cвадебные ботильоны купить в Санкт- Петербурге
Свадебный салон «В белом»
 
Ay Mairi Behan
Aaiqa Muhammad Shami
 
Journal 5
pginingroem
 
A Report on Baseball Using R
Raymond Christopher Peralta
 
Un mat 2014 1
02031972
 
Joseph Tran
joseph tran
 
Дарина Черкашина "Prozorro"
SmartLviv
 
Scott Selby PPP Final
Scott_Selby
 
Информация в природе, обществе, технике.
UriyK
 
Ten Reasons to Partner With Park Industries 115
Mark Lindell
 
Ігор Пігарєв
SmartLviv
 
QuantiQ outlines Dynamics 365
QuantiQ Technology
 
Ad

Similar to Mongo db1 (20)

PPTX
DBVersity MongoDB Online Training Presentations
Srinivas Mutyala
 
PDF
Mongodb
Apurva Vyas
 
PPTX
MongoDB
Albin John
 
PPTX
MongoDB
Albin John
 
PDF
Introduction to MongoDB Basics from SQL to NoSQL
Mayur Patil
 
PPTX
MongoDB - A next-generation database that lets you create applications never ...
Ram Murat Sharma
 
PPTX
Copy of MongoDB .pptx
nehabsairam
 
PPTX
MongoDB
Tharun Srinivasa
 
PPTX
MongoDbPpt based on python installation.
jnvcomputerlab2024
 
PPTX
Mongo db
AbhiKhurana8
 
PPTX
Mongodb
ASEEMSRIVASTAVA22
 
PDF
MongoDB NoSQL database a deep dive -MyWhitePaper
Rajesh Kumar
 
PPTX
Mongodb - NoSql Database
Prashant Gupta
 
PPTX
Introduction to MongoDB a brief intro(1).pptx
mehfooz968268
 
PPTX
No SQL - MongoDB
Mirza Asif
 
PPTX
MongoDB introduction features -presentation - 2.pptx
sampathkumar546444
 
PPTX
MongoDB_ppt.pptx
1AP18CS037ShirishKul
 
PPTX
MongoDB 2.4 and spring data
Jimmy Ray
 
PDF
MongoDB Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
Laura Ventura
 
DBVersity MongoDB Online Training Presentations
Srinivas Mutyala
 
Mongodb
Apurva Vyas
 
MongoDB
Albin John
 
MongoDB
Albin John
 
Introduction to MongoDB Basics from SQL to NoSQL
Mayur Patil
 
MongoDB - A next-generation database that lets you create applications never ...
Ram Murat Sharma
 
Copy of MongoDB .pptx
nehabsairam
 
MongoDbPpt based on python installation.
jnvcomputerlab2024
 
Mongo db
AbhiKhurana8
 
MongoDB NoSQL database a deep dive -MyWhitePaper
Rajesh Kumar
 
Mongodb - NoSql Database
Prashant Gupta
 
Introduction to MongoDB a brief intro(1).pptx
mehfooz968268
 
No SQL - MongoDB
Mirza Asif
 
MongoDB introduction features -presentation - 2.pptx
sampathkumar546444
 
MongoDB_ppt.pptx
1AP18CS037ShirishKul
 
MongoDB 2.4 and spring data
Jimmy Ray
 
MongoDB Interview Questions PDF By ScholarHat
Scholarhat
 
Hands on Big Data Analysis with MongoDB - Cloud Expo Bootcamp NYC
Laura Ventura
 

Recently uploaded (20)

PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
CDH. pptx
AneetaSharma15
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
How to Apply for a Job From Odoo 18 Website
Celine George
 

Mongo db1

  • 1. VANDANA B.Tech CS 3rd yr Roll No.9072
  • 2.  First developed by the software company MongoDB Inc. in October 2007 as a component of a planned platform as a service product.  The company shifted to an open source development model in 2009.  In just 5 yrs. In 24 AUG. 2015 MongoDB has evolved into one of the world’s most popular database.
  • 3.  MongoDB is a cross - platform, Document oriented database .  MongoDB supports JSON like documents with dynamic schemas.  MongoDB supports indexing.
  • 4. RDBMS MongoDB Database Database Table Collection Tuple/Row Document Column Field Table Join Embedded Documents Primary Key Primary Key (Default key_id provided by mongodb itself)
  • 13.  Schema less  No complex joins  Deep-Query ability  Easy to Scale-out  Uses internal memory for storing working set
  • 14.  Create database > use DATABASE_NAME >use mydb switched to db mydb >db mydb >show dbs local 0.78125GB test 0.23012GB >db.first.insert({“name”:”my first document”}) >show dbs local 0.78125GB mydb 0.23012GB test 0.23012GB
  • 15.  Drop Database >use mydb >db.dropDatabase() >{“dropped” : ”mydb”, ”ok” : 1}
  • 16. IN MONGODB IN RDBMS
  • 18. In MongoDB In RDBMS
  • 19.  Sharding is a method for storing data across multiple machines.  Purpose of sharding is that database with large data set exceed the storage capacity of the server.  So,database have 2 basic approaches: 1.Vertical scaling 2. Sharding
  • 22.  Sharding partitions a collection’s data by shard key.  MongoDB divides shard key values into chunks and distributes chunks evenly across shards.  MongoDB uses either Range based paritioning or hash based partitioning.
  • 25.  The addition of new data can result in data distribution imbalances within the cluster.  So to maintain MongoDB ensures two background processes: 1.Splitting 2.Balancing
  • 26.  Replication provides redundancy and increases data availability. .  There is only one primary database allows write operation. .  Multiple secondary database servers only for read operation. .  Arbiter doesn’t store data. It used during failover to decide which server will be next primary server.
  • 28.  Document Oriented Storage  Disaster Recovery  Auto – Sharding  Indexing  GridFS