...

MongoDB backup and restore

Posted by Abhay on Wednesday, November 18, 2015

Reading time: 4 minutes

Backup and restore are essential routine jobs. If you are working with MongoDB, then you must know how to take backups as well as how to restore them. MongoDB comes with excellent command-line tools for taking backups and restoring backups, i.e., mongodump and mongorestore. This post shows …

...

CRUD operations in MongoDB

Posted by Abhay on Tuesday, August 18, 2015

Reading time: 6 minutes

The acronym CRUD stands for Create, Read, Update, and Delete. In this section, we will learn basic CRUD operations. CRUD operations can be extremely complex sometimes, but we will not go into the complicated stuff for two reasons. First, it is not under the scope of this post. Second, we will be …

...

Indexes in MongoDB

Posted by Abhay on Sunday, April 19, 2015

Reading time: 10 minutes

MongoDB provides different kinds of indexes. Indexes are vital when the dataset is big. You just cannot keep scanning the whole collection on disk again and again for every query. So, indexing becomes extremely important when you have a massive amount of data stored in the collections. But when you …

...

MongoDB GridFS using Python

Posted by Abhay on Wednesday, March 18, 2015

Reading time: 17 minutes

Data is collected and stored in different forms depending on the nature of data. It can be in the form of text, images, videos, audio files, and files in other formats. MongoDB can be used for storing all kinds of data, but so far, we have used it for storing plain text information in MongoDB …