From mariadb log:
2016-04-14 4:58:03 140116923128496 [ERROR] Table ./csm/history_digital185410 has a primary key in InnoDB data dictionary, but not in MySQL!
|
2016-04-14 4:58:03 140116923128496 [ERROR] InnoDB: Table csm/history_digital185410 contains 2 indexes inside InnoDB, which is different from the number of indexes 1 defined in the MySQL
|
2016-04-14 4:58:03 140116923128496 [Note] InnoDB: Online DDL : Start
|
2016-04-14 4:58:03 140116923128496 [Note] InnoDB: Online DDL : Start reading clustered index of the table and create temporary files
|
160414 4:58:03 [ERROR] mysqld got signal 11 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
The database crashed many times during altering tables.
There is over 400000 small tables in this database, and I wish to alter about 220000 tables.
RAM memory in system: 4GB.
Storage used for database: about 31GB
{"report":{"fcp":1323.3000001907349,"ttfb":279.69999980926514,"pageVisibility":"visible","entityId":56429,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c66df027-382c-4436-8e93-8626dc951c98","navigationType":0,"readyForUser":1424.4000005722046,"redirectCount":0,"resourceLoadedEnd":1635.6000003814697,"resourceLoadedStart":284.9000005722046,"resourceTiming":[{"duration":412.29999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":284.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":284.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":697.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":412.30000019073486,"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":285.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":285.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":697.5,"responseStart":0,"secureConnectionStart":0},{"duration":427.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":285.4000005722046,"connectEnd":285.4000005722046,"connectStart":285.4000005722046,"domainLookupEnd":285.4000005722046,"domainLookupStart":285.4000005722046,"fetchStart":285.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":285.4000005722046,"responseEnd":712.6000003814697,"responseStart":712.6000003814697,"secureConnectionStart":285.4000005722046},{"duration":483.0999994277954,"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":285.6000003814697,"connectEnd":285.6000003814697,"connectStart":285.6000003814697,"domainLookupEnd":285.6000003814697,"domainLookupStart":285.6000003814697,"fetchStart":285.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":285.6000003814697,"responseEnd":768.6999998092651,"responseStart":768.6999998092651,"secureConnectionStart":285.6000003814697},{"duration":486.6000003814697,"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":285.80000019073486,"connectEnd":285.80000019073486,"connectStart":285.80000019073486,"domainLookupEnd":285.80000019073486,"domainLookupStart":285.80000019073486,"fetchStart":285.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":285.80000019073486,"responseEnd":772.4000005722046,"responseStart":772.4000005722046,"secureConnectionStart":285.80000019073486},{"duration":487,"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":286,"connectEnd":286,"connectStart":286,"domainLookupEnd":286,"domainLookupStart":286,"fetchStart":286,"redirectEnd":0,"redirectStart":0,"requestStart":286,"responseEnd":773,"responseStart":773,"secureConnectionStart":286},{"duration":487.1000003814697,"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":286.19999980926514,"connectEnd":286.19999980926514,"connectStart":286.19999980926514,"domainLookupEnd":286.19999980926514,"domainLookupStart":286.19999980926514,"fetchStart":286.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":286.19999980926514,"responseEnd":773.3000001907349,"responseStart":773.3000001907349,"secureConnectionStart":286.19999980926514},{"duration":625.2999992370605,"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":286.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":286.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":911.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":487.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":286.5,"connectEnd":286.5,"connectStart":286.5,"domainLookupEnd":286.5,"domainLookupStart":286.5,"fetchStart":286.5,"redirectEnd":0,"redirectStart":0,"requestStart":286.5,"responseEnd":774.4000005722046,"responseStart":774.4000005722046,"secureConnectionStart":286.5},{"duration":625.1000003814697,"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":286.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":286.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":911.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":488.19999980926514,"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":286.80000019073486,"connectEnd":286.80000019073486,"connectStart":286.80000019073486,"domainLookupEnd":286.80000019073486,"domainLookupStart":286.80000019073486,"fetchStart":286.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":286.80000019073486,"responseEnd":775,"responseStart":775,"secureConnectionStart":286.80000019073486},{"duration":907.3000001907349,"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":292.69999980926514,"connectEnd":292.69999980926514,"connectStart":292.69999980926514,"domainLookupEnd":292.69999980926514,"domainLookupStart":292.69999980926514,"fetchStart":292.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":292.69999980926514,"responseEnd":1200,"responseStart":1200,"secureConnectionStart":292.69999980926514},{"duration":1279.9000005722046,"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":298,"connectEnd":298,"connectStart":298,"domainLookupEnd":298,"domainLookupStart":298,"fetchStart":298,"redirectEnd":0,"redirectStart":0,"requestStart":298,"responseEnd":1577.9000005722046,"responseStart":1577.9000005722046,"secureConnectionStart":298},{"duration":275.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":925.1000003814697,"connectEnd":925.1000003814697,"connectStart":925.1000003814697,"domainLookupEnd":925.1000003814697,"domainLookupStart":925.1000003814697,"fetchStart":925.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":925.1000003814697,"responseEnd":1200.3000001907349,"responseStart":1200.3000001907349,"secureConnectionStart":925.1000003814697},{"duration":424.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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","startTime":1210.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1210.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1635.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":521.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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","startTime":1211.9000005722046,"connectEnd":1211.9000005722046,"connectStart":1211.9000005722046,"domainLookupEnd":1211.9000005722046,"domainLookupStart":1211.9000005722046,"fetchStart":1211.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1211.9000005722046,"responseEnd":1733.5,"responseStart":1733.5,"secureConnectionStart":1211.9000005722046},{"duration":524.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/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","startTime":1212.4000005722046,"connectEnd":1212.4000005722046,"connectStart":1212.4000005722046,"domainLookupEnd":1212.4000005722046,"domainLookupStart":1212.4000005722046,"fetchStart":1212.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1212.4000005722046,"responseEnd":1736.8000001907349,"responseStart":1736.8000001907349,"secureConnectionStart":1212.4000005722046}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":104,"responseStart":280,"responseEnd":298,"domLoading":283,"domInteractive":1649,"domContentLoadedEventStart":1649,"domContentLoadedEventEnd":1713,"domComplete":2059,"loadEventStart":2059,"loadEventEnd":2060,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1580.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1581.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1581.4000005722046},{"name":"bigPipe.activity-panel-pipe-id.end","time":1586},{"name":"activityTabFullyLoaded","time":1746.8000001907349}],"measures":[],"correlationId":"91663b9fc19d93","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I would like to add some more details about this case.
1. This is probably related with hardware problems (one hard drive was corrupted and i have replaced it, but
didn't recovery from backup as I didn't noticed any problem with services before.
2. When I do select * from `corrupted_table`; I get right results.
3. When I do describe `corrupted_table`; I get mysqld got signal 11
4. When I do drop table `corrupted_table`; the table is droped
5. When I create `corrupted_table` and insert data, everything works fine.
So I fixed the problem in my case by drop and create table that cused the problems.