{"id":10429,"date":"2017-08-07T12:08:59","date_gmt":"2017-08-07T10:08:59","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/"},"modified":"2017-08-07T12:08:59","modified_gmt":"2017-08-07T10:08:59","slug":"mariadb-speed-up-your-logical-mariadb-backups-with-mydumper","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/","title":{"rendered":"MariaDB &#8211; Speed up your logical MariaDB backups with mydumper"},"content":{"rendered":"<h2>By William Sescu<\/h2>\n<p>Per default, MariaDB is shipped with a utility called mysqldump for logical backups. For more information, please take a look at the following link.<\/p>\n<p><a href=\"https:\/\/mariadb.com\/kb\/en\/mariadb\/mysqldump\/\">https:\/\/mariadb.com\/kb\/en\/mariadb\/mysqldump\/<\/a><\/p>\n<p>The mysqldump has advantages, e.g. it is easy to use and it is shipped with the standard MariaDB installation. \u00a0So, no additional installation is needed. However, it has also some disadvantages. E.g. it is single threaded and it is \u00a0writing to one big file, even with the latest version which is MariaDB 10.2.7 at the moment.<\/p>\n<p>In case you want to dump out your data very quickly this can be your bottleneck. This is where the mydumper comes into play. The main feature of mydumper is that you can parallelize it. The mydumper utility uses 4 parallel threads per default if not otherwise specified.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">.\/mydumper --help | grep threads\n  -t, --threads               Number of threads to use, default 4<\/pre>\n<p>Another cool feature is compression.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">.\/mydumper --help | grep compress\n  -c, --compress              Compress output files<\/pre>\n<p>The biggest disadvantage is that mydumper is not delivered out of the box. You have to compile it yourself. To do so, simply follow the following steps:<\/p>\n<ul>\n<li>Get software from <a href=\"https:\/\/github.com\/maxbube\/mydumper\">https:\/\/github.com\/maxbube\/mydumper<\/a><\/li>\n<li>Install some extra packages<\/li>\n<li>Compile the software (cmake, make, make install)<\/li>\n<\/ul>\n<p>Install the packages, which are needed for the mydumper compilation<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\"># yum install gcc gcc-c++ glib2-devel mysql-devel zlib-devel \\\n  pcre-devel openssl-devel cmake<\/pre>\n<p>Unzip and compile mydumper<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">$ unzip mydumper-master.zip\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/ [mysqld1] unzip mydumper-master.zip\nArchive:  mydumper-master.zip\ne643528321f51e21a463156fbf232448054b955d\n   creating: mydumper-master\/\n  inflating: mydumper-master\/.bzrignore\n  inflating: mydumper-master\/CMakeLists.txt\n  inflating: mydumper-master\/README\n  inflating: mydumper-master\/binlog.c\n  inflating: mydumper-master\/binlog.h\n   creating: mydumper-master\/cmake\/\n   creating: mydumper-master\/cmake\/modules\/\n  inflating: mydumper-master\/cmake\/modules\/CppcheckTargets.cmake\n  inflating: mydumper-master\/cmake\/modules\/FindGLIB2.cmake\n  inflating: mydumper-master\/cmake\/modules\/FindMySQL.cmake\n  inflating: mydumper-master\/cmake\/modules\/FindPCRE.cmake\n  inflating: mydumper-master\/cmake\/modules\/FindSphinx.cmake\n  inflating: mydumper-master\/cmake\/modules\/Findcppcheck.cmake\n  inflating: mydumper-master\/cmake\/modules\/Findcppcheck.cpp\n  inflating: mydumper-master\/common.h\n  inflating: mydumper-master\/config.h.in\n   creating: mydumper-master\/docs\/\n  inflating: mydumper-master\/docs\/CMakeLists.txt\n   creating: mydumper-master\/docs\/_build\/\n  inflating: mydumper-master\/docs\/_build\/conf.py.in\n  inflating: mydumper-master\/docs\/_build\/sources.cmake.in\n  inflating: mydumper-master\/docs\/authors.rst\n  inflating: mydumper-master\/docs\/compiling.rst\n  inflating: mydumper-master\/docs\/examples.rst\n  inflating: mydumper-master\/docs\/files.rst\n  inflating: mydumper-master\/docs\/index.rst\n  inflating: mydumper-master\/docs\/mydumper_usage.rst\n  inflating: mydumper-master\/docs\/myloader_usage.rst\n  inflating: mydumper-master\/g_unix_signal.c\n  inflating: mydumper-master\/g_unix_signal.h\n  inflating: mydumper-master\/mydumper.c\n  inflating: mydumper-master\/mydumper.h\n  inflating: mydumper-master\/myloader.c\n  inflating: mydumper-master\/myloader.h\n  inflating: mydumper-master\/server_detect.c\n  inflating: mydumper-master\/server_detect.h\n\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/ [mysqld1] mv mydumper-master mydumper-0.9.2\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/ [mysqld1] cd mydumper-0.9.2\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/ [mysqld1] cmake . -DCMAKE_INSTALL_PREFIX=\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\n-- The C compiler identification is GNU 4.8.5\n-- The CXX compiler identification is GNU 4.8.5\n-- Check for working C compiler: \/usr\/bin\/cc\n-- Check for working C compiler: \/usr\/bin\/cc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working CXX compiler: \/usr\/bin\/c++\n-- Check for working CXX compiler: \/usr\/bin\/c++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Using mysql-config: \/u00\/app\/mysql\/product\/mysql-5.6.37\/bin\/mysql_config\n-- Found MySQL: \/u00\/app\/mysql\/product\/mysql-5.6.37\/include, \/u00\/app\/mysql\/product\/mysql-5.6.37\/lib\/libmysqlclient.so;\/usr\/lib64\/libpthread.so;\/usr\/lib64\/libm.so;\/usr\/lib64\/librt.so;\/usr\/lib64\/libdl.so\n-- Found ZLIB: \/usr\/lib64\/libz.so (found version \"1.2.7\")\n-- Found PkgConfig: \/usr\/bin\/pkg-config (found version \"0.27.1\")\n-- checking for one of the modules 'glib-2.0'\n-- checking for one of the modules 'gthread-2.0'\n-- checking for module 'libpcre'\n--   found libpcre, version 8.32\n-- Found PCRE: \/usr\/include\n1\n-- ------------------------------------------------\n-- MYSQL_CONFIG = \/u00\/app\/mysql\/product\/mysql-5.6.37\/bin\/mysql_config\n-- CMAKE_INSTALL_PREFIX = \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\n-- BUILD_DOCS = ON\n-- WITH_BINLOG = OFF\n-- RUN_CPPCHECK = OFF\n-- Change a values with: cmake -D&lt;Variable&gt;=&lt;Value&gt;\n-- ------------------------------------------------\n--\n-- Configuring done\n-- Generating done\n-- Build files have been written to: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2<\/pre>\n<p>HINT: In case you don&#8217;t have Sphinx installed, you can use the -DBUILD_DOCS=OFF option. Sphinx is a documentation generator. For more information see <a href=\"http:\/\/sphinx-doc.org\/\">http:\/\/sphinx-doc.org\/<\/a><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">mysql@mysql01:\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/ [mysqld1] make\nScanning dependencies of target mydumper\n[ 16%] Building C object CMakeFiles\/mydumper.dir\/mydumper.c.o\n[ 33%] Building C object CMakeFiles\/mydumper.dir\/server_detect.c.o\n[ 50%] Building C object CMakeFiles\/mydumper.dir\/g_unix_signal.c.o\nLinking C executable mydumper\n[ 50%] Built target mydumper\nScanning dependencies of target myloader\n[ 66%] Building C object CMakeFiles\/myloader.dir\/myloader.c.o\nLinking C executable myloader\n[ 66%] Built target myloader\nScanning dependencies of target doc_sources\n[ 66%] Built target doc_sources\nScanning dependencies of target doc_html\n[ 83%] Building HTML documentation with Sphinx\n\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/docs\/_sources\/files.rst:39: WARNING: unknown option: mydumper --schemas\nWARNING: html_static_path entry '\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/docs\/_static' does not exist\n[ 83%] Built target doc_html\nScanning dependencies of target doc_man\n[100%] Building manual page with Sphinx\n[100%] Built target doc_man\n\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/ [mysqld1] make install\n[ 50%] Built target mydumper\n[ 66%] Built target myloader\n[ 66%] Built target doc_sources\n[ 83%] Building HTML documentation with Sphinx\n[ 83%] Built target doc_html\n[100%] Building manual page with Sphinx\n[100%] Built target doc_man\nInstall the project...\n-- Install configuration: \"\"\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/bin\/mydumper\n-- Removed runtime path from \"\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/bin\/mydumper\"\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/bin\/myloader\n-- Removed runtime path from \"\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/bin\/myloader\"\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/authors.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/compiling.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/examples.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/files.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/index.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/mydumper_usage.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/myloader_usage.rst\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/authors.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/authors.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/compiling.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/examples.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/files.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/index.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/mydumper_usage.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_sources\/myloader_usage.txt\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/compiling.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/examples.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/files.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/index.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/mydumper_usage.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/myloader_usage.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/genindex.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/search.html\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/pygments.css\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/ajax-loader.gif\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/basic.css\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/comment-bright.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/comment-close.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/comment.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/doctools.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/down-pressed.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/down.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/file.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/jquery-1.11.1.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/jquery.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/minus.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/plus.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/searchtools.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/underscore-1.3.1.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/underscore.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/up-pressed.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/up.png\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/websupport.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/classic.css\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/sidebar.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/_static\/default.css\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/.buildinfo\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/searchindex.js\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/doc\/mydumper\/html\/objects.inv\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/man\/man1\/mydumper.1\n-- Installing: \/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/share\/man\/man1\/myloader.1\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/mydumper-0.9.2\/ [mysqld1]\n\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/ [mysqld1] ln -s mydumper-0.9.2 mydumper\nmysql@mysql01:\/u00\/app\/mysql\/product\/tools\/ [mysqld1]<\/pre>\n<p>If compiled correctly, you will see two new binaries created. The mydumper and the myloader.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">mysql@mysql01:\/u00\/app\/mysql\/product\/tools\/mydumper\/bin\/ [mysqld1] ls -l\ntotal 280\n-rwxr-xr-x 1 mysql mysql 218808 Aug  7 07:25 mydumper\n-rwxr-xr-x 1 mysql mysql  63448 Aug  7 07:25 myloader<\/pre>\n<p>And besides that, you will have the documentation compiled as html in the ..\/mydumper-0.9.2\/share\/doc\/mydumper\/html folder.<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-18188\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\" alt=\"MyDumper HTML\" width=\"300\" height=\"163\" \/><\/a><\/p>\n<p>Ok. Let&#8217;s see now mysqldump vs. mydumper in action. My sample database is about 10G in size. Of course, the bigger the database is, the bigger the performance impact of mydumper will be.<\/p>\n<p>First, we dump out all databases with mysqldump (without and with compression) and record the time.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">-- no compression \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] mysqldump --version \nmysqldump  Ver 10.16 Distrib 10.2.7-MariaDB, for Linux (x86_64) \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] time mysqldump --defaults-file=\/u00\/app\/mysql\/admin\/mysqld1\/.my.cnf --single-transaction --all-databases &gt; mysqldump.sql \n\nreal    3m38.94s \nuser    1m29.11s \nsys     0m11.85s \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] ls -lh mysqldump.sql     \n-rw-r--r-- 1 mysql mysql 10G Aug  7 11:33 mysqldump.sql \n\n-- compression \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] time mysqldump --defaults-file=\/u00\/app\/mysql\/admin\/mysqld1\/.my.cnf --single-transaction --all-databases | gzip &gt; mysqldump.sql.gz \n\nreal    4m43.75s \nuser    4m55.25s \nsys     0m10.65s \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] ls -lh mysqldump.sql.gz \n-rw-r--r-- 1 mysql mysql 3.1G Aug  7 11:55 mysqldump.sql.gz<\/pre>\n<p>The uncompressed dump took about 3.39 Minute (10G) and the compressed one about 4.44 Minute (3.1G).<\/p>\n<p>Now we repeat it with mydumper.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">-- no compression \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] time \/u00\/app\/mysql\/product\/tools\/mydumper\/bin\/mydumper --defaults-file=\/u00\/app\/mysql\/admin\/mysqld1\/.my.cnf --trx-consistency-only --threads=6 --outputdir=\/mydump\/mysqld1\/mydumper_mysqld1 \n\nreal    1m22.44s \nuser    0m41.17s \nsys     0m7.31s \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] du -hs \/mydump\/mysqld1\/mydumper_mysqld1\/ \n10G     mydumper_mysqld1\/ \n\n-- compression \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] time \/u00\/app\/mysql\/product\/tools\/mydumper\/bin\/mydumper --defaults-file=\/u00\/app\/mysql\/admin\/mysqld1\/.my.cnf --trx-consistency-only --threads=6 --compress --outputdir=\/mydump\/mysqld1\/mydumper_mysqld1 \n\nreal    3m4.99s \nuser    3m54.94s \nsys     0m5.11s \n\nmysql@mysql01:\/u00\/app\/mysql\/ [mysqld1] du -hs \/mydump\/mysqld1\/mydumper_mysqld1\/ \n3.1G    mydumper_mysqld1\/<\/pre>\n<p>With mydumper, the uncompressed dump took about 1.23 Minute (10G) and the compressed one about 3.04 Minute (3.1G).<\/p>\n<p>As you can see in the results, the uncompressed dump was about 3 times faster with mydumper. The compressed mydumper export only about 30% faster. The reason for the compressed export being only 30% faster might be due to the fact that I have only 2 virtual cpu&#8217;s assigned to my VM.<\/p>\n<h3>Conclusion<\/h3>\n<p>MyDumper is a great tool that can speed up your database exports quite dramatically. Take a look at it. It might be worth it.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By William Sescu Per default, MariaDB is shipped with a utility called mysqldump for logical backups. For more information, please take a look at the following link. https:\/\/mariadb.com\/kb\/en\/mariadb\/mysqldump\/ The mysqldump has advantages, e.g. it is easy to use and it is shipped with the standard MariaDB installation. \u00a0So, no additional installation is needed. However, it [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":10430,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[141],"type_dbi":[],"class_list":["post-10429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","tag-mariadb"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>MariaDB - Speed up your logical MariaDB backups with mydumper - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MariaDB - Speed up your logical MariaDB backups with mydumper\" \/>\n<meta property=\"og:description\" content=\"By William Sescu Per default, MariaDB is shipped with a utility called mysqldump for logical backups. For more information, please take a look at the following link. https:\/\/mariadb.com\/kb\/en\/mariadb\/mysqldump\/ The mysqldump has advantages, e.g. it is easy to use and it is shipped with the standard MariaDB installation. \u00a0So, no additional installation is needed. However, it [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-07T10:08:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1303\" \/>\n\t<meta property=\"og:image:height\" content=\"706\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"MariaDB &#8211; Speed up your logical MariaDB backups with mydumper\",\"datePublished\":\"2017-08-07T10:08:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\"},\"wordCount\":438,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\",\"keywords\":[\"MariaDB\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\",\"name\":\"MariaDB - Speed up your logical MariaDB backups with mydumper - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\",\"datePublished\":\"2017-08-07T10:08:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg\",\"width\":1303,\"height\":706},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MariaDB &#8211; Speed up your logical MariaDB backups with mydumper\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MariaDB - Speed up your logical MariaDB backups with mydumper - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/","og_locale":"en_US","og_type":"article","og_title":"MariaDB - Speed up your logical MariaDB backups with mydumper","og_description":"By William Sescu Per default, MariaDB is shipped with a utility called mysqldump for logical backups. For more information, please take a look at the following link. https:\/\/mariadb.com\/kb\/en\/mariadb\/mysqldump\/ The mysqldump has advantages, e.g. it is easy to use and it is shipped with the standard MariaDB installation. \u00a0So, no additional installation is needed. However, it [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/","og_site_name":"dbi Blog","article_published_time":"2017-08-07T10:08:59+00:00","og_image":[{"width":1303,"height":706,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg","type":"image\/jpeg"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"MariaDB &#8211; Speed up your logical MariaDB backups with mydumper","datePublished":"2017-08-07T10:08:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/"},"wordCount":438,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg","keywords":["MariaDB"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/","url":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/","name":"MariaDB - Speed up your logical MariaDB backups with mydumper - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg","datePublished":"2017-08-07T10:08:59+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/MyDumper-HTML.jpg","width":1303,"height":706},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/mariadb-speed-up-your-logical-mariadb-backups-with-mydumper\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"MariaDB &#8211; Speed up your logical MariaDB backups with mydumper"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/10429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=10429"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/10429\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/10430"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=10429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=10429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=10429"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=10429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}