File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ example document reflects a find operation:
51
51
"keysExamined" : 2,
52
52
"docsExamined" : 2,
53
53
"cursorExhausted" : true,
54
- "keyUpdates" : 0,
54
+ "keysInserted" : 0,
55
+ "keysDeleted" : 0,
55
56
"writeConflicts" : 0,
56
57
"numYield" : 0,
57
58
"locks" : {
@@ -296,12 +297,13 @@ operation.
296
297
- Are upserts (that result in an insert)
297
298
- Do not use a modifier operation such as :update:`$set`
298
299
299
- .. data:: system.profile.keyUpdates
300
+ .. data:: system.profile.keysInserted
300
301
301
- The number of :doc:`index </indexes>` keys the update changed in
302
- the operation. Changing an index key
303
- carries a small performance cost because the database must remove the old
304
- key and inserts a new key into the B-tree index.
302
+ The number of index keys inserted for a given write operation.
303
+
304
+ .. data:: system.profile.keysDeleted
305
+
306
+ The number of index keys deleted for a given write operation.
305
307
306
308
.. data:: system.profile.writeConflicts
307
309
You can’t perform that action at this time.
0 commit comments