@@ -118,6 +118,8 @@ operation.
118
118
119
119
.. stats:: ntoreturn
120
120
121
+ .. versionchanged:: 2.2
122
+
121
123
The number of documents the operation specified to return. For
122
124
example, the :dbcommand:`profile` command would return one document
123
125
(a results document) so the :status:`ntoreturn` value would be ``1``. The
@@ -129,8 +131,14 @@ operation.
129
131
:method:`find() <db.collection.find()>` command with no limit
130
132
specified.
131
133
134
+ In version 2.0, this information was provided for ``query`` and
135
+ ``command`` operations. In 2.2, this information is also provided for
136
+ ``getmore`` operations.
137
+
132
138
.. stats:: ntoskip
133
139
140
+ .. versionadded:: 2.2
141
+
134
142
The number of documents the :method:`skip() <cursor.skip()>` method
135
143
specified to skip.
136
144
@@ -156,21 +164,29 @@ operation.
156
164
157
165
.. stats:: nmoved
158
166
167
+ .. versionadded:: 2.2
168
+
159
169
The number of documents moved on disk by the operation.
160
170
161
171
.. stats:: nupdated
162
172
173
+ .. versionadded:: 2.2
174
+
163
175
The number of documents updated by the operation.
164
176
165
177
.. stats:: keyUpdates
166
178
179
+ .. versionadded:: 2.2
180
+
167
181
The number of :doc:`index </indexes>` keys the update changed in
168
182
the operation. Changing an index key
169
183
carries a small performance cost because the database must remove the old
170
184
key and inserts a new key into the B-tree index.
171
185
172
186
.. stats:: numYield
173
187
188
+ .. versionadded:: 2.2
189
+
174
190
The number of times the operation yielded to allow other operations
175
191
to complete. Typically, operations yield when they need access to
176
192
data that MongoDB has not yet fully read into memory. This allows
@@ -180,6 +196,8 @@ operation.
180
196
181
197
.. stats:: lockStats
182
198
199
+ .. versionadded:: 2.2
200
+
183
201
The time in microseconds the operation spent acquiring and holding
184
202
locks. This field reports data for the following lock types:
185
203
0 commit comments