MySQL 5.7 Reference Manual Including MySQL NDB Cluster 7.5 and NDB Cluster 7.6

20.4.16 ndb_move_data — NDB Data Copy Utility

ndb_move_data copies data from one NDB table to another.

Usage

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_data options 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 20.4.32, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.

Table 20.35 Command-line options for the ndb_move_data program

Format Description Added, Deprecated, or Removed

--abort-on-error

Dump core on permanent error (debug option)

(Supported in all MySQL 5.7 based releases)

--character-sets-dir=name

Directory where character sets are

(Supported in all MySQL 5.7 based releases)

--database=dbname,

-d

Name of database in which table is found

(Supported in all MySQL 5.7 based releases)

--drop-source

Drop source table after all rows have been moved

(Supported in all MySQL 5.7 based releases)

--error-insert

Insert random temporary errors (testing option)

(Supported in all MySQL 5.7 based releases)

--exclude-missing-columns

Ignore extra columns in source or target table

(Supported in all MySQL 5.7 based releases)

--lossy-conversions,

-l

Allow attribute data to be truncated when converted to smaller type

(Supported in all MySQL 5.7 based releases)

--promote-attributes,

-A

Allow attribute data to be converted to larger type

(Supported in all MySQL 5.7 based releases)

--staging-tries=x[,y[,z]]

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 5.7 based releases)

--verbose

Enable verbose messages

(Supported in all MySQL 5.7 based releases)