There's a weird asymmetry in changing KEY_BLOCK_SIZE with ALTER TABLE. There is table-level value of KEY_BLOCK_SIZE and index-level values.
ALTER TABLE t1 KEY_BLOCK_SIZE=10
|
sets the table-level value and it's automatically copied to index-level values (assuming they weren't set before). Now
ALTER TABLE t1 KEY_BLOCK_SIZE=0
|
is supposed to revert the default value of the KEY_BLOCK_SIZE (in particular, SHOW CREATE TABLE shouldn't show KEY_BLOCK_SIZE anymore). But, again, it changes the table-level value and only those index-level values that didn't have values before. And, alas, all index-level KEY_BLOCK_SIZE have values (namely, for all indexes KEY_BLOCK_SIZE=10), so one need to drop and recreate every single index to reset index-level KEY_BLOCK_SIZE values to defaults.
So, one needs one ALTER TABLE on the table level to set KEY_BLOCK_SIZE, but needs to do it on table level and on index level for every index to remove KEY_BLOCK_SIZE settings. This is unexpected.
Also, there are engine-specific issues. MyISAM always sets index-level KEY_BLOCK_SIZE values to be the actual MYI index block sizes. InnoDB uses table-level KEY_BLOCK_SIZE value for all indexes, ignoring index-level values.
{"report":{"fcp":945.9000000059605,"ttfb":272.09999999403954,"pageVisibility":"visible","entityId":60376,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"9a88551d-670f-4dbb-865c-6d1f136e4dad","navigationType":0,"readyForUser":1028.5,"redirectCount":0,"resourceLoadedEnd":1055.699999988079,"resourceLoadedStart":277.40000000596046,"resourceTiming":[{"duration":106.09999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":277.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":277.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":383.5,"responseStart":0,"secureConnectionStart":0},{"duration":106.30000001192093,"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":277.59999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":277.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":383.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":133.59999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":277.80000001192093,"connectEnd":277.80000001192093,"connectStart":277.80000001192093,"domainLookupEnd":277.80000001192093,"domainLookupStart":277.80000001192093,"fetchStart":277.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":277.80000001192093,"responseEnd":411.40000000596046,"responseStart":411.40000000596046,"secureConnectionStart":277.80000001192093},{"duration":208.69999998807907,"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":278,"connectEnd":278,"connectStart":278,"domainLookupEnd":278,"domainLookupStart":278,"fetchStart":278,"redirectEnd":0,"redirectStart":0,"requestStart":278,"responseEnd":486.69999998807907,"responseStart":486.69999998807907,"secureConnectionStart":278},{"duration":212.7000000178814,"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":278.19999998807907,"connectEnd":278.19999998807907,"connectStart":278.19999998807907,"domainLookupEnd":278.19999998807907,"domainLookupStart":278.19999998807907,"fetchStart":278.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":278.19999998807907,"responseEnd":490.90000000596046,"responseStart":490.90000000596046,"secureConnectionStart":278.19999998807907},{"duration":213,"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":278.40000000596046,"connectEnd":278.40000000596046,"connectStart":278.40000000596046,"domainLookupEnd":278.40000000596046,"domainLookupStart":278.40000000596046,"fetchStart":278.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":278.40000000596046,"responseEnd":491.40000000596046,"responseStart":491.40000000596046,"secureConnectionStart":278.40000000596046},{"duration":213.7000000178814,"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":278.59999999403954,"connectEnd":278.59999999403954,"connectStart":278.59999999403954,"domainLookupEnd":278.59999999403954,"domainLookupStart":278.59999999403954,"fetchStart":278.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":278.59999999403954,"responseEnd":492.30000001192093,"responseStart":492.30000001192093,"secureConnectionStart":278.59999999403954},{"duration":279.59999999403954,"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":278.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":278.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":558.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":214.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":278.90000000596046,"connectEnd":278.90000000596046,"connectStart":278.90000000596046,"domainLookupEnd":278.90000000596046,"domainLookupStart":278.90000000596046,"fetchStart":278.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":278.90000000596046,"responseEnd":493.59999999403954,"responseStart":493.59999999403954,"secureConnectionStart":278.90000000596046},{"duration":279.40000000596046,"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":279.09999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":279.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":558.5,"responseStart":0,"secureConnectionStart":0},{"duration":215.39999997615814,"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":279.30000001192093,"connectEnd":279.30000001192093,"connectStart":279.30000001192093,"domainLookupEnd":279.30000001192093,"domainLookupStart":279.30000001192093,"fetchStart":279.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":279.30000001192093,"responseEnd":494.69999998807907,"responseStart":494.69999998807907,"secureConnectionStart":279.30000001192093},{"duration":312.89999997615814,"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":284.80000001192093,"connectEnd":284.80000001192093,"connectStart":284.80000001192093,"domainLookupEnd":284.80000001192093,"domainLookupStart":284.80000001192093,"fetchStart":284.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":284.80000001192093,"responseEnd":597.6999999880791,"responseStart":597.6999999880791,"secureConnectionStart":284.80000001192093},{"duration":428.69999998807907,"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":284.90000000596046,"connectEnd":284.90000000596046,"connectStart":284.90000000596046,"domainLookupEnd":284.90000000596046,"domainLookupStart":284.90000000596046,"fetchStart":284.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":284.90000000596046,"responseEnd":713.5999999940395,"responseStart":713.5999999940395,"secureConnectionStart":284.90000000596046},{"duration":128.69999998807907,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":584.3000000119209,"connectEnd":584.3000000119209,"connectStart":584.3000000119209,"domainLookupEnd":584.3000000119209,"domainLookupStart":584.3000000119209,"fetchStart":584.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":584.3000000119209,"responseEnd":713,"responseStart":713,"secureConnectionStart":584.3000000119209},{"duration":198,"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":857.6999999880791,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":857.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1055.699999988079,"responseStart":0,"secureConnectionStart":0},{"duration":240.5,"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":858.6999999880791,"connectEnd":858.6999999880791,"connectStart":858.6999999880791,"domainLookupEnd":858.6999999880791,"domainLookupStart":858.6999999880791,"fetchStart":858.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":858.6999999880791,"responseEnd":1099.199999988079,"responseStart":1099.199999988079,"secureConnectionStart":858.6999999880791},{"duration":244.59999999403954,"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":859,"connectEnd":859,"connectStart":859,"domainLookupEnd":859,"domainLookupStart":859,"fetchStart":859,"redirectEnd":0,"redirectStart":0,"requestStart":859,"responseEnd":1103.5999999940395,"responseStart":1103.5999999940395,"secureConnectionStart":859}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":113,"responseStart":272,"responseEnd":279,"domLoading":275,"domInteractive":1090,"domContentLoadedEventStart":1090,"domContentLoadedEventEnd":1139,"domComplete":2363,"loadEventStart":2363,"loadEventEnd":2364,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1064.4000000059605},{"name":"bigPipe.sidebar-id.end","time":1065.199999988079},{"name":"bigPipe.activity-panel-pipe-id.start","time":1065.300000011921},{"name":"bigPipe.activity-panel-pipe-id.end","time":1067.800000011921},{"name":"activityTabFullyLoaded","time":1149.699999988079}],"measures":[],"correlationId":"66b3bcadee191c","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}