MongoDB is one of the most coveted and admired NoSQL databases for professional development. Its flexibility, scalability and handling of large volumes of data make it the first
Aggregation can be understood as aggregation. The Aggregation operation handles data records and returns calculated results. The operations group the values from multiple
You have seen the use of MongoDB ObjectId in previous chapters. In this chapter, we will understand the structure of ObjectId.
Replication is the process of synchronizing data from multiple servers. Replication provides redundancy and increased data availability for multiple data copies on many different
Sharding is a process of storing data records across multiple devices and it is a method of MongoDB to meet the requirement for increasing data. When the size of the data
To create a database Backup in MongoDB, you should use the mongodump command. This command will dump all Server data into dump directory. There are many options available from
When you are preparing a MongoDB Deployment, you should understand how your application is being supported in Production.
Relationship in MongoDB represents how the Documents are related. Relationship can be modeled through the Embeded and Referenced method.
As shown in the Relationship chapter in MongoDB, to deploy a standardized database structure in MongoDB, we use the Referenced Relationship concept, also known as Manual
When all fields in the query are part of the index, MongoDB connects query conditions and returns the result by using the same index without looking inside the Document. When
Analyzing queries is a very important aspect to assess the effectiveness of Database and the effectiveness of the designed index. We will explore the two most frequently used
MongoDB does not support Atomic Transaction over multiple Documents. However, it provides Atomic Operations on a single Document. Therefore, if a Document has hundreds of fields,
Create an index on the array ie create separate indexes for each of its fields. So in this situation, when we create an index on the array of tags, individual indexes will be
Each index not only occupies part of the memory space but also causes an overhead on each insert, update, and delete operation. So, if you rarely use your Collection for read
In MongoDB Documentation, Map-Reduce is a data processing system that condenses a large amount of data into useful overall results. MongoDB uses mapReduce command for Map-Reduce
Starting with version 2.4, MongoDB started supporting Text Indexes to search within the string content.
Regular Expression is used frequently in all languages to search for a pattern or a word in any string. MongoDB also provides Regular Expression to match Pattern matching in
Rockmongo is a MongoDB management tool. Using it, you can manage your Server, Database, Collection, Document, Index, .... It provides a very friendly way for users to read, write
MongoDB does not have the auto-increment out-of-the-box feature like SQL Database. By default, it uses a 12-byte ObjectId for the _id field as the Primary key to uniquely identify
GridFS is the MongoDB Specification for storing and collecting large files such as images, audio, video files, etc. It is a type of file system to store files but its data is