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-14602 Reduce malloc()/free() usage in InnoDB
- Confirmed
-
MDEV-16232 Use fewer mini-transactions
- Stalled
-
MDEV-20950 Reduce size of record offsets
- Closed
-
MDEV-30289 mtr_t::m_memo is causing frequent memory heap operations
- Closed
-
MDEV-32050 UNDO logs still growing for write-intensive workloads
- Closed
-
MDEV-33559 matched_rec::block should be allocated from the buffer pool
- Closed