Mongo DB Solution · 1 min read · Updated

The solution to HOMEWORK 4.4 M101JS: MongoDB for Node.js Developers

HOMEWORK: HOMEWORK 4.4

In this problem, you will analyze a profile log taken from a MongoDB instance. To start, please download sysprofile.json from Download Handout link and import it with the following command:

mongoimport -d m101 -c profile < sysprofile.json

Now query the profile data, looking for all queries to the students’ collection in the databaseschool2, sorted in order of decreasing latency. What is the latency of the longest-running operation to the collection, in milliseconds?

hw4.4answer

  Answer: 15820

Rupak Nepali
Written byRupak Nepali

Author of four Opencart book.
The recent are Opencart 4 developer book and Opencart 4 user manual

Leave a Reply

Your email address will not be published. Required fields are marked *