Details
-
Bug
-
Status: In Testing (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.5, 10.6, 10.11, 11.4
Description
While working on MDEV-35049, I noticed that the function page_cur_search_with_match() is allocating memory for invoking rec_get_offsets(). Its callers typically allocate this memory as well, and they would also invoke rec_get_offsets() again on the returned record. This could be optimized in some way.
A possible fix might be to implement a comparison function that would compute the addresses of fields of records on the fly.
Attachments
Issue Links
- is part of
-
MDEV-35049 fix innodb-adaptive-hash-index scalability with multiple threads
- Stalled