This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

mysqldump restore with poor performance

Hello,

we need to migrate our platform from an on premise location to azure cloud. In this context, we need to take a mysqldump from our mariadb on premise server and inject it to an azure mariadb managed solution. We need to be able to perform this restoration as fast as possible since our maintenance window is short but, at the moment, we get poor performance.

The managed mariadb server has 4 CPU, 20 GB RAM and 150 GB storage (given for 450 IOPS), the VM doing the injection has the same type of setup. So we are injecting a 25 GB database in 2 hours, with maximum 9MB/s throughput. When we look at monitoring dashboard, our VM is doing almost nothing (cpu, ram, network) and do not look overwhelmed at all. The managed database server is hardly 60% CPU, 80% ram and 60% "IO Percent".

The innodb_buffer_pool_size is 8GB and we already tried to set autocommit to 0 during the injection. We tried to upgrade both the VM and managed db server (8 CPU) but the performance were not better.

What would you advise in order to speed up the process ?

Thanks very much for any help,

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.