I can confirm the following commit causes the regression:
commit e954d9de886aebc68c39240304fe97ae88276dbb
Author: Kentoku SHIBA <kentokushiba@gmail.com>
Date: Tue Mar 3 02:50:40 2020 +0900
MDEV-19002 Spider performance optimization with partition
Change the following function for batch call instead of each partition
- store_lock
- external_lock
- start_stmt
- extra
- cond_push
- info_push
- top_table
Yuchen Pei
added a comment - I can confirm the following commit causes the regression:
commit e954d9de886aebc68c39240304fe97ae88276dbb
Author: Kentoku SHIBA <kentokushiba@gmail.com>
Date: Tue Mar 3 02:50:40 2020 +0900
MDEV-19002 Spider performance optimization with partition
Change the following function for batch call instead of each partition
- store_lock
- external_lock
- start_stmt
- extra
- cond_push
- info_push
- top_table
8694d80de2a bb-11.0-ycp-mdev-31996 MDEV-31996 Create connection on demand in spider_db_delete_all_rows
The above patch is based on 11.0. The following is based on 10.4
aff5e8b843d upstream/bb-10.4-mdev-31996 MDEV-31996 Create connection on demand in spider_db_delete_all_rows
Yuchen Pei
added a comment - - edited Hi holyfoot , ptal thanks
8694d80de2a bb-11.0-ycp-mdev-31996 MDEV-31996 Create connection on demand in spider_db_delete_all_rows
The above patch is based on 11.0. The following is based on 10.4
aff5e8b843d upstream/bb-10.4-mdev-31996 MDEV-31996 Create connection on demand in spider_db_delete_all_rows
Thanks for the review. In the previous commit I forgot to keep the check on spider_param_delete_all_rows_type(thd, share->delete_all_rows_type), which is why the result files of the spider_fixes tests were changed. But that is now fixed. Pushing...
Yuchen Pei
added a comment - Thanks for the review. In the previous commit I forgot to keep the check on spider_param_delete_all_rows_type(thd, share->delete_all_rows_type) , which is why the result files of the spider_fixes tests were changed. But that is now fixed. Pushing...
Pushed a314aa1217849f36d66a78f80275a2e7aa51626a to 10.4
Conflicts and solutions:
10.4->10.5 (no need to assign to wide_handler->sql_command) 3c8631ae5c5eafa89944ebe04db2008d721cf0cc
10.11->11.0 (one fewer arg in spider_check_trx_and_get_conn()) cbb0d0232f50050447620a37972518ae536c1e71
Yuchen Pei
added a comment - Pushed a314aa1217849f36d66a78f80275a2e7aa51626a to 10.4
Conflicts and solutions:
10.4->10.5 (no need to assign to wide_handler->sql_command) 3c8631ae5c5eafa89944ebe04db2008d721cf0cc
10.11->11.0 (one fewer arg in spider_check_trx_and_get_conn()) cbb0d0232f50050447620a37972518ae536c1e71
People
Yuchen Pei
Yuchen Pei
Votes:
0Vote for this issue
Watchers:
3Start 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":1246.1999998092651,"ttfb":479.19999980926514,"pageVisibility":"visible","entityId":124472,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"da344463-7e36-40f5-9e16-dcf048a0d3d3","navigationType":0,"readyForUser":1342,"redirectCount":0,"resourceLoadedEnd":1377,"resourceLoadedStart":484.69999980926514,"resourceTiming":[{"duration":187.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":484.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":484.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":672.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":187.69999980926514,"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":485,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":485,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":672.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":241.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":485.09999990463257,"connectEnd":485.09999990463257,"connectStart":485.09999990463257,"domainLookupEnd":485.09999990463257,"domainLookupStart":485.09999990463257,"fetchStart":485.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":485.09999990463257,"responseEnd":726.2999997138977,"responseStart":726.2999997138977,"secureConnectionStart":485.09999990463257},{"duration":320.80000019073486,"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":485.2999997138977,"connectEnd":485.2999997138977,"connectStart":485.2999997138977,"domainLookupEnd":485.2999997138977,"domainLookupStart":485.2999997138977,"fetchStart":485.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":485.2999997138977,"responseEnd":806.0999999046326,"responseStart":806.0999999046326,"secureConnectionStart":485.2999997138977},{"duration":324.59999990463257,"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":485.5,"connectEnd":485.5,"connectStart":485.5,"domainLookupEnd":485.5,"domainLookupStart":485.5,"fetchStart":485.5,"redirectEnd":0,"redirectStart":0,"requestStart":485.5,"responseEnd":810.0999999046326,"responseStart":810.0999999046326,"secureConnectionStart":485.5},{"duration":324.90000009536743,"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":485.69999980926514,"connectEnd":485.69999980926514,"connectStart":485.69999980926514,"domainLookupEnd":485.69999980926514,"domainLookupStart":485.69999980926514,"fetchStart":485.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":485.69999980926514,"responseEnd":810.5999999046326,"responseStart":810.5999999046326,"secureConnectionStart":485.69999980926514},{"duration":325.09999990463257,"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":485.90000009536743,"connectEnd":485.90000009536743,"connectStart":485.90000009536743,"domainLookupEnd":485.90000009536743,"domainLookupStart":485.90000009536743,"fetchStart":485.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":485.90000009536743,"responseEnd":811,"responseStart":810.9000000953674,"secureConnectionStart":485.90000009536743},{"duration":384.59999990463257,"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":486.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":486.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":870.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":325.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":486.19999980926514,"connectEnd":486.19999980926514,"connectStart":486.19999980926514,"domainLookupEnd":486.19999980926514,"domainLookupStart":486.19999980926514,"fetchStart":486.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":486.19999980926514,"responseEnd":811.5,"responseStart":811.5,"secureConnectionStart":486.19999980926514},{"duration":384.3999996185303,"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":486.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":486.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":870.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":325.40000009536743,"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":486.59999990463257,"connectEnd":486.59999990463257,"connectStart":486.59999990463257,"domainLookupEnd":486.59999990463257,"domainLookupStart":486.59999990463257,"fetchStart":486.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":486.59999990463257,"responseEnd":812,"responseStart":812,"secureConnectionStart":486.59999990463257},{"duration":517.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":492,"connectEnd":492,"connectStart":492,"domainLookupEnd":492,"domainLookupStart":492,"fetchStart":492,"redirectEnd":0,"redirectStart":0,"requestStart":492,"responseEnd":1009.1999998092651,"responseStart":1009.1999998092651,"secureConnectionStart":492},{"duration":801.9000000953674,"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":495.59999990463257,"connectEnd":495.59999990463257,"connectStart":495.59999990463257,"domainLookupEnd":495.59999990463257,"domainLookupStart":495.59999990463257,"fetchStart":495.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":495.59999990463257,"responseEnd":1297.5,"responseStart":1297.5,"secureConnectionStart":495.59999990463257},{"duration":128.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":882.5999999046326,"connectEnd":882.5999999046326,"connectStart":882.5999999046326,"domainLookupEnd":882.5999999046326,"domainLookupStart":882.5999999046326,"fetchStart":882.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":882.5999999046326,"responseEnd":1011.1999998092651,"responseStart":1011.1999998092651,"secureConnectionStart":882.5999999046326},{"duration":230.7000002861023,"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":1146.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1146.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1377,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":297,"responseStart":479,"responseEnd":495,"domLoading":482,"domInteractive":1405,"domContentLoadedEventStart":1405,"domContentLoadedEventEnd":1451,"domComplete":1710,"loadEventStart":1710,"loadEventEnd":1711,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1389.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1390.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1390.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1392.5},{"name":"activityTabFullyLoaded","time":1474}],"measures":[],"correlationId":"5e8a9a216702ea","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":113,"dbReadsTimeInMs":17,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I can confirm the following commit causes the regression:
commit e954d9de886aebc68c39240304fe97ae88276dbb
Author: Kentoku SHIBA <kentokushiba@gmail.com>
Date: Tue Mar 3 02:50:40 2020 +0900
MDEV-19002 Spider performance optimization with partition
Change the following function for batch call instead of each partition
- store_lock
- external_lock
- start_stmt
- extra
- cond_push
- info_push
- top_table