MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0
ndb_move_data copies data from one NDB table to another.
The program is invoked with the names of the source and target tables; either or both of these may be qualified optionally with the database name. Both tables must use the NDB storage engine.
ndb_move_dataoptions
source
target
The following table includes options that are specific to ndb_move_data. Additional descriptions follow the table. For options common to most NDB Cluster programs (including ndb_move_data), see Section 23.4.32, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.
Table 23.37 Command-line options for the ndb_move_data program
Format | Description | Added, Deprecated, or Removed |
---|---|---|
Dump core on permanent error (debug option) | (Supported in all MySQL 8.0 based releases) |
|
Directory where character sets are | (Supported in all MySQL 8.0 based releases) |
|
Name of database in which table is found | (Supported in all MySQL 8.0 based releases) |
|
Drop source table after all rows have been moved | (Supported in all MySQL 8.0 based releases) |
|
Insert random temporary errors (testing option) | (Supported in all MySQL 8.0 based releases) |
|
Ignore extra columns in source or target table | (Supported in all MySQL 8.0 based releases) |
|
Allow attribute data to be truncated when converted to smaller type | (Supported in all MySQL 8.0 based releases) |
|
Allow attribute data to be converted to larger type | (Supported in all MySQL 8.0 based releases) |
|
Specify tries on temporary errors; format is x[,y[,z]] where x=max tries (0=no limit), y=min delay (ms), z=max delay (ms) | (Supported in all MySQL 8.0 based releases) |
|
Enable verbose messages | (Supported in all MySQL 8.0 based releases) |
Command-Line Format | --abort-on-error |
---|---|
Type | Boolean |
Default Value | FALSE |
Dump core on permanent error (debug option).
Command-Line Format | --character-sets-dir=name |
---|---|
Type | String |
Default Value | [none] |
Directory where character sets are.
Command-Line Format | --database=dbname |
---|---|
Type | String |
Default Value | TEST_DB |
Name of the database in which the table is found.
Command-Line Format | --drop-source |
---|---|
Type | Boolean |
Default Value | FALSE |
Drop source table after all rows have been moved.
Command-Line Format | --error-insert |
---|---|
Type | Boolean |
Default Value | FALSE |
Insert random temporary errors (testing option).
Command-Line Format | --exclude-missing-columns |
---|---|
Type | Boolean |
Default Value | FALSE |
Ignore extra columns in source or target table.
Command-Line Format | --lossy-conversions |
---|---|
Type | Boolean |
Default Value | FALSE |
Allow attribute data to be truncated when converted to a smaller type.
Command-Line Format | --promote-attributes |
---|---|
Type | Boolean |
Default Value | FALSE |
Allow attribute data to be converted to a larger type.
Command-Line Format | --staging-tries=x[,y[,z]] |
---|---|
Type | String |
Default Value | 0,1000,60000 |
Specify tries on temporary errors. Format is x[,y[,z]] where x=max tries (0=no limit), y=min delay (ms), z=max delay (ms).
Command-Line Format | --verbose |
---|---|
Type | Boolean |
Default Value | FALSE |
Enable verbose messages.