mongoDB_Intro-1 gives us the introduction to mongoDb
jagmohankr2649
17 views
14 slides
Jul 14, 2024
Slide 1 of 14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
About This Presentation
It gives us the first insights to mongoDB
Size: 820.45 KB
Language: en
Added: Jul 14, 2024
Slides: 14 pages
Slide Content
* Department of ECE 1 Introduction to MongoDB Presented by – Harsh Kumar USN – 1RV21EC065
What is MongoDB? History of MongoDB. Key features of MongoDB. Some real life Use cases of MongoDB. Data Models. CRUD operations in MongoDB. RV College of Engineering Outline Go, change the world * Department of ECE 2
RV College of Engineering Go, change the world * Department of ECE 3 What is MongoDB? It is a noSQL database management system. It supports high availability and fault tolerance and also support low – latency data retrieval. It provides a flexible, scalable, and high-performance solution for storing and managing data. It can handle large volumes of unstructured, semi-structured, or structured data.
RV College of Engineering Go, change the world * Department of ECE 4 History of MongoDB It was First released in 2009 by the company 10gen , now know as MongoDB inc. by Dwight Merriman , Eliot Horowitz and Kevin Ryan in response to the limitations of traditional databases. Different Versions of MongoDB along with their date of launch: MongoDB 2.0 (September 2011) MongoDB 3.0 (February 2015) MongoDB 3.4 (November 2016) MongoDB 4.0 (June 2018) MongoDB 4.4 (July 2020) MongoDB 7.0 (August 2023) – By far the last update ( currently in use )
RV College of Engineering Go, change the world * Department of ECE 5 Key Features of MongoDB Flexible Schema - means that the documents in a collection can have varying structures. MongoDB is document oriented. Better scalability. High Performance.
RV College of Engineering Go, change the world * Department of ECE 6 Some Real life use cases of MongoDB Content Management System (CMS). Real Time Analytics. IOT. Mobile/Web App Backends. Utilized in E-Commerce platforms for product catalogs , order processing and to maintaining user engagement analytics.
RV College of Engineering Go, change the world * Department of ECE 7 Data Model MongoDB is Document oriented - It stores data in format called documents where a document is a BJSON structure that consists key - value pairs. Each attribute in a mongoDB document is seperated by commas. Each documents in the same collection can have different fields and attributes and each documents represents a single entity. MongoDB uses BJSON like documents for data storage and interchange . BJSON supports various datatypes such as string , numbers , arrays , nested documents , regular expression and more.
RV College of Engineering Go, change the world * Department of ECE 8 Data Model
RV College of Engineering Go, change the world * Department of ECE 9 CRUD Operations in MongoDB how to create a database in Mongosh :
RV College of Engineering Go, change the world * Department of ECE 10 CRUD Operations in MongoDB Insert Operation: Note : When we insert Multiple document using insertMany() method it expects an array of documents as argument. .
RV College of Engineering Go, change the world * Department of ECE 11 CRUD Operations in MongoDB Find Operation:
RV College of Engineering Go, change the world * Department of ECE 12 CRUD Operations in MongoDB Update Operation:
RV College of Engineering Go, change the world * Department of ECE 13 CRUD Operations in MongoDB Delete Operation:
Thank You RV College of Engineering Go, change the world * Department of ECE 14