After constant row substitution the optimizer should call the method
update_used_tables for the the where condition to update cached
indicators of constant subexpressions. It should be done before further
possible simplification of the where condition.
This change caused simplification of the executed where conditions
in many test cases.
Elena Stepanova
added a comment - The problem disappeared from 5.3 tree with the following revision:
revno: 3765
revision-id: igor@askmonty.org-20140221052733-ypg4dpfcmy5l0b3q
parent: psergey@askmonty.org-20140219143412-rp3flx1pmhw6zawn
committer: Igor Babaev <igor@askmonty.org>
branch nick: maria-5.3
timestamp: Thu 2014-02-20 21:27:33 -0800
message:
After constant row substitution the optimizer should call the method
update_used_tables for the the where condition to update cached
indicators of constant subexpressions. It should be done before further
possible simplification of the where condition.
This change caused simplification of the executed where conditions
in many test cases.
People
Unassigned
Sergei Petrunia
Votes:
0Vote for this issue
Watchers:
2Start 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":1006.1000003814697,"ttfb":292.19999980926514,"pageVisibility":"visible","entityId":21040,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"71dcba88-a5d9-406c-b365-a0b7b8da9dd5","navigationType":0,"readyForUser":1093,"redirectCount":0,"resourceLoadedEnd":698.8000001907349,"resourceLoadedStart":296.69999980926514,"resourceTiming":[{"duration":62.40000057220459,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":296.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":296.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":62.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":296.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":296.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.5,"responseStart":0,"secureConnectionStart":0},{"duration":274.29999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":297.1000003814697,"connectEnd":297.1000003814697,"connectStart":297.1000003814697,"domainLookupEnd":297.1000003814697,"domainLookupStart":297.1000003814697,"fetchStart":297.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":359.1000003814697,"responseEnd":571.3999996185303,"responseStart":379.69999980926514,"secureConnectionStart":297.1000003814697},{"duration":401.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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","startTime":297.30000019073486,"connectEnd":354.1000003814697,"connectStart":354.1000003814697,"domainLookupEnd":354.1000003814697,"domainLookupStart":354.1000003814697,"fetchStart":297.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":357,"responseEnd":698.8000001907349,"responseStart":370.6000003814697,"secureConnectionStart":354.1000003814697},{"duration":77.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":301.6000003814697,"connectEnd":301.6000003814697,"connectStart":301.6000003814697,"domainLookupEnd":301.6000003814697,"domainLookupStart":301.6000003814697,"fetchStart":301.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":360.1000003814697,"responseEnd":379.30000019073486,"responseStart":377.1000003814697,"secureConnectionStart":301.6000003814697},{"duration":78.59999942779541,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":301.80000019073486,"connectEnd":301.80000019073486,"connectStart":301.80000019073486,"domainLookupEnd":301.80000019073486,"domainLookupStart":301.80000019073486,"fetchStart":301.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":361.30000019073486,"responseEnd":380.3999996185303,"responseStart":377.8999996185303,"secureConnectionStart":301.80000019073486},{"duration":95.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":302,"connectEnd":302,"connectStart":302,"domainLookupEnd":302,"domainLookupStart":302,"fetchStart":302,"redirectEnd":0,"redirectStart":0,"requestStart":363.1000003814697,"responseEnd":397.5,"responseStart":393.6000003814697,"secureConnectionStart":302},{"duration":57.40000057220459,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":302.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":302.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":95.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":302.3999996185303,"connectEnd":302.3999996185303,"connectStart":302.3999996185303,"domainLookupEnd":302.3999996185303,"domainLookupStart":302.3999996185303,"fetchStart":302.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":365.69999980926514,"responseEnd":397.8999996185303,"responseStart":394.1000003814697,"secureConnectionStart":302.3999996185303},{"duration":57.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":302.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":302.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":359.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":95.59999942779541,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":302.6000003814697,"connectEnd":302.6000003814697,"connectStart":302.6000003814697,"domainLookupEnd":302.6000003814697,"domainLookupStart":302.6000003814697,"fetchStart":302.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":368.30000019073486,"responseEnd":398.19999980926514,"responseStart":394.80000019073486,"secureConnectionStart":302.6000003814697},{"duration":354.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":306,"connectEnd":306,"connectStart":306,"domainLookupEnd":306,"domainLookupStart":306,"fetchStart":306,"redirectEnd":0,"redirectStart":0,"requestStart":477.6000003814697,"responseEnd":660.5,"responseStart":653.1999998092651,"secureConnectionStart":306},{"duration":354.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":306.1000003814697,"connectEnd":306.1000003814697,"connectStart":306.1000003814697,"domainLookupEnd":306.1000003814697,"domainLookupStart":306.1000003814697,"fetchStart":306.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":478.30000019073486,"responseEnd":660.8000001907349,"responseStart":654.3999996185303,"secureConnectionStart":306.1000003814697},{"duration":162.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":696.3000001907349,"connectEnd":696.3000001907349,"connectStart":696.3000001907349,"domainLookupEnd":696.3000001907349,"domainLookupStart":696.3000001907349,"fetchStart":696.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":810.1999998092651,"responseEnd":858.5,"responseStart":856.6000003814697,"secureConnectionStart":696.3000001907349}],"fetchStart":0,"domainLookupStart":25,"domainLookupEnd":31,"connectStart":31,"connectEnd":50,"secureConnectionStart":39,"requestStart":51,"responseStart":292,"responseEnd":306,"domLoading":295,"domInteractive":1154,"domContentLoadedEventStart":1154,"domContentLoadedEventEnd":1205,"domComplete":1752,"loadEventStart":1752,"loadEventEnd":1752,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1133},{"name":"bigPipe.sidebar-id.end","time":1133.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1133.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1135.3999996185303},{"name":"activityTabFullyLoaded","time":1219.8999996185303}],"measures":[],"correlationId":"67c98aea58113c","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Launchpad bug id: 885799