diff --git a/source/reference/database-profiler.txt b/source/reference/database-profiler.txt index 067da989eaa..b496e06b000 100644 --- a/source/reference/database-profiler.txt +++ b/source/reference/database-profiler.txt @@ -51,7 +51,8 @@ example document reflects a find operation: "keysExamined" : 2, "docsExamined" : 2, "cursorExhausted" : true, - "keyUpdates" : 0, + "keysInserted" : 0, + "keysDeleted" : 0, "writeConflicts" : 0, "numYield" : 0, "locks" : { @@ -296,12 +297,13 @@ operation. - Are upserts (that result in an insert) - Do not use a modifier operation such as :update:`$set` -.. data:: system.profile.keyUpdates +.. data:: system.profile.keysInserted - The number of :doc:`index ` keys the update changed in - the operation. Changing an index key - carries a small performance cost because the database must remove the old - key and inserts a new key into the B-tree index. + The number of index keys inserted for a given write operation. + +.. data:: system.profile.keysDeleted + + The number of index keys deleted for a given write operation. .. data:: system.profile.writeConflicts diff --git a/source/release-notes/3.4-compatibility.txt b/source/release-notes/3.4-compatibility.txt index 3d30815587e..499281acdd7 100644 --- a/source/release-notes/3.4-compatibility.txt +++ b/source/release-notes/3.4-compatibility.txt @@ -135,7 +135,7 @@ Stricter validation include the following: db.collection.createIndex( { z: NaN } ); db.collection.createIndex( { x: 1, unique: true } ) -- Ensuring that the specified :ref:`index options +- Ensuring that the specified :doc:`index options ` are valid. Previous versions ignored invalid options. For example, the following operations are no longer valid: