MongoDB 5: the new features

MongoDB is the most widely used NoSQL database in the world. Its continuous growth is due to the continuous development of new features. Version 5, released at the end of July 2021, introduced some very interesting new features. In this article we will analyze the most relevant and most useful in their daily use.

MongoDB and Docker – How to create and configure a replica set

docker e mongo

Creating a replica set in MongoDB requires several steps that need to be performed accurately. Taking advantage of Docker’s capabilities, you can automate the whole process. We are going to find out step by step how to configure the various components of our project.

Theory of MongoDB replica set

Schema MongoDB replica set con arbitro

Replicata sets allow data to be redundant across different MongoDB instances, thereby increasing fault tolerance and availability to distribute workloads across different data centers. Let’s explore the main features.

MongoDB Compass – extract statistics using aggregation pipeline

MongoDB Compass aggregation pipeline

Unlike relational databases, MongoDB allows you to create pipelines for manipulation and extraction of statistics in a simple and intuitive way. With the latest versions, the aggregation pipeline was introduced, which is based on the idea of creating a data processing framework. Documents in a collection enter a multi-step pipeline that transforms the documents into […]

MongoDB Compass – easily query and analyze a NoSQL database

MongoDB Compass

In this how-to guide on the most common queries in MongoDB we will use the sample datasets provided within the MongoDB Atlas installation. Find all the references on how to create a free account on MongoDB Atlas, configure a cluster and load databases to practice in this article. Cluster connection First you need to decide […]