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 .
relates to
MDEV-15223
Document that InnoDB's native partitioning was not merged into MariaDB
Closed
links to
Elena Stepanova
made changes -
2018-02-07 19:40
Fix Version/s
10.0
[ 16000
]
Fix Version/s
10.1
[ 16100
]
Assignee
Andrei Elkin
[ elkin
]
Geoff Montee (Inactive)
made changes -
2018-02-07 19:40
Remote Link
This issue links to "MySQL Bug #73648 - innodb table replication is very slow with some of the partioned table (Web Link)"
[ 28402
]
Julien Fritsch
made changes -
2018-02-08 08:41
Assignee
Andrei Elkin
[ elkin
]
Julien Fritsch
[ julien.fritsch
]
Julien Fritsch
made changes -
2018-02-08 08:42
Assignee
Julien Fritsch
[ julien.fritsch
]
Andrei Elkin
[ elkin
]
Valerii Kravchuk
made changes -
2018-02-17 16:03
Priority
Major
[ 3
]
Critical
[ 2
]
Andrei Elkin
made changes -
2018-06-19 15:26
Status
Open
[ 1
]
In Progress
[ 3
]
Andrei Elkin
made changes -
2018-06-19 15:30
Assignee
Andrei Elkin
[ elkin
]
Sergei Golubchik
[ serg
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Julien Fritsch
made changes -
2018-06-21 10:19
Fix Version/s
10.3
[ 22126
]
Julien Fritsch
made changes -
2018-06-21 10:20
Fix Version/s
10.2
[ 14601
]
Sergei Golubchik
made changes -
2018-06-22 21:39
Assignee
Sergei Golubchik
[ serg
]
Andrei Elkin
[ elkin
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Andrei Elkin
made changes -
2018-06-26 10:58
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
]
Sergei Golubchik
made changes -
2018-07-01 18:25
Fix Version/s
10.1.35
[ 23116
]
Fix Version/s
10.2.17
[ 23111
]
Fix Version/s
10.3.8
[ 23113
]
Sergei Golubchik
made changes -
2021-12-06 21:46
Workflow
MariaDB v3
[ 85483
]
MariaDB v4
[ 153756
]
{"report":{"fcp":875.4000000953674,"ttfb":242.20000004768372,"pageVisibility":"visible","entityId":65782,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"db292bf8-5d53-495f-8518-3db1f6d9799d","navigationType":0,"readyForUser":991.4000000953674,"redirectCount":0,"resourceLoadedEnd":914.0999999046326,"resourceLoadedStart":247.90000009536743,"resourceTiming":[{"duration":116.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":247.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":247.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":364.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":116.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":248.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":365,"responseStart":0,"secureConnectionStart":0},{"duration":135.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":248.40000009536743,"connectEnd":248.40000009536743,"connectStart":248.40000009536743,"domainLookupEnd":248.40000009536743,"domainLookupStart":248.40000009536743,"fetchStart":248.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":248.40000009536743,"responseEnd":384.2000000476837,"responseStart":384.2000000476837,"secureConnectionStart":248.40000009536743},{"duration":196.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":248.5,"connectEnd":248.5,"connectStart":248.5,"domainLookupEnd":248.5,"domainLookupStart":248.5,"fetchStart":248.5,"redirectEnd":0,"redirectStart":0,"requestStart":248.5,"responseEnd":445.09999990463257,"responseStart":445,"secureConnectionStart":248.5},{"duration":200.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":248.79999995231628,"connectEnd":248.79999995231628,"connectStart":248.79999995231628,"domainLookupEnd":248.79999995231628,"domainLookupStart":248.79999995231628,"fetchStart":248.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":248.79999995231628,"responseEnd":448.90000009536743,"responseStart":448.90000009536743,"secureConnectionStart":248.79999995231628},{"duration":200.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":249,"connectEnd":249,"connectStart":249,"domainLookupEnd":249,"domainLookupStart":249,"fetchStart":249,"redirectEnd":0,"redirectStart":0,"requestStart":249,"responseEnd":449.40000009536743,"responseStart":449.40000009536743,"secureConnectionStart":249},{"duration":200.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":249.20000004768372,"connectEnd":249.20000004768372,"connectStart":249.20000004768372,"domainLookupEnd":249.20000004768372,"domainLookupStart":249.20000004768372,"fetchStart":249.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":249.20000004768372,"responseEnd":449.7999999523163,"responseStart":449.7999999523163,"secureConnectionStart":249.20000004768372},{"duration":278.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":249.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":528.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":200.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":249.5,"connectEnd":249.5,"connectStart":249.5,"domainLookupEnd":249.5,"domainLookupStart":249.5,"fetchStart":249.5,"redirectEnd":0,"redirectStart":0,"requestStart":249.5,"responseEnd":450.2000000476837,"responseStart":450.2000000476837,"secureConnectionStart":249.5},{"duration":278.7000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":249.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":528.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":200.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":249.90000009536743,"connectEnd":249.90000009536743,"connectStart":249.90000009536743,"domainLookupEnd":249.90000009536743,"domainLookupStart":249.90000009536743,"fetchStart":249.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":249.90000009536743,"responseEnd":450.7999999523163,"responseStart":450.7999999523163,"secureConnectionStart":249.90000009536743},{"duration":512.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":251,"connectEnd":251,"connectStart":251,"domainLookupEnd":251,"domainLookupStart":251,"fetchStart":251,"redirectEnd":0,"redirectStart":0,"requestStart":251,"responseEnd":763.2000000476837,"responseStart":763.2000000476837,"secureConnectionStart":251},{"duration":615.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":255.70000004768372,"connectEnd":255.70000004768372,"connectStart":255.70000004768372,"domainLookupEnd":255.70000004768372,"domainLookupStart":255.70000004768372,"fetchStart":255.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":255.70000004768372,"responseEnd":871.5,"responseStart":871.5,"secureConnectionStart":255.70000004768372},{"duration":223.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":539.7999999523163,"connectEnd":539.7999999523163,"connectStart":539.7999999523163,"domainLookupEnd":539.7999999523163,"domainLookupStart":539.7999999523163,"fetchStart":539.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":539.7999999523163,"responseEnd":763.7000000476837,"responseStart":763.7000000476837,"secureConnectionStart":539.7999999523163},{"duration":71.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":804.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":804.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":876.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":102.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":805.5999999046326,"connectEnd":805.5999999046326,"connectStart":805.5999999046326,"domainLookupEnd":805.5999999046326,"domainLookupStart":805.5999999046326,"fetchStart":805.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":805.5999999046326,"responseEnd":908.4000000953674,"responseStart":908.4000000953674,"secureConnectionStart":805.5999999046326},{"duration":107.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":806.2000000476837,"connectEnd":806.2000000476837,"connectStart":806.2000000476837,"domainLookupEnd":806.2000000476837,"domainLookupStart":806.2000000476837,"fetchStart":806.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":806.2000000476837,"responseEnd":914.0999999046326,"responseStart":914.0999999046326,"secureConnectionStart":806.2000000476837},{"duration":179.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":863.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":863.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1043,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":42,"responseStart":243,"responseEnd":248,"domLoading":246,"domInteractive":1074,"domContentLoadedEventStart":1074,"domContentLoadedEventEnd":1120,"domComplete":1253,"loadEventStart":1253,"loadEventEnd":1253,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1050.7000000476837},{"name":"bigPipe.sidebar-id.end","time":1051.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1051.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1056.5999999046326},{"name":"activityTabFullyLoaded","time":1153.2000000476837}],"measures":[],"correlationId":"7ff6e085dd1f9e","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":144,"dbReadsTimeInMs":26,"dbConnsTimeInMs":36,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}