Hi,
I discovered a bug when using storage-engine ARIA with row_format=DYNAMIC (only mariaDB 10.2.7 or greather), the table contain ~9million rows. I tested this issue, with mariaDB 10.0.33, 10.1.29 and 10.2.6 and this version are correct). If i add more index to table, i got this error:
[Warning] Warning: Enabling keys got errno 136 on test.#sql-3074_a, retrying
|
Table definition:
CREATE TABLE `aria_dynamic` (
|
`id` INT(10) UNSIGNED NOT NULL,
|
`u_id` INT(10) UNSIGNED NOT NULL,
|
`v_id` INT(10) UNSIGNED NOT NULL,
|
`v_date` DATETIME NOT NULL,
|
`status` INT(1) UNSIGNED NOT NULL DEFAULT '0',
|
`deletable` INT(1) UNSIGNED NOT NULL DEFAULT '0',
|
PRIMARY KEY (`id`),
|
UNIQUE INDEX `*u_id*` (`u_id`, `v_id`, `status`),
|
INDEX `*v_date*` (`v_date`),
|
INDEX `*deletable*` (`deletable`),
|
INDEX `*v_id_status*` (`v_id`, `status`)
|
)
|
COLLATE='utf8_general_ci'
|
ENGINE=Aria
|
ROW_FORMAT=DYNAMIC
|
AUTO_INCREMENT=42606736;
|
Table status:
Name|Engine|Version|Row_format|Rows|Avg_row_length|Data_length|Max_data_length|Index_length|Data_free|Auto_increment|Create_time|Update_time|Check_time|Collation|Checksum|Create_options|Comment
|
aria_dynamic|Aria|10|Dynamic|9030620|25|231952596|281474976710655|444153856|0|NULL|2017-11-30 08:59:33|2017-11-30 09:00:01|2017-11-30 09:00:00|utf8_general_ci|NULL|page_checksum=0 row_format=DYNAMIC transactional=0|...
|
So, if i import the table dump from sql file, the process stopped on the add indexes progress.
If i create table, and add only the data, it's working fine, until i add 4 indexes (primary, unique u_id, v_date and deletable). But if i add the v_id_status index, the process stopped with error no:136.
This table full of data and indexes working fine on 10.0.33 (and tested 10.1.29, 10.2.6 where is it ok), but try on 10.2.7 (or greather) and the import or add more indexes failed...
Remark:
If the deletable and status fields converted from int to tinyint, everything fine. Or try half of the data (~4-5 millions row) also fine...
I tried with row_format = PAGE, and worked fine, with full of data and indexes...
Tables status:
Name|Engine|Version|Row_format|Rows|Avg_row_length|Data_length|Max_data_length|Index_length|Data_free|Auto_increment|Create_time|Update_time|Check_time|Collation|Checksum|Create_options|Comment
|
aria_dynamic|Aria|10|Dynamic|9030620|25|231952596|281474976710655|444153856|0|NULL|2017-11-30 08:59:33|2017-11-30 09:00:01|2017-11-30 09:00:00|utf8_general_ci|NULL|page_checksum=0 row_format=DYNAMIC transactional=0|...
|
aria_dynamic_half|Aria|10|Dynamic|5030620|25|127768488|281474976710655|318177280|0|NULL|2017-11-30 09:10:26|2017-11-30 09:10:47|2017-11-30 09:10:46|utf8_general_ci|NULL|page_checksum=1 row_format=DYNAMIC|...
|
aria_page|Aria|10|Page|9030620|32|290136064|17592186011648|407986176|0|NULL|2017-11-29 14:20:18|2017-11-29 14:21:03|2017-11-29 14:21:03|utf8_general_ci|NULL|page_checksum=0 row_format=PAGE transactional=0|...
|
regards
János
- relates to
-
MDEV-14326
engine ARIA with row_format=FIXED is broken
-
-
Closed
{"report":{"fcp":750.1999998092651,"ttfb":196.19999980926514,"pageVisibility":"visible","entityId":64619,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"c80c2f84-991f-446d-8c47-9b5d95fbb697","navigationType":0,"readyForUser":837.5,"redirectCount":0,"resourceLoadedEnd":776.6000003814697,"resourceLoadedStart":201.5,"resourceTiming":[{"duration":7.100000381469727,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":201.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":208.60000038146973,"responseStart":0,"secureConnectionStart":0},{"duration":7.09999942779541,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":201.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":208.89999961853027,"responseStart":0,"secureConnectionStart":0},{"duration":68.40000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":201.89999961853027,"connectEnd":201.89999961853027,"connectStart":201.89999961853027,"domainLookupEnd":201.89999961853027,"domainLookupStart":201.89999961853027,"fetchStart":201.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":201.89999961853027,"responseEnd":270.30000019073486,"responseStart":270.30000019073486,"secureConnectionStart":201.89999961853027},{"duration":109.40000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":202.19999980926514,"connectEnd":202.19999980926514,"connectStart":202.19999980926514,"domainLookupEnd":202.19999980926514,"domainLookupStart":202.19999980926514,"fetchStart":202.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":202.19999980926514,"responseEnd":311.6000003814697,"responseStart":311.6000003814697,"secureConnectionStart":202.19999980926514},{"duration":112.90000057220459,"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":202.39999961853027,"connectEnd":202.39999961853027,"connectStart":202.39999961853027,"domainLookupEnd":202.39999961853027,"domainLookupStart":202.39999961853027,"fetchStart":202.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":202.39999961853027,"responseEnd":315.30000019073486,"responseStart":315.30000019073486,"secureConnectionStart":202.39999961853027},{"duration":113.30000019073486,"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":202.5,"connectEnd":202.5,"connectStart":202.5,"domainLookupEnd":202.5,"domainLookupStart":202.5,"fetchStart":202.5,"redirectEnd":0,"redirectStart":0,"requestStart":202.5,"responseEnd":315.80000019073486,"responseStart":315.80000019073486,"secureConnectionStart":202.5},{"duration":113.40000057220459,"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":202.69999980926514,"connectEnd":202.69999980926514,"connectStart":202.69999980926514,"domainLookupEnd":202.69999980926514,"domainLookupStart":202.69999980926514,"fetchStart":202.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":202.69999980926514,"responseEnd":316.1000003814697,"responseStart":316.1000003814697,"secureConnectionStart":202.69999980926514},{"duration":207.9000005722046,"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":202.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":202.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":410.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":113.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":203,"connectEnd":203,"connectStart":203,"domainLookupEnd":203,"domainLookupStart":203,"fetchStart":203,"redirectEnd":0,"redirectStart":0,"requestStart":203,"responseEnd":316.5,"responseStart":316.5,"secureConnectionStart":203},{"duration":207.69999980926514,"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":203.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":410.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":113.70000076293945,"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":203.39999961853027,"connectEnd":203.39999961853027,"connectStart":203.39999961853027,"domainLookupEnd":203.39999961853027,"domainLookupStart":203.39999961853027,"fetchStart":203.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":203.39999961853027,"responseEnd":317.1000003814697,"responseStart":317.1000003814697,"secureConnectionStart":203.39999961853027},{"duration":277.30000019073486,"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":208.39999961853027,"connectEnd":208.39999961853027,"connectStart":208.39999961853027,"domainLookupEnd":208.39999961853027,"domainLookupStart":208.39999961853027,"fetchStart":208.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":208.39999961853027,"responseEnd":485.69999980926514,"responseStart":485.69999980926514,"secureConnectionStart":208.39999961853027},{"duration":277.6000003814697,"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":208.5,"connectEnd":208.5,"connectStart":208.5,"domainLookupEnd":208.5,"domainLookupStart":208.5,"fetchStart":208.5,"redirectEnd":0,"redirectStart":0,"requestStart":208.5,"responseEnd":486.1000003814697,"responseStart":486.1000003814697,"secureConnectionStart":208.5},{"duration":56.09999942779541,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":437.80000019073486,"connectEnd":437.80000019073486,"connectStart":437.80000019073486,"domainLookupEnd":437.80000019073486,"domainLookupStart":437.80000019073486,"fetchStart":437.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":437.80000019073486,"responseEnd":493.8999996185303,"responseStart":493.8999996185303,"secureConnectionStart":437.80000019073486},{"duration":35.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","startTime":674.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":674.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":709.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":97,"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","startTime":675.1000003814697,"connectEnd":675.1000003814697,"connectStart":675.1000003814697,"domainLookupEnd":675.1000003814697,"domainLookupStart":675.1000003814697,"fetchStart":675.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":675.1000003814697,"responseEnd":772.1000003814697,"responseStart":772,"secureConnectionStart":675.1000003814697},{"duration":101.20000076293945,"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","startTime":675.3999996185303,"connectEnd":675.3999996185303,"connectStart":675.3999996185303,"domainLookupEnd":675.3999996185303,"domainLookupStart":675.3999996185303,"fetchStart":675.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":675.3999996185303,"responseEnd":776.6000003814697,"responseStart":776.6000003814697,"secureConnectionStart":675.3999996185303},{"duration":133.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":744.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":744.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":877.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":118.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":763.3000001907349,"connectEnd":763.3000001907349,"connectStart":763.3000001907349,"domainLookupEnd":763.3000001907349,"domainLookupStart":763.3000001907349,"fetchStart":763.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":763.3000001907349,"responseEnd":882.1000003814697,"responseStart":882.1000003814697,"secureConnectionStart":763.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":28,"responseStart":196,"responseEnd":202,"domLoading":199,"domInteractive":913,"domContentLoadedEventStart":913,"domContentLoadedEventEnd":954,"domComplete":1201,"loadEventStart":1201,"loadEventEnd":1202,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":879.1000003814697},{"name":"bigPipe.sidebar-id.end","time":879.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":880},{"name":"bigPipe.activity-panel-pipe-id.end","time":882.3000001907349},{"name":"activityTabFullyLoaded","time":966.3999996185303}],"measures":[],"correlationId":"46e265c8d289fe","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}