Database Reference
In-Depth Information
4. After executing the operation using the mongo shell interface, you can fetch logs
from the profiler collection. Fetching profiler logs is as easy as issuing this com-
mand in the mongo shell:
db.system.profile.find()
5. After issuing the preceding command, the output of the profiler will be as fol-
lows:
{
"op": "query",
"ns": "testdb.testcollection",
"query": {
"query": {
},
Search WWH ::




Custom Search