File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ operations on a standalone:
107
107
"responseLength" : 1305014,
108
108
"protocol" : "op_msg",
109
109
"millis" : 69132,
110
+ "planningTimeMicros" : 129,
110
111
"planSummary" : "IXSCAN { a: 1, _id: -1 }",
111
112
"execStats" : {
112
113
"stage" : "FETCH",
@@ -192,6 +193,7 @@ operations on a standalone:
192
193
}
193
194
},
194
195
"millis" : 164687,
196
+ "planningTimeMicros" : 129,
195
197
"planSummary" : "COLLSCAN",
196
198
"execStats" : {
197
199
"stage" : "UPDATE",
@@ -668,6 +670,13 @@ operation.
668
670
:binary:`~bin.mongod` from the beginning of the operation to the end of
669
671
the operation.
670
672
673
+ .. data:: planningTimeMicros
674
+
675
+ .. versionadded:: 6.2
676
+
677
+ The time, in milliseconds, that the ``find`` or ``aggregate`` command
678
+ spent in :ref:`query planning <query-plans-query-optimization>`.
679
+
671
680
.. data:: system.profile.planSummary
672
681
673
682
A summary of the execution plan.
You can’t perform that action at this time.
0 commit comments