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

Reorder fields in PFS_events and PFS_events_waits to speed up memcpy()

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 10.1.39
    • Component/s: OTHER
    • Labels:
      None

      Description

      memcpy() happens inside copy_events_waits() and copy_events_waits() is called from insert_events_waits_history() which I can sometimes see from perf top while running tests.

      Field reordering is pretty simple and can bring a tiny speed up.

        Attachments

          Activity

            People

            Assignee:
            kevg Eugene Kosov
            Reporter:
            kevg Eugene Kosov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: