You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still new to Mongo but I wanted to get the execution time of my aggregate queries and while I am using explain-aggregate function, I cannot really see the executionStats section returned from it.
My Mongo is from the 3.6.17-xenial docker image.
Is there any way to access that information?
The text was updated successfully, but these errors were encountered:
as the article suggests you have to run explain with the executionStats option which unfortunately doesn't seem to be supported by the java driver :'( here the api only allows AggregateOptions not any explain options. You could potentially profile your query using the MongoDB shell and then using it in your clojure application. if you really want to do it in clojure you can manually use the raw runCommand interface through java interrop but that would be a bit painful.
Hi there!
Still new to Mongo but I wanted to get the execution time of my
aggregate
queries and while I am usingexplain-aggregate
function, I cannot really see theexecutionStats
section returned from it.My Mongo is from the
3.6.17-xenial
docker image.Is there any way to access that information?
The text was updated successfully, but these errors were encountered: