Server reports the progress for "copy to tmp table" step of the ALTER TABLE as "number of records copied" / "total number of records as reported by the engine".
In some engines this second number (total number of records) is only an estimation and may be less than the actual number of records. In this case the progress report will go over 100%. This is confusing for users and might break tools that don't expect that.
As we cannot fix the estimation in engines, the server should limit the reported progress value never to be larger than 100%.
Sergei Golubchik
made changes -
2014-01-27 20:06
Field
Original Value
New Value
Fix Version/s
10.0.8
[ 14200
]
Fix Version/s
5.5.35
[ 14000
]
Description
Server reports the progress for "copy to tmp table" step of the ALTER TABLE as "number of records copied" / "total number of records as reported by the engine".
In some engines this second number (total number of records) is only an estimation and may be less than the actual number of records. In this case the progress report will go over 100%. This is confusing for users and might break tools that don't expect that.
As we cannot fix the estimation in engines, the server should limit the reported progress value never to be larger than 100%.
Sergei Golubchik
made changes -
2014-01-27 20:07
Assignee
Sergei Golubchik
[ serg
]
Sergei Golubchik
made changes -
2014-01-27 20:07
Status
Open
[ 1
]
In Progress
[ 3
]
Sergei Golubchik
made changes -
2014-01-28 01:18
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2014-06-13 15:06
Workflow
defaullt
[ 33742
]
MariaDB v2
[ 42816
]
Sergei Golubchik
made changes -
2021-12-06 21:39
Workflow
MariaDB v3
[ 61834
]
MariaDB v4
[ 147437
]
{"report":{"fcp":2459.699999809265,"ttfb":711.0999999046326,"pageVisibility":"visible","entityId":29942,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"760219b3-6ddd-4e67-81cf-5a2892fc0daa","navigationType":0,"readyForUser":2523.7999997138977,"redirectCount":0,"resourceLoadedEnd":2969.4000000953674,"resourceLoadedStart":719.9000000953674,"resourceTiming":[{"duration":1196.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":719.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":719.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1916.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1196.5999999046326,"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":720.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":720.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1916.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":1266.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":720.5,"connectEnd":720.5,"connectStart":720.5,"domainLookupEnd":720.5,"domainLookupStart":720.5,"fetchStart":720.5,"redirectEnd":0,"redirectStart":0,"requestStart":720.5,"responseEnd":1987.2999997138977,"responseStart":1987.2999997138977,"secureConnectionStart":720.5},{"duration":1307.1999998092651,"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":720.9000000953674,"connectEnd":720.9000000953674,"connectStart":720.9000000953674,"domainLookupEnd":720.9000000953674,"domainLookupStart":720.9000000953674,"fetchStart":720.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":720.9000000953674,"responseEnd":2028.0999999046326,"responseStart":2028.0999999046326,"secureConnectionStart":720.9000000953674},{"duration":1311,"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":721.0999999046326,"connectEnd":721.0999999046326,"connectStart":721.0999999046326,"domainLookupEnd":721.0999999046326,"domainLookupStart":721.0999999046326,"fetchStart":721.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":721.0999999046326,"responseEnd":2032.0999999046326,"responseStart":2032.0999999046326,"secureConnectionStart":721.0999999046326},{"duration":1311.6000003814697,"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":721.2999997138977,"connectEnd":721.2999997138977,"connectStart":721.2999997138977,"domainLookupEnd":721.2999997138977,"domainLookupStart":721.2999997138977,"fetchStart":721.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":721.2999997138977,"responseEnd":2032.9000000953674,"responseStart":2032.9000000953674,"secureConnectionStart":721.2999997138977},{"duration":1312.1999998092651,"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":721.5,"connectEnd":721.5,"connectStart":721.5,"domainLookupEnd":721.5,"domainLookupStart":721.5,"fetchStart":721.5,"redirectEnd":0,"redirectStart":0,"requestStart":721.5,"responseEnd":2033.6999998092651,"responseStart":2033.6999998092651,"secureConnectionStart":721.5},{"duration":1410.3000001907349,"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":721.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":721.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2132,"responseStart":0,"secureConnectionStart":0},{"duration":1312.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":721.9000000953674,"connectEnd":721.9000000953674,"connectStart":721.9000000953674,"domainLookupEnd":721.9000000953674,"domainLookupStart":721.9000000953674,"fetchStart":721.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":721.9000000953674,"responseEnd":2034.5,"responseStart":2034.5,"secureConnectionStart":721.9000000953674},{"duration":1409.5,"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":722.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":722.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2132.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1312.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":722.7999997138977,"connectEnd":722.7999997138977,"connectStart":722.7999997138977,"domainLookupEnd":722.7999997138977,"domainLookupStart":722.7999997138977,"fetchStart":722.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":722.7999997138977,"responseEnd":2035,"responseStart":2035,"secureConnectionStart":722.7999997138977},{"duration":1796.5,"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":726.5,"connectEnd":726.5,"connectStart":726.5,"domainLookupEnd":726.5,"domainLookupStart":726.5,"fetchStart":726.5,"redirectEnd":0,"redirectStart":0,"requestStart":726.5,"responseEnd":2523,"responseStart":2523,"secureConnectionStart":726.5},{"duration":2238.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":730.5,"connectEnd":730.5,"connectStart":730.5,"domainLookupEnd":730.5,"domainLookupStart":730.5,"fetchStart":730.5,"redirectEnd":0,"redirectStart":0,"requestStart":730.5,"responseEnd":2969.4000000953674,"responseStart":2969.4000000953674,"secureConnectionStart":730.5},{"duration":382.3999996185303,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2143.9000000953674,"connectEnd":2143.9000000953674,"connectStart":2143.9000000953674,"domainLookupEnd":2143.9000000953674,"domainLookupStart":2143.9000000953674,"fetchStart":2143.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":2143.9000000953674,"responseEnd":2526.2999997138977,"responseStart":2526.2999997138977,"secureConnectionStart":2143.9000000953674},{"duration":541,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2447.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2447.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2988.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":155,"responseStart":711,"responseEnd":730,"domLoading":714,"domInteractive":3008,"domContentLoadedEventStart":3008,"domContentLoadedEventEnd":3050,"domComplete":3360,"loadEventStart":3360,"loadEventEnd":3361,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2972.9000000953674},{"name":"bigPipe.sidebar-id.end","time":2973.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":2973.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":2976.2999997138977},{"name":"activityTabFullyLoaded","time":3065.199999809265}],"measures":[],"correlationId":"67b43604c91d04","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":126,"dbReadsTimeInMs":19,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4049