Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
InnoDB is frequently allocating and deallocating memory during simple operations, such as INSERT or UPDATE. It should be more efficient to use a single mem_heap_t for the whole row operation, maybe row_prebuilt_t::heap. Maybe some dynamic allocations could be avoided altogether. Perhaps we could use one or two preallocated buffers for rec_get_offsets(), possibly in btr_cur_t or page_cur_t, and avoid repeated calls to rec_get_offsets().
Attachments
Issue Links
- relates to
-
MDEV-16232 Use fewer mini-transactions
- Stalled
-
MDEV-20950 Reduce size of record offsets
- Closed