I'm trying to migrate my mariadb data directory with several tables with page compression from 10k to 15k disks (both ext4 filesystem). I've tried stopping the mariadb process, then do a regular cp, but it's very slow. The data directory is just 100GB large, it starts very well, comes to 60GB, then it's become very slow, copying just a few hunder KB per second, taking forever to complete. I also tried using mariabackup to copy from one disk to another, but it came to 78GB, 4 cores running on 100% (mariabackup --parallel=4) but very slow progress.
Found this: https://www.percona.com/blog/2017/11/20/innodb-page-compression/
Is there anything that can be done to have some reasonable speeds?
The tables are partitioned page compressed tables like:
CREATE TABLE `cqrs_event` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`event_id` char(36) COLLATE utf8_unicode_ci NOT NULL,
`event_date` datetime NOT NULL,
`event_date_u` int(10) unsigned NOT NULL,
`aggregate_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`aggregate_id` varchar(64) CHARACTER SET utf8 DEFAULT NULL,
`sequence_number` int(10) unsigned DEFAULT NULL,
`payload_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8_unicode_ci NOT NULL,
`metadata` longtext COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`,`event_date`),
KEY `ix_cqrs_event_aggregate` (`aggregate_type`,`aggregate_id`,`sequence_number`),
KEY `ix_cqrs_event_dates` (`event_date`,`event_date_u`),
KEY `ix_cqrs_event_id` (`event_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci `PAGE_COMPRESSED`=1
PARTITION BY RANGE (to_days(`event_date`))
(PARTITION `to_20190127` VALUES LESS THAN (737451) ENGINE = InnoDB,
PARTITION `to_20190203` VALUES LESS THAN (737458) ENGINE = InnoDB,
PARTITION `to_20190210` VALUES LESS THAN (737465) ENGINE = InnoDB,
...
Thanks
No workflow transitions have been executed yet.
{"report":{"fcp":696.7999999523163,"ttfb":191,"pageVisibility":"visible","entityId":76181,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"340e6876-0511-41cd-be0f-41fceaf36abe","navigationType":0,"readyForUser":763.4000000953674,"redirectCount":0,"resourceLoadedEnd":827.5,"resourceLoadedStart":217.70000004768372,"resourceTiming":[{"duration":12,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":217.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":217.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":229.70000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":13.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":217.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":217.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":231.70000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":66.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":218.09999990463257,"connectEnd":218.09999990463257,"connectStart":218.09999990463257,"domainLookupEnd":218.09999990463257,"domainLookupStart":218.09999990463257,"fetchStart":218.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":218.09999990463257,"responseEnd":284.7999999523163,"responseStart":284.7999999523163,"secureConnectionStart":218.09999990463257},{"duration":158,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":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":376.2000000476837,"responseStart":376.2000000476837,"secureConnectionStart":218.20000004768372},{"duration":161.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":218.29999995231628,"connectEnd":218.29999995231628,"connectStart":218.29999995231628,"domainLookupEnd":218.29999995231628,"domainLookupStart":218.29999995231628,"fetchStart":218.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":218.29999995231628,"responseEnd":380.2000000476837,"responseStart":380.2000000476837,"secureConnectionStart":218.29999995231628},{"duration":162.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":218.40000009536743,"connectEnd":218.40000009536743,"connectStart":218.40000009536743,"domainLookupEnd":218.40000009536743,"domainLookupStart":218.40000009536743,"fetchStart":218.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":218.40000009536743,"responseEnd":380.59999990463257,"responseStart":380.59999990463257,"secureConnectionStart":218.40000009536743},{"duration":162.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":218.59999990463257,"connectEnd":218.59999990463257,"connectStart":218.59999990463257,"domainLookupEnd":218.59999990463257,"domainLookupStart":218.59999990463257,"fetchStart":218.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":218.59999990463257,"responseEnd":381,"responseStart":381,"secureConnectionStart":218.59999990463257},{"duration":162.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":218.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":218.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":381.5,"responseStart":0,"secureConnectionStart":0},{"duration":162.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":218.79999995231628,"connectEnd":218.79999995231628,"connectStart":218.79999995231628,"domainLookupEnd":218.79999995231628,"domainLookupStart":218.79999995231628,"fetchStart":218.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":218.79999995231628,"responseEnd":381.5,"responseStart":381.5,"secureConnectionStart":218.79999995231628},{"duration":163.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":218.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":218.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382,"responseStart":0,"secureConnectionStart":0},{"duration":163.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":219,"connectEnd":219,"connectStart":219,"domainLookupEnd":219,"domainLookupStart":219,"fetchStart":219,"redirectEnd":0,"redirectStart":0,"requestStart":219,"responseEnd":382.09999990463257,"responseStart":382.09999990463257,"secureConnectionStart":219},{"duration":517.8999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":219.70000004768372,"connectEnd":219.70000004768372,"connectStart":219.70000004768372,"domainLookupEnd":219.70000004768372,"domainLookupStart":219.70000004768372,"fetchStart":219.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":219.70000004768372,"responseEnd":737.5999999046326,"responseStart":737.5999999046326,"secureConnectionStart":219.70000004768372},{"duration":519.8999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":219.70000004768372,"connectEnd":219.70000004768372,"connectStart":219.70000004768372,"domainLookupEnd":219.70000004768372,"domainLookupStart":219.70000004768372,"fetchStart":219.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":219.70000004768372,"responseEnd":739.5999999046326,"responseStart":739.5999999046326,"secureConnectionStart":219.70000004768372},{"duration":292.2999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":445.7999999523163,"connectEnd":445.7999999523163,"connectStart":445.7999999523163,"domainLookupEnd":445.7999999523163,"domainLookupStart":445.7999999523163,"fetchStart":445.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":445.7999999523163,"responseEnd":738.0999999046326,"responseStart":738.0999999046326,"secureConnectionStart":445.7999999523163},{"duration":59.89999985694885,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":689.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":689.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":749.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":15.099999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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":794.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":794.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":809.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":14.700000047683716,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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":795.5999999046326,"connectEnd":795.5999999046326,"connectStart":795.5999999046326,"domainLookupEnd":795.5999999046326,"domainLookupStart":795.5999999046326,"fetchStart":795.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":795.5999999046326,"responseEnd":810.2999999523163,"responseStart":810.2999999523163,"secureConnectionStart":795.5999999046326},{"duration":31.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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":796.0999999046326,"connectEnd":796.0999999046326,"connectStart":796.0999999046326,"domainLookupEnd":796.0999999046326,"domainLookupStart":796.0999999046326,"fetchStart":796.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":796.0999999046326,"responseEnd":827.5,"responseStart":827.5,"secureConnectionStart":796.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":191,"responseEnd":194,"domLoading":216,"domInteractive":885,"domContentLoadedEventStart":885,"domContentLoadedEventEnd":936,"domComplete":1092,"loadEventStart":1093,"loadEventEnd":1093,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":854},{"name":"bigPipe.sidebar-id.end","time":854.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":854.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":855.4000000953674},{"name":"activityTabFullyLoaded","time":944.5999999046326}],"measures":[],"correlationId":"da0c9694a3e06f","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":61,"dbReadsTimeInMs":8,"dbConnsTimeInMs":14,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}