Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

MyDumper + ZFS – Merely Faster Than mysqldump is not Enough

Дата публикации: 11-10-2024 21:35:15

Mydumper is a useful tool. Unlike mysqldump, it can take logical backups using many threads. Logical backups are frequently the only option for projects to migrate into the cloud, or for consolidating datasets from multiple servers. When you have many TBs worth of data to move, mysqldump is not a viable option. However, mydumper does […]
The post MyDumper + ZFS – Merely Faster Than mysqldump is not Enough appeared first on Shattered Silicon.
MyDumper + ZFS – Merely Faster Than mysqldump is not Enough appeared first on MariaDB.org


Основное содержимое страницы с новостью.

Mydumper is a useful tool. Unlike mysqldump, it can take logical backups using many threads. Logical backups are frequently the only option for projects to migrate into the cloud, or for consolidating datasets from multiple servers. When you have many TBs worth of data to move, mysqldump is not a viable option.

However, mydumper does need a bit of finessing on occasion and I would like to talk about one of those occasions in this post. In terms of compression, mydumper comes with its own gzip compression which is quite slow and often is a bottleneck. Recently, it added zstd compression which is amazing, but try as I might, I could not get it to work as I would have liked. The way compression is done seems to suffer from a bottleneck in the pipeline.

Our client was, quite rightly, expecting better from our MySQL support, so we weren’t about to just wait out that bottleneck. We can do better than that. Luckily, we have ZFS compressed datasets with zstd. This was extremely useful, because it means that compression could be offloaded to zstd in another layer and that layer can handle it in an asynchronous multi-threaded way.

So after setting mydumper to dump the multi-TB database to a compressed ZFS partition, these were the performance results I was able to get:

mydumper throughput on ZFS

MOAR POWER, IGOR!

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1MyDumper Locking Mechanisms Revisited: Introducing SAFE_NO_LOCK06.2213-07-2026
2Comprehensive Self-Service Backups for Continuous Data Protection in MariaDB Cloud08.5609-06-2026
3FromDual Backup and Recovery Manager for MariaDB and MySQL 2.3.1 has been released03.7712-08-2024
4FromDual Backup and Recovery Manager for MariaDB and MySQL 2.3.0 has been released03.7725-06-2024
5Efficient MySQL Performance In 10 Sentences09.9209-11-2024
6Backups Using the MySQL Clone Operation04.9328-07-2026
7FromDual Backup and Recovery Manager for MariaDB and MySQL 2.3.2 has been released04.1622-10-2025
8InnoDB Tablespace Duplicate Check Threads (and EBS Volumes for MySQL Startup with Many Tables)07.4103-12-2024
9MariaDB has broken the concept of dynamically configurable buffer pools!010.1809-02-2026
10Sysbench vs MariaDB on a small server: using the same charset for all versions08.3206-04-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 4.86. Источник: mariadb.org.