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

Poor RBR update performance with partitioned tables

Details

    Description

      This is related to the following upstream bug:

      https://bugs.mysql.com/bug.php?id=73648

      When binlog_format=ROW is set and a partitioned table is updated, the update seems to perform much slower than an equivalent update of a non-partitioned table.

      Some MTR tests have been contributed to demonstrate this problem. They are in the attached zip archive. The results were reported as the following:

      mariadb-10.1.31

      bug.test 'innodb_plugin,row' [ pass ] 114205
      bug.test_no_partition 'innodb_plugin,row' [ pass ] 22101

      bug.test 'row,xtradb' [ pass ] 429822
      bug.test_no_partition 'row,xtradb' [ pass ] 65829

      mariadb 10.2.12

      bug.test 'innodb,row' [ pass ] 161739
      bug.test_no_partition 'innodb,row' [ pass ] 28501

      mysql-5.6.39

      bug.test [ pass ] 158594
      bug.test_no_partition [ pass ] 20350

      mysql 5.7.21

      bug.test [ pass ] 37490
      bug.test_no_partition [ pass ] 26441

      MySQL 5.7 most likely performs better because of the introduction of native partitioning. Native partitioning was removed from MariaDB 10.2 during the 5.7 InnoDB merge. See MDEV-15223.

      Attachments

        Issue Links

          Activity

            GeoffMontee Geoff Montee (Inactive) created issue -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Field Original Value New Value
            elenst Elena Stepanova made changes -
            Fix Version/s 10.0 [ 16000 ]
            Fix Version/s 10.1 [ 16100 ]
            Assignee Andrei Elkin [ elkin ]
            GeoffMontee Geoff Montee (Inactive) made changes -
            julien.fritsch Julien Fritsch made changes -
            Assignee Andrei Elkin [ elkin ] Julien Fritsch [ julien.fritsch ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Julien Fritsch [ julien.fritsch ] Andrei Elkin [ elkin ]
            valerii Valerii Kravchuk made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            Elkin Andrei Elkin made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Elkin Andrei Elkin made changes -
            Assignee Andrei Elkin [ elkin ] Sergei Golubchik [ serg ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.3 [ 22126 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.2 [ 14601 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Andrei Elkin [ elkin ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            Elkin Andrei Elkin made changes -
            Fix Version/s 10.0.36 [ 22916 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.0 [ 16000 ]
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.3 [ 22126 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1.35 [ 23116 ]
            Fix Version/s 10.2.17 [ 23111 ]
            Fix Version/s 10.3.8 [ 23113 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 85483 ] MariaDB v4 [ 153756 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 134634

            People

              Elkin Andrei Elkin
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              9 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.