Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-636

LP #1131187: Remove malloc() from read_view_create_low()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Alexey Kopytov last update 24-05-2013 09:55:36

      read_view_create_low() is called on every transaction start and allocates memory for the read view created in read_view_open_now().

      The problem is that the heap for that allocation is emptied on each commit and thus read view memory is reallocated on the next transaction. Memory profiling shows that memory allocated by read_view_create_low() amount to almost 100% of all allocations made by InnoDB in sysbench read-only tests.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist