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

mtr_t::mtr_t() allocates some memory

    XMLWordPrintable

Details

    Description

      This was a rather surprising find while profiling.
      mtr_t::mtr_t allocates memory through construction of one of its members

      This allocations accounts for 0.68% of CPU time (constructor itself for 0.77% of CPU time), this happens to be the largest contributor to the "operator new" on oltp_update_index benchmark with bufferpool larger than size of the data ( without doublewrite)

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.