Rechercher dans le manuel MySQL
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 22.4.31, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.
Table 22.347 Command-line options for the ndb_move_data program
Format | Description | Added, Deprecated, or Removed |
---|---|---|
Dump core on permanent error (debug option) | All NDB 8.0 releases |
|
Directory where character sets are | All NDB 8.0 releases |
|
Name of the database in which the table is found | All NDB 8.0 releases |
|
Drop source table after all rows have been moved | All NDB 8.0 releases |
|
Insert random temporary errors (testing option) | All NDB 8.0 releases |
|
Ignore extra columns in source or target table | All NDB 8.0 releases |
|
Allow attribute data to be truncated when converted to a smaller type | All NDB 8.0 releases |
|
Allow attribute data to be converted to a larger type | All NDB 8.0 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) | All NDB 8.0 releases |
|
Enable verbose messages | All NDB 8.0 releases |
-
Property Value Command-Line Format --abort-on-error
Type Boolean Default Value FALSE
Dump core on permanent error (debug option).
-
Property Value Command-Line Format --character-sets-dir=name
Type String Default Value [none]
Directory where character sets are.
-
Property Value Command-Line Format --database=dbname
Type String Default Value TEST_DB
Name of the database in which the table is found.
-
Property Value Command-Line Format --drop-source
Type Boolean Default Value FALSE
Drop source table after all rows have been moved.
-
Property Value Command-Line Format --error-insert
Type Boolean Default Value FALSE
Insert random temporary errors (testing option).
-
Property Value Command-Line Format --exclude-missing-columns
Type Boolean Default Value FALSE
Ignore extra columns in source or target table.
-
Property Value Command-Line Format --lossy-conversions
Type Boolean Default Value FALSE
Allow attribute data to be truncated when converted to a smaller type.
-
Property Value Command-Line Format --promote-attributes
Type Boolean Default Value FALSE
Allow attribute data to be converted to a larger type.
-
Property Value 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).
-
Property Value Command-Line Format --verbose
Type Boolean Default Value FALSE
Enable verbose messages.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-mysql-cluster-programs-ndb-move-data.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.