Implement that server reads/updates the GTID position using multiple tables
mysql.gtid_slave_pos_XXX, each using a different storage engine. Replicated
transactions update the version of the table in the same engine, if
available. This avoids the overhead of cross-engine transactions on servers
where multiple storage engines are in use at the same time (but not in the
same transactions).
Sergei Petrunia
added a comment - Ok I have no issues with the patch (Review Done), except the question of how to package this, which I have described here: https://lists.launchpad.net/maria-developers/msg10779.html .
Sergei Petrunia
added a comment - Merged the code to MariaDB 10.3 (not automatic but nothing complex): https://github.com/MariaDB/server/tree/bb-10.3-mdev12179
For now, the default for --gtid-pos-auto-engines is empty. This can be easily changed if desired, just update the value in sql/mysqld.cc.
Kristian Nielsen
added a comment - Pushed to 10.3.1.
For now, the default for --gtid-pos-auto-engines is empty. This can be easily changed if desired, just update the value in sql/mysqld.cc.
Jean-François Gagné
added a comment - Leaving some links about this work here:
http://kristiannielsen.livejournal.com/19223.html
https://jfg-mysql.blogspot.com/2017/05/better-replication-with-many-storage-engine.html
People
Kristian Nielsen
Kristian Nielsen
Votes:
1Vote for this issue
Watchers:
10Start 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.
{"report":{"fcp":910.7999997138977,"ttfb":203.2999997138977,"pageVisibility":"visible","entityId":60437,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"070fac6c-d5af-4bef-b3e2-5d9e1301cda8","navigationType":0,"readyForUser":983.6999998092651,"redirectCount":0,"resourceLoadedEnd":607.7999997138977,"resourceLoadedStart":209.69999980926514,"resourceTiming":[{"duration":54,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":263.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":54.09999990463257,"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":210.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":264.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":250.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.19999980926514,"connectEnd":210.19999980926514,"connectStart":210.19999980926514,"domainLookupEnd":210.19999980926514,"domainLookupStart":210.19999980926514,"fetchStart":210.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":269.2999997138977,"responseEnd":460.7999997138977,"responseStart":287.7999997138977,"secureConnectionStart":210.19999980926514},{"duration":397.2999997138977,"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":210.5,"connectEnd":268.09999990463257,"connectStart":268.09999990463257,"domainLookupEnd":268.09999990463257,"domainLookupStart":268.09999990463257,"fetchStart":210.5,"redirectEnd":0,"redirectStart":0,"requestStart":268.7999997138977,"responseEnd":607.7999997138977,"responseStart":285.59999990463257,"secureConnectionStart":268.09999990463257},{"duration":73.5,"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":210.59999990463257,"connectEnd":210.59999990463257,"connectStart":210.59999990463257,"domainLookupEnd":210.59999990463257,"domainLookupStart":210.59999990463257,"fetchStart":210.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":269.3999996185303,"responseEnd":284.09999990463257,"responseStart":279.5,"secureConnectionStart":210.59999990463257},{"duration":84.19999980926514,"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":211.19999980926514,"connectEnd":211.19999980926514,"connectStart":211.19999980926514,"domainLookupEnd":211.19999980926514,"domainLookupStart":211.19999980926514,"fetchStart":211.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":271,"responseEnd":295.3999996185303,"responseStart":291.69999980926514,"secureConnectionStart":211.19999980926514},{"duration":84.40000009536743,"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":211.39999961853027,"connectEnd":211.39999961853027,"connectStart":211.39999961853027,"domainLookupEnd":211.39999961853027,"domainLookupStart":211.39999961853027,"fetchStart":211.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":271.59999990463257,"responseEnd":295.7999997138977,"responseStart":292.19999980926514,"secureConnectionStart":211.39999961853027},{"duration":59,"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":211.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":270.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":85.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":211.7999997138977,"connectEnd":211.7999997138977,"connectStart":211.7999997138977,"domainLookupEnd":211.7999997138977,"domainLookupStart":211.7999997138977,"fetchStart":211.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":272.8999996185303,"responseEnd":297.2999997138977,"responseStart":296.09999990463257,"secureConnectionStart":211.7999997138977},{"duration":60.09999990463257,"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":212,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":272.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":90.09999990463257,"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":212.19999980926514,"connectEnd":212.19999980926514,"connectStart":212.19999980926514,"domainLookupEnd":212.19999980926514,"domainLookupStart":212.19999980926514,"fetchStart":212.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":277.19999980926514,"responseEnd":302.2999997138977,"responseStart":296.8999996185303,"secureConnectionStart":212.19999980926514},{"duration":369.90000009536743,"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":226.19999980926514,"connectEnd":226.19999980926514,"connectStart":226.19999980926514,"domainLookupEnd":226.19999980926514,"domainLookupStart":226.19999980926514,"fetchStart":226.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":391.2999997138977,"responseEnd":596.0999999046326,"responseStart":589.6999998092651,"secureConnectionStart":226.19999980926514},{"duration":365.7999997138977,"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":233.5,"connectEnd":233.5,"connectStart":233.5,"domainLookupEnd":233.5,"domainLookupStart":233.5,"fetchStart":233.5,"redirectEnd":0,"redirectStart":0,"requestStart":480.5,"responseEnd":599.2999997138977,"responseStart":594,"secureConnectionStart":233.5},{"duration":184.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":591.0999999046326,"connectEnd":591.0999999046326,"connectStart":591.0999999046326,"domainLookupEnd":591.0999999046326,"domainLookupStart":591.0999999046326,"fetchStart":591.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":741.6999998092651,"responseEnd":775.6999998092651,"responseStart":775,"secureConnectionStart":591.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":31,"responseStart":203,"responseEnd":234,"domLoading":208,"domInteractive":1055,"domContentLoadedEventStart":1055,"domContentLoadedEventEnd":1116,"domComplete":1824,"loadEventStart":1824,"loadEventEnd":1825,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1030.5},{"name":"bigPipe.sidebar-id.end","time":1031.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1031.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1033.1999998092651},{"name":"activityTabFullyLoaded","time":1134.5999999046326}],"measures":[],"correlationId":"930e09b5c8c379","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":15,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
knielsen, thanks for clarification