Type:
Task
Priority:
Major
Resolution:
Fixed
From today's optimizer call:
According to igor , the default setting for optimize_join_buffer_size should be ON.
The first step is to enable the flag and run MTR.
relates to
MDEV-15253
Default optimizer setting changes for MariaDB 10.4
Closed
{"report":{"fcp":1631.7000002861023,"ttfb":267.30000019073486,"pageVisibility":"visible","entityId":71225,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d1fc2c3b-9e6a-4c2e-a8fc-3870be4a4dee","navigationType":0,"readyForUser":1634.9000000953674,"redirectCount":0,"resourceLoadedEnd":1238.9000000953674,"resourceLoadedStart":353.5,"resourceTiming":[{"duration":65.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":353.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":353.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":418.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":65.5,"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":353.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":353.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":419.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":697.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":354,"connectEnd":354,"connectStart":354,"domainLookupEnd":354,"domainLookupStart":354,"fetchStart":354,"redirectEnd":0,"redirectStart":0,"requestStart":422.5,"responseEnd":1051.9000000953674,"responseStart":465.90000009536743,"secureConnectionStart":354},{"duration":884.6999998092651,"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":354.2000002861023,"connectEnd":354.2000002861023,"connectStart":354.2000002861023,"domainLookupEnd":354.2000002861023,"domainLookupStart":354.2000002861023,"fetchStart":354.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":422.59999990463257,"responseEnd":1238.9000000953674,"responseStart":446,"secureConnectionStart":354.2000002861023},{"duration":117.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":354.40000009536743,"connectEnd":354.40000009536743,"connectStart":354.40000009536743,"domainLookupEnd":354.40000009536743,"domainLookupStart":354.40000009536743,"fetchStart":354.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":422.90000009536743,"responseEnd":471.90000009536743,"responseStart":444.40000009536743,"secureConnectionStart":354.40000009536743},{"duration":178.09999990463257,"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":354.7000002861023,"connectEnd":354.7000002861023,"connectStart":354.7000002861023,"domainLookupEnd":354.7000002861023,"domainLookupStart":354.7000002861023,"fetchStart":354.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":429.09999990463257,"responseEnd":532.8000001907349,"responseStart":472.09999990463257,"secureConnectionStart":354.7000002861023},{"duration":178.19999980926514,"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":354.90000009536743,"connectEnd":354.90000009536743,"connectStart":354.90000009536743,"domainLookupEnd":354.90000009536743,"domainLookupStart":354.90000009536743,"fetchStart":354.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":429.5,"responseEnd":533.0999999046326,"responseStart":472.80000019073486,"secureConnectionStart":354.90000009536743},{"duration":70.30000019073486,"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":355.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":355.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":178.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":355.30000019073486,"connectEnd":355.30000019073486,"connectStart":355.30000019073486,"domainLookupEnd":355.30000019073486,"domainLookupStart":355.30000019073486,"fetchStart":355.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":429.7000002861023,"responseEnd":533.4000000953674,"responseStart":474.40000009536743,"secureConnectionStart":355.30000019073486},{"duration":70.19999980926514,"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":355.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":355.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":187.2000002861023,"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":355.59999990463257,"connectEnd":355.59999990463257,"connectStart":355.59999990463257,"domainLookupEnd":355.59999990463257,"domainLookupStart":355.59999990463257,"fetchStart":355.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":429.7000002861023,"responseEnd":542.8000001907349,"responseStart":507.2000002861023,"secureConnectionStart":355.59999990463257},{"duration":872.8000001907349,"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":356.59999990463257,"connectEnd":356.59999990463257,"connectStart":356.59999990463257,"domainLookupEnd":356.59999990463257,"domainLookupStart":356.59999990463257,"fetchStart":356.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":532.5999999046326,"responseEnd":1229.4000000953674,"responseStart":1224.9000000953674,"secureConnectionStart":356.59999990463257},{"duration":875.8000001907349,"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":359.09999990463257,"connectEnd":359.09999990463257,"connectStart":359.09999990463257,"domainLookupEnd":359.09999990463257,"domainLookupStart":359.09999990463257,"fetchStart":359.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":556.2000002861023,"responseEnd":1234.9000000953674,"responseStart":1227.4000000953674,"secureConnectionStart":359.09999990463257},{"duration":300.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1222.9000000953674,"connectEnd":1222.9000000953674,"connectStart":1222.9000000953674,"domainLookupEnd":1222.9000000953674,"domainLookupStart":1222.9000000953674,"fetchStart":1222.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1423,"responseEnd":1523.7000002861023,"responseStart":1479.4000000953674,"secureConnectionStart":1222.9000000953674}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":31,"responseStart":268,"responseEnd":354,"domLoading":297,"domInteractive":1693,"domContentLoadedEventStart":1693,"domContentLoadedEventEnd":1740,"domComplete":2306,"loadEventStart":2306,"loadEventEnd":2309,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1671.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1672.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":1672.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1674.7000002861023},{"name":"activityTabFullyLoaded","time":1883.2000002861023}],"measures":[],"correlationId":"6f28e9b10c1f8f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":144,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I made the patch and pushed it to buildbot, the results seem interesting for a 32 bit platforms
https://buildbot.askmonty.org/buildbot/builders/win32-debug/builds/11958
main.myisam_mrr w1 [ fail ]
Test ended at 2019-01-04 10:44:34
CURRENT_TEST: main.myisam_mrr
--- D:/win32-debug/build/src/mysql-test/main/myisam_mrr.result 2019-01-04 09:35:51.204610900 +0000
+++ D:\win32-debug\build\src\mysql-test\main\myisam_mrr.reject 2019-01-04 10:44:33.554700600 +0000
@@ -617,8 +617,8 @@
show status like 'handler_mrr%';
Variable_name Value
Handler_mrr_init 1
-Handler_mrr_key_refills 1
-Handler_mrr_rowid_refills 1
+Handler_mrr_key_refills 0
+Handler_mrr_rowid_refills 0
While in the patch i checked and updated the result for myisam_mrr test for 64 bit machines
https://github.com/MariaDB/server/commit/a6c077325117afdf22b93d711c9e78066edd123d
show status like 'handler_mrr%';
Variable_name Value
Handler_mrr_init 1
-Handler_mrr_key_refills 0
-Handler_mrr_rowid_refills 0
+Handler_mrr_key_refills 1
+Handler_mrr_rowid_refills 1
So we see that the output for show status like 'handler_mrr%' varies on 32 bit and 64 machines