Hi,
We have over 2000 databases (innodb)
In April 2022 we moved from #server 1 to #server 2 (which is few times faster than #server1) and we have some troubles:
1. On #server1 there was mariadb 10.4.x and any backups/upgrades were creating really fast (30-60 seconds)
2. We uploaded backups to #server2 but installed there MariaDB 10.6.7 and.... dumping databases is taking ~60-70 minutes + after for example do command on SSH like "service mariadb restart" is making some crash recovery etc.... which is taking 1-2 hours also.... on #server1 with mariadb 10.4.x there wasn't any problems like that, I could restart mariadb anytime and there wasn't any problems...
3. Today (20.08.2022) I logged to #server1 and thinking "hmmm maybe i'll upgrade mariadb 10.4.x to 10.6.x to check if anything will happened like in #server2" - and what? If there were mariadb 10.4.x mysqldump make dumps in 30-60seconds (2100 databases).... after successfully upgrade to mariadb 10.6.x, I tried to reinstall mariadb from 10.6.9 to 10.6.9 (to check how fast is mysqldump) and that stupid mariadb 10.6.9 is doing mysqldump like 1 database every 2 seconds...so 2100 databases give us 60-70 minutes - why it's so much slower than 10.4.x? What should I do? It's terrible problem for us and I don't know how to fix that.... I'm also scared to upgrade mariadb 10.6.7 to 10.6.9 on #server2 (production server) because of recovery crashes after restart etc.
Any ideas??
{"report":{"fcp":840.3000001907349,"ttfb":204.80000019073486,"pageVisibility":"visible","entityId":113968,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"c1e19d48-101b-4ace-b729-afb533a4825c","navigationType":0,"readyForUser":913.5,"redirectCount":0,"resourceLoadedEnd":759.4000000953674,"resourceLoadedStart":210.40000009536743,"resourceTiming":[{"duration":131.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":210.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":341.5,"responseStart":0,"secureConnectionStart":0},{"duration":131,"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":210.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":341.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":139.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.90000009536743,"connectEnd":210.90000009536743,"connectStart":210.90000009536743,"domainLookupEnd":210.90000009536743,"domainLookupStart":210.90000009536743,"fetchStart":210.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":210.90000009536743,"responseEnd":350.5,"responseStart":350.5,"secureConnectionStart":210.90000009536743},{"duration":183.5,"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":211.10000014305115,"connectEnd":211.10000014305115,"connectStart":211.10000014305115,"domainLookupEnd":211.10000014305115,"domainLookupStart":211.10000014305115,"fetchStart":211.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":211.10000014305115,"responseEnd":394.60000014305115,"responseStart":394.60000014305115,"secureConnectionStart":211.10000014305115},{"duration":187.19999980926514,"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":211.30000019073486,"connectEnd":211.30000019073486,"connectStart":211.30000019073486,"domainLookupEnd":211.30000019073486,"domainLookupStart":211.30000019073486,"fetchStart":211.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":211.30000019073486,"responseEnd":398.5,"responseStart":398.5,"secureConnectionStart":211.30000019073486},{"duration":187.5,"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":211.5,"connectEnd":211.5,"connectStart":211.5,"domainLookupEnd":211.5,"domainLookupStart":211.5,"fetchStart":211.5,"redirectEnd":0,"redirectStart":0,"requestStart":211.5,"responseEnd":399,"responseStart":399,"secureConnectionStart":211.5},{"duration":187.89999985694885,"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":211.60000014305115,"connectEnd":211.60000014305115,"connectStart":211.60000014305115,"domainLookupEnd":211.60000014305115,"domainLookupStart":211.60000014305115,"fetchStart":211.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":211.60000014305115,"responseEnd":399.5,"responseStart":399.5,"secureConnectionStart":211.60000014305115},{"duration":281.59999990463257,"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":211.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493.5,"responseStart":0,"secureConnectionStart":0},{"duration":187.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":212.10000014305115,"connectEnd":212.10000014305115,"connectStart":212.10000014305115,"domainLookupEnd":212.10000014305115,"domainLookupStart":212.10000014305115,"fetchStart":212.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":212.10000014305115,"responseEnd":399.90000009536743,"responseStart":399.90000009536743,"secureConnectionStart":212.10000014305115},{"duration":281.2999999523163,"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":212.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":188,"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":212.5,"connectEnd":212.5,"connectStart":212.5,"domainLookupEnd":212.5,"domainLookupStart":212.5,"fetchStart":212.5,"redirectEnd":0,"redirectStart":0,"requestStart":212.5,"responseEnd":400.5,"responseStart":400.5,"secureConnectionStart":212.5},{"duration":338.60000014305115,"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":213.5,"connectEnd":213.5,"connectStart":213.5,"domainLookupEnd":213.5,"domainLookupStart":213.5,"fetchStart":213.5,"redirectEnd":0,"redirectStart":0,"requestStart":213.5,"responseEnd":552.1000001430511,"responseStart":552.1000001430511,"secureConnectionStart":213.5},{"duration":334.2999999523163,"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":218.20000004768372,"connectEnd":218.20000004768372,"connectStart":218.20000004768372,"domainLookupEnd":218.20000004768372,"domainLookupStart":218.20000004768372,"fetchStart":218.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":218.20000004768372,"responseEnd":552.5,"responseStart":552.5,"secureConnectionStart":218.20000004768372},{"duration":33.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":520.3000001907349,"connectEnd":520.3000001907349,"connectStart":520.3000001907349,"domainLookupEnd":520.3000001907349,"domainLookupStart":520.3000001907349,"fetchStart":520.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":520.3000001907349,"responseEnd":553.8000001907349,"responseStart":553.8000001907349,"secureConnectionStart":520.3000001907349},{"duration":202.29999995231628,"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":557.1000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":557.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":759.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":35,"responseStart":205,"responseEnd":210,"domLoading":208,"domInteractive":972,"domContentLoadedEventStart":973,"domContentLoadedEventEnd":1019,"domComplete":1101,"loadEventStart":1101,"loadEventEnd":1102,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":946.6000001430511},{"name":"bigPipe.sidebar-id.end","time":947.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":947.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":949.4000000953674},{"name":"activityTabFullyLoaded","time":1040.1000001430511}],"measures":[],"correlationId":"7fc55dc6956b1c","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":17,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
emil89, can you please test the recently released MariaDB Server 10.6.13? It includes some performance fixes, such as
MDEV-26055andMDEV-26827. Those fixes seemed to help a lot when I tried to reproduceMDEV-30000.There is one more fix
MDEV-29967that missed the 10.6.13 release and could be relevant here. If 10.6.13 does not fix your problem for you, it would be nice if you could test a development snapshot of 10.6 from https://ci.mariadb.org/35012/. Because I do not know how long these builds will be retained, that particular build might not be available when you are ready to try it. I got the number by navigating to end of the page https://buildbot.mariadb.org/#/grid?branch=10.6 and clicking on the leftmost "build successful" link next to "tarball-docker". The URL and the heading of that page ends in the build number (35012).If you use such a snapshot, please indicate the version_source_revision; it should be part of the startup message:
2023-05-11 11:06:30 0 [Note] Starting MariaDB 10.6.14-MariaDB-log source revision c271057288f71746d1816824f338f2d9c47f67c1 as process 24114