My Oracle Support Banner

How To Optimize a Backup Performance For MySQL Shell's Dump Instance Utility -- util.dumpInstance() (Doc ID 2816287.1)

Last updated on JUNE 01, 2023

Applies to:

MySQL Database Service - Version N/A and later
MySQL Server - Version 5.7 and later
Information in this document applies to any platform.


MySQL Shell's dump instance utility is the fastest "logical" backup method which is officially provided by Oracle. MySQL Enterprise Backup can be the fastest backup utility, but it takes physical backups. The dump instance, and load dump utility was introduced as of MySQL Shell 8.0.21. This document describes how to speed up backup using the dump instance utility. To optimize the dumping performance, so that the dumping speed is faster, or the dump consumes less resources, there are several points to be considered.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Parallelism / Number of threads
 Chunk size
 Use the latest version
 Compressed Connections
 Data Compression

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.