Type:
Task
Priority:
Blocker
Resolution:
Fixed
The documentation at https://mariadb.com/kb/en/innodb-temporary-tablespaces/ says:
Unlike normal tablespaces, temporary tablespaces are deleted when you stop MariaDB. To shrink temporary tablespaces to their minimum sizes, restart the server.
This means temporary tablespaces will keep growing until MariaDB is restarted. Having to restart MariaDB periodically is not optimal. It would be welcome if MariaDB shrinks temporary tablespaces on disk without restarting.
To achieve this, we would introduce new syntax:
SET GLOBAL innodb_truncate_temporary_tablespace_now=1;
{"report":{"fcp":1832.0999999046326,"ttfb":781.5,"pageVisibility":"visible","entityId":111411,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"13049045-090e-43a4-9bd1-29508bd17ec3","navigationType":0,"readyForUser":1951.7999997138977,"redirectCount":0,"resourceLoadedEnd":2144.0999999046326,"resourceLoadedStart":787,"resourceTiming":[{"duration":527,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":787,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":787,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1314,"responseStart":0,"secureConnectionStart":0},{"duration":526.9000000953674,"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":787.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":787.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1314.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":536.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":787.5,"connectEnd":787.5,"connectStart":787.5,"domainLookupEnd":787.5,"domainLookupStart":787.5,"fetchStart":787.5,"redirectEnd":0,"redirectStart":0,"requestStart":787.5,"responseEnd":1323.8999996185303,"responseStart":1323.8999996185303,"secureConnectionStart":787.5},{"duration":589.9000000953674,"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":787.6999998092651,"connectEnd":787.6999998092651,"connectStart":787.6999998092651,"domainLookupEnd":787.6999998092651,"domainLookupStart":787.6999998092651,"fetchStart":787.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":787.6999998092651,"responseEnd":1377.5999999046326,"responseStart":1377.5999999046326,"secureConnectionStart":787.6999998092651},{"duration":593.3999996185303,"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":788,"connectEnd":788,"connectStart":788,"domainLookupEnd":788,"domainLookupStart":788,"fetchStart":788,"redirectEnd":0,"redirectStart":0,"requestStart":788,"responseEnd":1381.3999996185303,"responseStart":1381.3999996185303,"secureConnectionStart":788},{"duration":593.5999999046326,"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":788.1999998092651,"connectEnd":788.1999998092651,"connectStart":788.1999998092651,"domainLookupEnd":788.1999998092651,"domainLookupStart":788.1999998092651,"fetchStart":788.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":788.1999998092651,"responseEnd":1381.7999997138977,"responseStart":1381.7999997138977,"secureConnectionStart":788.1999998092651},{"duration":594,"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":788.3999996185303,"connectEnd":788.3999996185303,"connectStart":788.3999996185303,"domainLookupEnd":788.3999996185303,"domainLookupStart":788.3999996185303,"fetchStart":788.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":788.3999996185303,"responseEnd":1382.3999996185303,"responseStart":1382.3999996185303,"secureConnectionStart":788.3999996185303},{"duration":689.0999999046326,"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":788.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":788.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1477.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":594.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":788.7999997138977,"connectEnd":788.7999997138977,"connectStart":788.7999997138977,"domainLookupEnd":788.7999997138977,"domainLookupStart":788.7999997138977,"fetchStart":788.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":788.7999997138977,"responseEnd":1382.8999996185303,"responseStart":1382.8999996185303,"secureConnectionStart":788.7999997138977},{"duration":689.2000002861023,"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":788.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":788.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1478.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":594.5,"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":789,"connectEnd":789,"connectStart":789,"domainLookupEnd":789,"domainLookupStart":789,"fetchStart":789,"redirectEnd":0,"redirectStart":0,"requestStart":789,"responseEnd":1383.5,"responseStart":1383.5,"secureConnectionStart":789},{"duration":1270.8000001907349,"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":790.7999997138977,"connectEnd":790.7999997138977,"connectStart":790.7999997138977,"domainLookupEnd":790.7999997138977,"domainLookupStart":790.7999997138977,"fetchStart":790.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":790.7999997138977,"responseEnd":2061.5999999046326,"responseStart":2061.5999999046326,"secureConnectionStart":790.7999997138977},{"duration":1288.8000001907349,"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":790.8999996185303,"connectEnd":790.8999996185303,"connectStart":790.8999996185303,"domainLookupEnd":790.8999996185303,"domainLookupStart":790.8999996185303,"fetchStart":790.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":790.8999996185303,"responseEnd":2079.699999809265,"responseStart":2079.699999809265,"secureConnectionStart":790.8999996185303},{"duration":237.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1494.3999996185303,"connectEnd":1494.3999996185303,"connectStart":1494.3999996185303,"domainLookupEnd":1494.3999996185303,"domainLookupStart":1494.3999996185303,"fetchStart":1494.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1494.3999996185303,"responseEnd":1731.7999997138977,"responseStart":1731.7999997138977,"secureConnectionStart":1494.3999996185303},{"duration":378.19999980926514,"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":1765.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1765.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2143.699999809265,"responseStart":0,"secureConnectionStart":0},{"duration":377.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1766.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1766.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2144.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":342.8999996185303,"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&whisper-enabled=true","startTime":1767.5,"connectEnd":1767.5,"connectStart":1767.5,"domainLookupEnd":1767.5,"domainLookupStart":1767.5,"fetchStart":1767.5,"redirectEnd":0,"redirectStart":0,"requestStart":1767.5,"responseEnd":2110.3999996185303,"responseStart":2110.3999996185303,"secureConnectionStart":1767.5},{"duration":369.80000019073486,"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&whisper-enabled=true","startTime":1767.8999996185303,"connectEnd":1767.8999996185303,"connectStart":1767.8999996185303,"domainLookupEnd":1767.8999996185303,"domainLookupStart":1767.8999996185303,"fetchStart":1767.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1767.8999996185303,"responseEnd":2137.699999809265,"responseStart":2137.699999809265,"secureConnectionStart":1767.8999996185303},{"duration":371.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1768.2999997138977,"connectEnd":1768.2999997138977,"connectStart":1768.2999997138977,"domainLookupEnd":1768.2999997138977,"domainLookupStart":1768.2999997138977,"fetchStart":1768.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1768.2999997138977,"responseEnd":2140,"responseStart":2139.8999996185303,"secureConnectionStart":1768.2999997138977},{"duration":339.30000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1820.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1820.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2159.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":618,"responseStart":781,"responseEnd":784,"domLoading":784,"domInteractive":2283,"domContentLoadedEventStart":2283,"domContentLoadedEventEnd":2351,"domComplete":3504,"loadEventStart":3504,"loadEventEnd":3507,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2214.5999999046326},{"name":"bigPipe.sidebar-id.end","time":2233.2999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":2234.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.end","time":2238.699999809265},{"name":"activityTabFullyLoaded","time":2366.7999997138977}],"measures":[],"correlationId":"5ac6c780d168a1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":20,"dbConnsTimeInMs":29,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}