Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18746

Reduce the amount of mem_heap_create() or malloc()

    Details

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marko Marko Mäkelä
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: