I am running the mariabackup from a Production Server, I don't care if it takes mariabackup more time to complete than cause issue to my server (increased load), therefore I limit the resources mariabackup can use.
I have been working on MySQL for around 20 years, I haven't had an issue using --use-memory with xtrabackup, the error doesn't indicate that --use-memory is the issue.
I have tried many combinations with xbstream and mbstream, same results, I have to uncompress the tables that fail for corruption, then the backup completes.
Again, I have around 100 Servers, each server has 2K databases with the same schemas, the data is different. mariabackup has failed on every server I have tried, but the corruption doesn't happen on every table, maybe 10 to 20 tables, and it is only ONE Table Definition that mariabackup fails on.
CREATE TABLE `attribution` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`device_id` bigint(20) unsigned NOT NULL DEFAULT 0,
`install_id` bigint(20) NOT NULL,
`attribution_prompt` varchar(32) DEFAULT NULL,
`attribution_action` varchar(32) DEFAULT NULL,
`prompt_date` datetime DEFAULT NULL,
`attribution_date` datetime DEFAULT NULL,
`network_id` int(11) DEFAULT NULL,
`campaign_id` bigint(20) DEFAULT NULL,
`site_id` varchar(512) DEFAULT NULL,
`creative_id` varchar(512) DEFAULT NULL,
`identifiers` text DEFAULT NULL,
`ad_information` text DEFAULT NULL,
`device_information` text DEFAULT NULL,
`country_code2` char(2) DEFAULT NULL,
`country_code3` char(3) DEFAULT NULL,
`date_last_updated` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `device_id` (`device_id`),
KEY `network_id` (`network_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPRESSED
But each time it fails, I have to uncompress that table and start the backup over.
I found a viable but ugly work around.
Will Mayall