Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Storage Execution
Description
Nowadays the operations performed using the Collections API are all independent. If we want to do a read-modify-write sequence of operations we will use two separate WT cursors: one for obtaining the document, and another to write the changes.
This is inefficient as the second cursor will need to be positioned to the same location as the first one. Ideally we should be able to reuse the first one to perform the write as it is already positioned where it will perform the update.
This should improve performance by avoiding unnecessary cursor operations.
Attachments
Issue Links
- is depended on by
-
SERVER-69396 Modify time-series inserts to use damages instead of full-document updates
-
- Blocked
-