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

LP #1131189: Remove trx_list scan from read_view_open_now()

    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 06-06-2013 20:02:33

      read_view_open_now() and read_cursor_view_create_for_mysql() do a scan
      of the list of all open transactions (trx_sys->trx_list) with the
      kernel_mutex locked. On high-concurrency workloads (i.e. sysbench
      read-only with number of threads >= 512) the cost of this scan is
      huge.

        Smart Checklist

          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: