ALTER enters into an infinite loop on reserving extents until system runs out of disk mysqld aborts.
#!/bin/bash
|
|
mysql="mysql -uroot -S /var/run/mysql/mysql.sock "
|
|
$mysql test < ./createTable.sql
|
|
#for i in $( seq 22 1 122 ); do
|
for i in $( seq 22 1 2722 ); do
|
echo $i
|
$mysql test -e "INSERT INTO \`mdl_course_modules\` VALUES ($i,4,5,5,24,NULL,1141569781,'',0,0,1,0,'',0,'locked',1,1,0,0,0,0,NULL,0,0,0,0,0,0);"
|
done
|
|
$mysql test -e "ALTER TABLE test.mdl_course_modules ADD stefantest LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci AFTER showdescription;"
|
sles12-x86-64:/var/lib/mysql/test # ls -ahl
|
total 9.0G
|
-rw-rw---- 1 mysql mysql 6.2K Jun 2 12:52 #sql-ba5_b99.frm
|
-rw-rw---- 1 mysql mysql 9.0G Jun 2 13:08 #sql-ib18-3361842814.ibd
|
drwx------ 1 mysql root 168 Jun 2 12:52 .
|
drwx------ 1 mysql root 248 Jun 2 13:08 ..
|
-rw-rw---- 1 mysql mysql 6.2K Jun 2 12:46 mdl_course_modules.frm
|
-rw-rw---- 1 mysql mysql 1008K Jun 2 12:52 mdl_course_modules.ibd
|
{"report":{"fcp":1095.9000005722046,"ttfb":179.9000005722046,"pageVisibility":"visible","entityId":51980,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3019d2b0-7ba8-4ddd-a927-971b48af5c7f","navigationType":0,"readyForUser":1207.5,"redirectCount":0,"resourceLoadedEnd":1040.1000003814697,"resourceLoadedStart":185.70000076293945,"resourceTiming":[{"duration":345.79999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":185.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":531.5,"responseStart":0,"secureConnectionStart":0},{"duration":346.1000003814697,"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":186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":532.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":344.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":186.20000076293945,"connectEnd":186.20000076293945,"connectStart":186.20000076293945,"domainLookupEnd":186.20000076293945,"domainLookupStart":186.20000076293945,"fetchStart":186.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":186.20000076293945,"responseEnd":530.8000001907349,"responseStart":530.8000001907349,"secureConnectionStart":186.20000076293945},{"duration":377.5999994277954,"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":186.4000005722046,"connectEnd":186.4000005722046,"connectStart":186.4000005722046,"domainLookupEnd":186.4000005722046,"domainLookupStart":186.4000005722046,"fetchStart":186.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":186.4000005722046,"responseEnd":564,"responseStart":564,"secureConnectionStart":186.4000005722046},{"duration":382.69999980926514,"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":186.60000038146973,"connectEnd":186.60000038146973,"connectStart":186.60000038146973,"domainLookupEnd":186.60000038146973,"domainLookupStart":186.60000038146973,"fetchStart":186.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":186.60000038146973,"responseEnd":569.3000001907349,"responseStart":569.3000001907349,"secureConnectionStart":186.60000038146973},{"duration":383,"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":186.70000076293945,"connectEnd":186.70000076293945,"connectStart":186.70000076293945,"domainLookupEnd":186.70000076293945,"domainLookupStart":186.70000076293945,"fetchStart":186.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":186.70000076293945,"responseEnd":569.7000007629395,"responseStart":569.6000003814697,"secureConnectionStart":186.70000076293945},{"duration":383.19999980926514,"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":186.9000005722046,"connectEnd":186.9000005722046,"connectStart":186.9000005722046,"domainLookupEnd":186.9000005722046,"domainLookupStart":186.9000005722046,"fetchStart":186.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":186.9000005722046,"responseEnd":570.1000003814697,"responseStart":570.1000003814697,"secureConnectionStart":186.9000005722046},{"duration":541.8000001907349,"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":187.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":728.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":383.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":187.20000076293945,"connectEnd":187.20000076293945,"connectStart":187.20000076293945,"domainLookupEnd":187.20000076293945,"domainLookupStart":187.20000076293945,"fetchStart":187.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":187.20000076293945,"responseEnd":571.1000003814697,"responseStart":571,"secureConnectionStart":187.20000076293945},{"duration":541.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":187.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":729,"responseStart":0,"secureConnectionStart":0},{"duration":384.19999980926514,"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":187.70000076293945,"connectEnd":187.70000076293945,"connectStart":187.70000076293945,"domainLookupEnd":187.70000076293945,"domainLookupStart":187.70000076293945,"fetchStart":187.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":187.70000076293945,"responseEnd":571.9000005722046,"responseStart":571.9000005722046,"secureConnectionStart":187.70000076293945},{"duration":518.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":228.9000005722046,"connectEnd":228.9000005722046,"connectStart":228.9000005722046,"domainLookupEnd":228.9000005722046,"domainLookupStart":228.9000005722046,"fetchStart":228.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":228.9000005722046,"responseEnd":747.1000003814697,"responseStart":747.1000003814697,"secureConnectionStart":228.9000005722046},{"duration":525.5,"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":229,"connectEnd":229,"connectStart":229,"domainLookupEnd":229,"domainLookupStart":229,"fetchStart":229,"redirectEnd":0,"redirectStart":0,"requestStart":229,"responseEnd":754.5,"responseStart":754.5,"secureConnectionStart":229},{"duration":9.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":742.2000007629395,"connectEnd":742.2000007629395,"connectStart":742.2000007629395,"domainLookupEnd":742.2000007629395,"domainLookupStart":742.2000007629395,"fetchStart":742.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":742.2000007629395,"responseEnd":751.7000007629395,"responseStart":751.7000007629395,"secureConnectionStart":742.2000007629395},{"duration":256.5,"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":783.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":783.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1040.1000003814697,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":26,"responseStart":180,"responseEnd":246,"domLoading":184,"domInteractive":1291,"domContentLoadedEventStart":1292,"domContentLoadedEventEnd":1344,"domComplete":2412,"loadEventStart":2412,"loadEventEnd":2416,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1268.6000003814697},{"name":"bigPipe.sidebar-id.end","time":1269.4000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":1269.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1273.3000001907349},{"name":"activityTabFullyLoaded","time":1358.5}],"measures":[],"correlationId":"188c4991d42473","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}