Discussion:
[mongodb-dev] executionTime in explain
Monika Shah
2018-02-10 17:54:55 UTC
Permalink
Does executionTimeMillis include CPU time, disk access time, network time?
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/99f3b48c-13c7-4168-a397-01162d4a0ff5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Kevin Adistambha' via mongodb-dev
2018-04-04 06:07:52 UTC
Permalink
Hi Monika

As mentioned in the executionTimeMillis section of the explain output
<https://docs.mongodb.com/manual/reference/explain-results/#explain.executionStats.executionTimeMillis>,
it is the “Total time in milliseconds required for query plan selection and
query execution. “.

This would count the time the server required to answer the query, but will
not include the time it will take to communicate the result back to the
client. That is, it will include CPU time, disk time, etc. but not network
time.

Best regards
Kevin
​
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/89d74f39-9f29-42ee-b5c3-54000ee60662%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...