Table of Contents
- 8.1 Upgrade Checker Utility
- 8.2 JSON Import Utility
- 8.3 Table Export Utility
- 8.4 Parallel Table Import Utility
- 8.5 Instance Dump Utility, Schema Dump Utility, and Table Dump Utility
- 8.6 Dump Loading Utility
MySQL Shell includes utilities for working with MySQL. To access
the utilities from within MySQL Shell, use the
util global object, which is available in
util global object provides the following
An upgrade checker utility that enables you to verify whether MySQL server instances are ready for upgrade. See Section 8.1, “Upgrade Checker Utility”.
A JSON import utility that enables you to import JSON documents to a MySQL Server collection or table. See Section 8.2, “JSON Import Utility”.
A table export utility that exports a MySQL relational table into a data file, which can then be uploaded into a table on a target MySQL server using MySQL Shell's parallel table import utility, or to import data to a different application, or as a light-weight logical backup for a single data table. See Section 8.3, “Table Export Utility”.
A parallel table import utility that splits up a single data file and uses multiple threads to load the chunks into a MySQL table. See Section 8.4, “Parallel Table Import Utility”.
dumpInstance(), dumpSchemas(), dumpTables()
An instance dump utility, schema dump utility, and table dump utility that can export all schemas, a selected schema, or selected tables and views, from a MySQL instance into an Oracle Cloud Infrastructure Object Storage bucket or a set of local files. See Section 8.5, “Instance Dump Utility, Schema Dump Utility, and Table Dump Utility”.
A dump loading utility that can import schemas dumped using MySQL Shell's instance dump utility and schema dump utility into a MySQL instance. See Section 8.6, “Dump Loading Utility”.