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":1436.3999996185303,"ttfb":360.19999980926514,"pageVisibility":"visible","entityId":124472,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"5b3c7dd3-d618-41e5-811d-3a740e676fa9","navigationType":0,"readyForUser":1554.7999997138977,"redirectCount":0,"resourceLoadedEnd":2147.7999997138977,"resourceLoadedStart":366.59999990463257,"resourceTiming":[{"duration":411.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":366.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":366.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":777.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":411.19999980926514,"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":367,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":367,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":778.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":420.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":367.19999980926514,"connectEnd":367.19999980926514,"connectStart":367.19999980926514,"domainLookupEnd":367.19999980926514,"domainLookupStart":367.19999980926514,"fetchStart":367.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":367.19999980926514,"responseEnd":787.8999996185303,"responseStart":787.8999996185303,"secureConnectionStart":367.19999980926514},{"duration":506.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":367.2999997138977,"connectEnd":367.2999997138977,"connectStart":367.2999997138977,"domainLookupEnd":367.2999997138977,"domainLookupStart":367.2999997138977,"fetchStart":367.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":367.2999997138977,"responseEnd":873.8999996185303,"responseStart":873.7999997138977,"secureConnectionStart":367.2999997138977},{"duration":510.7999997138977,"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":367.59999990463257,"connectEnd":367.59999990463257,"connectStart":367.59999990463257,"domainLookupEnd":367.59999990463257,"domainLookupStart":367.59999990463257,"fetchStart":367.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":367.59999990463257,"responseEnd":878.3999996185303,"responseStart":878.3999996185303,"secureConnectionStart":367.59999990463257},{"duration":511.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":367.7999997138977,"connectEnd":367.7999997138977,"connectStart":367.7999997138977,"domainLookupEnd":367.7999997138977,"domainLookupStart":367.7999997138977,"fetchStart":367.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":367.7999997138977,"responseEnd":878.8999996185303,"responseStart":878.8999996185303,"secureConnectionStart":367.7999997138977},{"duration":511.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":367.8999996185303,"connectEnd":367.8999996185303,"connectStart":367.8999996185303,"domainLookupEnd":367.8999996185303,"domainLookupStart":367.8999996185303,"fetchStart":367.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":367.8999996185303,"responseEnd":879.2999997138977,"responseStart":879.2999997138977,"secureConnectionStart":367.8999996185303},{"duration":675.1999998092651,"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":368.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":368.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1043.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":511.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":368.19999980926514,"connectEnd":368.19999980926514,"connectStart":368.19999980926514,"domainLookupEnd":368.19999980926514,"domainLookupStart":368.19999980926514,"fetchStart":368.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":368.19999980926514,"responseEnd":879.7999997138977,"responseStart":879.7999997138977,"secureConnectionStart":368.19999980926514},{"duration":675.2000002861023,"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":368.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":368.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1043.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":511.7999997138977,"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":368.59999990463257,"connectEnd":368.59999990463257,"connectStart":368.59999990463257,"domainLookupEnd":368.59999990463257,"domainLookupStart":368.59999990463257,"fetchStart":368.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":368.59999990463257,"responseEnd":880.3999996185303,"responseStart":880.3999996185303,"secureConnectionStart":368.59999990463257},{"duration":871,"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":369.59999990463257,"connectEnd":369.59999990463257,"connectStart":369.59999990463257,"domainLookupEnd":369.59999990463257,"domainLookupStart":369.59999990463257,"fetchStart":369.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":369.59999990463257,"responseEnd":1240.5999999046326,"responseStart":1240.5999999046326,"secureConnectionStart":369.59999990463257},{"duration":1773.3000001907349,"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":369.69999980926514,"connectEnd":369.69999980926514,"connectStart":369.69999980926514,"domainLookupEnd":369.69999980926514,"domainLookupStart":369.69999980926514,"fetchStart":369.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":369.69999980926514,"responseEnd":2143,"responseStart":2143,"secureConnectionStart":369.69999980926514},{"duration":219,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1072.1999998092651,"connectEnd":1072.1999998092651,"connectStart":1072.1999998092651,"domainLookupEnd":1072.1999998092651,"domainLookupStart":1072.1999998092651,"fetchStart":1072.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1072.1999998092651,"responseEnd":1291.1999998092651,"responseStart":1291.1999998092651,"secureConnectionStart":1072.1999998092651},{"duration":769.3999996185303,"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":1375.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1375.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2144.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":768.9000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1376.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1376.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2145,"responseStart":0,"secureConnectionStart":0},{"duration":767.0999999046326,"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":1377,"connectEnd":1377,"connectStart":1377,"domainLookupEnd":1377,"domainLookupStart":1377,"fetchStart":1377,"redirectEnd":0,"redirectStart":0,"requestStart":1377,"responseEnd":2144.0999999046326,"responseStart":2144.0999999046326,"secureConnectionStart":1377},{"duration":769,"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":1377.2999997138977,"connectEnd":1377.2999997138977,"connectStart":1377.2999997138977,"domainLookupEnd":1377.2999997138977,"domainLookupStart":1377.2999997138977,"fetchStart":1377.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1377.2999997138977,"responseEnd":2146.2999997138977,"responseStart":2146.2999997138977,"secureConnectionStart":1377.2999997138977},{"duration":770.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1377.6999998092651,"connectEnd":1377.6999998092651,"connectStart":1377.6999998092651,"domainLookupEnd":1377.6999998092651,"domainLookupStart":1377.6999998092651,"fetchStart":1377.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1377.6999998092651,"responseEnd":2147.7999997138977,"responseStart":2147.7999997138977,"secureConnectionStart":1377.6999998092651},{"duration":851.9000000953674,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1427.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1427.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2279.699999809265,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":178,"responseStart":360,"responseEnd":363,"domLoading":363,"domInteractive":2198,"domContentLoadedEventStart":2198,"domContentLoadedEventEnd":2270,"domComplete":2790,"loadEventStart":2790,"loadEventEnd":2793,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2156.199999809265},{"name":"bigPipe.sidebar-id.end","time":2157},{"name":"bigPipe.activity-panel-pipe-id.start","time":2157.199999809265},{"name":"bigPipe.activity-panel-pipe-id.end","time":2159.0999999046326},{"name":"activityTabFullyLoaded","time":2296.199999809265}],"measures":[],"correlationId":"7512d760c366df","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":16,"dbConnsTimeInMs":26,"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