-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
Execution NAMR Team 2023-06-26
-
35
Every query (reads and writes) saves and restores cursors to support yielding. When restoring the cursor, we reposition it by calling search_near() on the _lastReturnedId which we stored when we called next() prior to yielding the cursor.
We can use bounded cursors to improve the performance when repositioning the cursor in the WT record store. This could be useful for example for capped collections when we're making a lot of deletes and the cursor unnecessarily traverses the deleted records to reposition itself.
- is duplicated by
-
SERVER-71155 Utilize the bounded cursor API for regular cursor restores.
- Closed
- related to
-
SERVER-68380 Always use bounded WT cursors instead of search_near
- Closed