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
Sergei Petrunia
made changes -
2018-12-05 18:02
Fix Version/s
10.4
[ 22408
]
Sergei Petrunia
made changes -
2018-12-05 18:02
Assignee
Varun Gupta
[ varun
]
Varun Gupta (Inactive)
made changes -
2019-02-06 17:34
Assignee
Varun Gupta
[ varun
]
Sergei Petrunia
[ psergey
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Sergei Petrunia
made changes -
2019-02-16 12:49
Description
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.
* 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.
Sergei Petrunia
made changes -
2019-02-17 15:59
Assignee
Sergei Petrunia
[ psergey
]
Varun Gupta
[ varun
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Varun Gupta (Inactive)
made changes -
2019-02-19 09:47
Fix Version/s
10.4.3
[ 23230
]
Fix Version/s
10.4
[ 22408
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:24
Workflow
MariaDB v3
[ 91047
]
MariaDB v4
[ 133779
]
{"report":{"fcp":1212.2999997138977,"ttfb":276.59999990463257,"pageVisibility":"visible","entityId":71225,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2245b381-d3f1-4362-a64b-cc323dd05fda","navigationType":0,"readyForUser":1309.7999997138977,"redirectCount":0,"resourceLoadedEnd":893.1999998092651,"resourceLoadedStart":286.69999980926514,"resourceTiming":[{"duration":23.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":286.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":286.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":310.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":23.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":287,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":287,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":310.5,"responseStart":0,"secureConnectionStart":0},{"duration":399.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":287.2999997138977,"connectEnd":287.2999997138977,"connectStart":287.2999997138977,"domainLookupEnd":287.2999997138977,"domainLookupStart":287.2999997138977,"fetchStart":287.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":319.09999990463257,"responseEnd":686.4000000953674,"responseStart":357.5,"secureConnectionStart":287.2999997138977},{"duration":605.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":287.5,"connectEnd":287.5,"connectStart":287.5,"domainLookupEnd":287.5,"domainLookupStart":287.5,"fetchStart":287.5,"redirectEnd":0,"redirectStart":0,"requestStart":320.69999980926514,"responseEnd":893.1999998092651,"responseStart":362.59999990463257,"secureConnectionStart":287.5},{"duration":80,"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":287.69999980926514,"connectEnd":287.69999980926514,"connectStart":287.69999980926514,"domainLookupEnd":287.69999980926514,"domainLookupStart":287.69999980926514,"fetchStart":287.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":322.5,"responseEnd":367.69999980926514,"responseStart":364,"secureConnectionStart":287.69999980926514},{"duration":87.89999961853027,"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":287.90000009536743,"connectEnd":287.90000009536743,"connectStart":287.90000009536743,"domainLookupEnd":287.90000009536743,"domainLookupStart":287.90000009536743,"fetchStart":287.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":322.69999980926514,"responseEnd":375.7999997138977,"responseStart":364.90000009536743,"secureConnectionStart":287.90000009536743},{"duration":88.7999997138977,"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":288,"connectEnd":288,"connectStart":288,"domainLookupEnd":288,"domainLookupStart":288,"fetchStart":288,"redirectEnd":0,"redirectStart":0,"requestStart":322.90000009536743,"responseEnd":376.7999997138977,"responseStart":368.40000009536743,"secureConnectionStart":288},{"duration":30,"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":288.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":318.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":88.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":288.40000009536743,"connectEnd":288.40000009536743,"connectStart":288.40000009536743,"domainLookupEnd":288.40000009536743,"domainLookupStart":288.40000009536743,"fetchStart":288.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":323,"responseEnd":377,"responseStart":370.40000009536743,"secureConnectionStart":288.40000009536743},{"duration":30.299999713897705,"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":288.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":318.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":90.30000019073486,"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":288.69999980926514,"connectEnd":288.69999980926514,"connectStart":288.69999980926514,"domainLookupEnd":288.69999980926514,"domainLookupStart":288.69999980926514,"fetchStart":288.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":323.19999980926514,"responseEnd":379,"responseStart":372,"secureConnectionStart":288.69999980926514},{"duration":578.1999998092651,"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":289.59999990463257,"connectEnd":289.59999990463257,"connectStart":289.59999990463257,"domainLookupEnd":289.59999990463257,"domainLookupStart":289.59999990463257,"fetchStart":289.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":523.4000000953674,"responseEnd":867.7999997138977,"responseStart":860.9000000953674,"secureConnectionStart":289.59999990463257},{"duration":579.2000002861023,"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":289.69999980926514,"connectEnd":289.69999980926514,"connectStart":289.69999980926514,"domainLookupEnd":289.69999980926514,"domainLookupStart":289.69999980926514,"fetchStart":289.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":576.0999999046326,"responseEnd":868.9000000953674,"responseStart":865.0999999046326,"secureConnectionStart":289.69999980926514},{"duration":148,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":840.1999998092651,"connectEnd":840.1999998092651,"connectStart":840.1999998092651,"domainLookupEnd":840.1999998092651,"domainLookupStart":840.1999998092651,"fetchStart":840.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":956.9000000953674,"responseEnd":988.1999998092651,"responseStart":987.5999999046326,"secureConnectionStart":840.1999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":43,"responseStart":277,"responseEnd":281,"domLoading":284,"domInteractive":1380,"domContentLoadedEventStart":1380,"domContentLoadedEventEnd":1453,"domComplete":1885,"loadEventStart":1885,"loadEventEnd":1885,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1342},{"name":"bigPipe.sidebar-id.end","time":1342.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":1343},{"name":"bigPipe.activity-panel-pipe-id.end","time":1347},{"name":"activityTabFullyLoaded","time":1472.4000000953674}],"measures":[],"correlationId":"aa5bb74681bb79","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":138,"dbReadsTimeInMs":23,"dbConnsTimeInMs":33,"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