-
Good evening, dear colleagues, may I ask your opinion on the following? myloader0.14.3-1, built against MariaDB 10.2.9 with SSL support with GZIP (no space in front of version number but take it as is). First question. When I asked mydumper to work in 16 threads, it just stuck. Okay, maybe a network overload problem, I restarted with just the basic 4 threads. The problem is - it was sloooooow... While the backup from the old MySQL took about an hour, the restore operation took about 4 hours and is still not complete. The MariaDB server shows no visible load at all, looks like it is just staying almost idle. Neither CPUs nor disks IOPS are showstoppers, but it takes, hmm, too much time. How do I find a bottleneck? Please, help! The other issue is, that now when all threads are closed, mydumper is slowly slowly performing checksum validations. And what do I see? I see warnings about the checksums. I.e. for a table 'somedb'.'sometable' log says: 2023-09-26 21:40:41 [INFO] - Structure checksum confirmed for How do I interpret this? Is this a sign of a fatal import error? Or maybe this is a result of charset conversion between different versions of UTF-8 encoding? Can I trust the restored results? I will check the tables for identity anyway, but can anyone tell me what to expect and how to cope with it? Thanks in advance! Warmest regards, Andreas |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @astesin, |
Beta Was this translation helpful? Give feedback.
-
Thanks! I already upgraded to mydumper v0.15.1-3, built against MySQL 8.0.33-25 with SSL support The next backup/restore cycle will be done with this new version tomorrow and I'll report my findings than. And of course, we'll make a comparison tomorrow so we'll know for sure are the tables actually corrupted or not. Is there any chance that building mydumper/myloader locally with the latest MariaDB-provided libraries will somehow improve the picture? Warmest regards, Andreas |
Beta Was this translation helpful? Give feedback.
-
Thank you! I will stick with this hypothesis as a base, until I find a piece of evidence that points to some other possible cause. |
Beta Was this translation helpful? Give feedback.
Datetime is indeed stored with the timezone, contrary to timestamp which is stored in UTC. You can get different checksums this way.
Also noted in the manual: