Introduction to sharding

Introduction to sharding Sharding: Sharding is a process of distributing the data across multiple machines. The distribution is done based on the specific key called the shard key. This allows MongoDB to handle large datasets and higher read/write operations. MongoDB supports horizontal scaling through Sharding.… Read More

Indexes in MongoDB

Indexes in MongoDB Index: Index is a data structure that enhances the data retrieval efficiency by storing the small portion of the collection’s data along with the pointers to their physical location in the collection. 👉 MongoDB indexes use B-tree data structure. 👉 Indexes help… Read More

Install MongoDB in Amazon Linux VM

Install MongoDB in Amazon Linux VM: Step-1: Create a Linux virtual machine in AWS. Step-2: After creating it connect it through the putty or mobaXterm. Step-3: Run “sudo su“ to get all the root privileges.

Step-4: To know about the version and its details… Read More

Roles In MongoDB Part – 2

Roles In MongoDB Part – 2 User-Defined roles: MongoDB provides many built-in roles to manage the access to the database.but when the built-in roles did not meet your requirement privileges then you can go for creating your own roles. Creation of user-Defined role: To create… Read More

Roles in MongoDB

Roles in MongoDB MongoDB uses Role Based Access Control (RABC) to provide access to any MongoDB system. MongoDB supports multiple authentication methods like x.509 Certificate Kerberos Authentication and may like these authentication methods and the access to the database granted through the role-based authorization. There… Read More

MongoDB Query Operators Part-3

MongoDB Query Operators Part-3 Evaluation Query Operators MongoDB Evaluation operators are used to evaluate the structure of overall data or the individual fields in the document. They are of six types of Evaluations operators 1. mod ($mod) 2. text ($text) 3. where ($where) 4. jsonSchema… Read More

MongoDB Query Operators

MongoDB Query Operators There are different types of Operators available in MongoDB which are used to filter the data. 1 – Comparison operators 2 – Logical operators 3 – Element operators 4 – Evaluation operators 5 – Geospatial operators 6 – Array operators 7 –… Read More

Create an account in MongoDB atlas

Create an account in MongoDB atlas. Steps to create an account in MongoDB atlas 1 – Open the following link in your browser like chrome, edge then you get like the image displayed below. Link: https://www.mongodb.com/atlas/database 2 – Click on try for free which you… Read More