I was inspired to write this article during one project, where I should increase the performance of NoSQL query. At the end, we will be able to see whether tuning the query helps us to go up the speed of execute.

I use the following technologies:

  • MongoDB as a database;
  • MongoDB Compass as a database management system;

What we have?!

I have encountered the problem where I needed to retrieve a particular part of data in MongoDB. The collection name contains about 160 million documents. Later on, you will see how much time it takes without tunning.

Darkhan Bissentayev

Software Developer | Upwork | Freelancer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store