20 Migration Guide: Amazon Aurora MySQL to HeatWave MySQL on Amazon Web Services (AWS)
Copyright © 2024, Oracle and/or its affiliates. Public
o skip_invalid_accounts: You cannot export a user that has no password defined. This
option skips any such users.
o strip_definers: Remove the DEFINER clause from views, routines, events, and triggers,
so these objects are created with the default definer (the user invoking the schema), and
change the SQL SECURITY clause for views and routines to specify INVOKER instead of
DEFINER. HeatWave MySQL requires special privileges to create these objects with a definer
other than the user loading the schema. If your security model requires that views and
routines have more privileges than the account querying or calling them, you must manually
modify the schema before loading it. If you plan to use HeatWave MySQL on AWS v8.3 or
above, this option is not required.
o strip_restricted_grants: Certain privileges are restricted in HeatWave MySQL.
Privileges such as RELOAD, FILE, SUPER, BINLOG_ADMIN, and SET_USER_ID. You cannot
create users granting these privileges. This option strips these privileges from dumped
GRANT statements.
o strip_tablespaces: Tablespaces have some restrictions in HeatWave MySQL. If you
need tables created in their default tablespaces, this option strips the TABLESPACE= option
from CREATE TABLE statements.
o ignore_wildcard_grants: If enabled, ignores errors from grants on schemas with
wildcards, which are interpreted differently in systems where the partial_revokes system
variable is enabled.
o strip_invalid_grants: If enabled, strips grant statements which would fail when users
are copied. Such as grants referring to a specific routine which does not exist.
o create_invisible_pks: Primary keys are required by High Availability and HeatWave. If
you intend to export data for use in a highly available DB system or a HeatWave DB system,
add primary keys as they are not defined on the tables. This compatibility flag adds invisible
primary keys to each table that requires them.
• users: Include (true) or exclude (false) users and their roles and grants in the dump. You can use
the excludeUsers or includeUsers option to specify individual user accounts to be excluded or
included in the dump files. For example: excludeUsers: ["'test'@'%'",
"'root'@'localhost'"].
• threads: (Optional) The number of parallel threads to use to dump chunks of data from the MySQL
instance. Each thread has its own connection to the MySQL instance. The default is 4.
• targetVersion: Define the version of the target MySQL instance, in n.n.n format. Such as 8.3.0 or
8.0.36, for example. If the value is not set, the MySQL Shell version is used.
• ocimds: Setting this option to true enables checks and modifications for compatibility with the
HeatWave MySQL Service.
• dryRun: Displays information about the copy with the specified set of options, and about the results
of HeatWave MySQL Service compatibility checks, but does not proceed with the copy. Setting this
option enables you to list out all the compatibility issues before starting the copy.
• consistent: Enable (true) or disable (false) consistent data copies by locking the instance for
backup during the copy.