How do you solve a problem like ‘bad database days’ MariaDB?