[SERVER-72882] Use new WT get_key_value API Created: 16/Jan/23  Updated: 24/Jan/24  Resolved: 29/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Chenhao Qu
Resolution: Fixed Votes: 0
Labels: perf-8.0, perf-tiger, perf-tiger-handoff, perf-tiger-poc, perf-tiger-q4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
related to WT-9786 API improvements for get_key and get_... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-12-11
Participants:
Linked BF Score: 35

 Description   

Now that WT-9786 is merged, we have a new (and fast) API for reading WT_ITEMs. This ticket is to use this interface on the mongodb side.



 Comments   
Comment by Githook User [ 29/Nov/23 ]

Author:

{'name': 'Chenhao Qu', 'email': 'chenhao.qu@mongodb.com', 'username': 'quchenhao'}

Message: SERVER-72882 Use WiredTiger's get_raw_key_value api for column store and index
Branch: master
https://github.com/mongodb/mongo/commit/0810e7c6ba9d4b8b0965001612634ab8f5b1f3f7

Comment by Mark Benvenuto [ 12/Sep/23 ]

Since work required is in wiredtiger_index.cpp, this should ultimately be moved to storage execution.

Since _id indexes use key_format=u and value_format=u, this will be a nice improvement for this case.

The main collection table users key_format=q and value_format=u so this is less applicable.

POC: https://github.com/10gen/mongo/commit/242f1ad92733aeeb1b73c136aecc08fbfe5023f8

Generated at Thu Feb 08 06:23:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.