Have slow database queries? Get more information on the performance of your queries using the explain feature. Using the mongo shell, invoke the explain() method on a cursor:
> db.collection.find(query). explain()
example :
> db.user.find().explain();
The result will be a document that contains the explain output:
{
"cursor" : "BasicCursor",
"indexBounds" : [ ],
"nscanned" : 57594,
"nscannedObjects" : 57594,
"nYields" : 2 ,
"n" : 3 ,
"millis" : 108,
"indexOnly" : false,
"isMultiKey" : false,
"nChunkSkips" : 0
}
For More Detail visit :
http://docs.mongodb.org/ manual/reference/explain/
Cheers !!!!!!!!!!!!!!!!!
D721ED2708
ReplyDeleteWhen exploring new printing techniques, it's essential to find reliable resources that can guide you through the process. One such platform is DTFhub, which offers comprehensive tutorials and product reviews. By utilizing their insights, you can improve your skills and achieve better results in your projects. For anyone interested in digital transfer printing, DTFhub is a valuable resource to keep bookmarked.