NoSQL Database — Introduction to MongoDB

Oguzhan Ozturk
3 min readApr 5, 2022

NoSQL Database — We now live in a data-driven culture, and this is the era of Big Data. The 3-V’s, or vast volume, high velocity, and diversity of data, are used to define big data. Unstructured or semi-structured data accounts for 90% of all data generated.

Traditional RDBMS is unsuitable for storing and processing unstructured data. So, we may use a NoSQL database to efficiently store, retrieve, and process unstructured datasets, and MongoDB is one of the most prominent NoSQL databases. In this article, we’ll give you an overview of MongoDB and walk you through the installation process step by step so you can get started. This article can serve as a stepping stone to your NoSQL database journey if you’re interested in starting with MongoDB.

BASICALLY, WHAT IS MONGODB?

MongoDB is a well-known document database that runs on NoSQL technology. It was created by MongoDB Inc. and is available under an open-source license. It’s a database management system that saves the information as documents. MongoDB uses a format similar to JSON (JavaScript Object Notation).

It’s a set of key-value pairings that can be one of three things: a primitive value, an array of documents, or a list of key-value pairs. A colon separates the keys and values, and a comma separates each key-value pair. The JSON object is represented by the (curly brace). As an example,

{“empDetails”: [
{empId:1001,
empName:”Virendra”.
DOB:”01–01–1991”
},
{empId:1002,
empName:”Amit”.
DOB:”01–01–1992”
},
{empId:1003,
empName:”Ajay”.
DOB:”01–01–1995”
},
]
}

In MongoDB, it is extremely simple for programs to make changes and retrieve data. Create filters on the collections to query these things. You may use MongoDB to generate indexes like as ascending, descending, unique, and geospatial indexes. It’s easy to use and can manage big amounts of data.

WHY MONGODB IS SO POPULAR AMONG DEVELOPERS AND COMPANIES?

IT behemoths like Google, Cisco, Facebook, SAP, Expedia, eBay, and Adobe all use MongoDB. It is an unavoidable choice for data-driven applications due to its flexibility, simplicity, and ability to handle unstructured / semi-structured datasets. MongoDB is commonly used for real-time analytics, mobile apps, Big Data, and the Internet of Things (IoT), among other things. MongoDB is still the most effective way for app developers to handle unstructured and semi-structured datasets.

SOME IMPORTANT TERMINOLOGIES USED IN THE MONGODB

Collections: Collections in MongoDB store many JSON documents and are similar to tables in relational database management systems (RDBMS).

Documents: In MongoDB, records are kept up as reports. Records are equivalent to lines in tables in the social information base administration framework. Like in RDBMS, the assortment of columns/tuples is called a table while in MongoDB records join in an assortment.

Fields: Fields or traits are like sections in an RDBMS (SQL table).

Shema: While MongoDB is composing fewer data set though SQL characterizes table pattern utilizing SQL DDL (information definition Language) explanations.

While MongoDB is an outline less information base though SQL characterizes table patterns utilizing SQL DDL (information definition Language) proclamations.

CONCLUSION

In this article, we have examined, what is NoSQL data set is — MongoDB. we have given an extremely short prologue to MongoDB. An open-source data set gives a simple and very basic method for utilizing. NoSQL data set — MongoDB is very helpful for proficiently dealing with enormous datasets in a circulated climate. MongoDB oversees archived arranged datasets, and stores or recovers data proficiently. It is broadly used to deal with unstructured and semi-organized datasets.

--

--