I am started using MongoDB few days ago. Everything is fine with MongoDB but i couldn’t figure out is query to check Current progress of MongoDB. ie [ Command to check which query is currently in progress in MongoDB or Command to list out overall Process of MongoDB ]. I tried executing the command “mongostat” but it doesn’t provides which query is in progress. So Please provide the remedy for this case.
Advance Thanks,
You’ll want to do mongo profiling:
Database Profiling
You need to first turn on the profiler by selecting your database; than db.setProfilingLevel(2);
From there you can start tracking your queries. If you haven’t done so, I’d recommend installing MMS; mongo’s monitoring system which is just an outstanding monitoring tool.
It’s helped me a ton in watching queries come through.