Documentation Home
MySQL 5.6 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 31.6Mb
PDF (A4) - 31.6Mb
PDF (RPM) - 30.7Mb
HTML Download (TGZ) - 7.6Mb
HTML Download (Zip) - 7.7Mb
HTML Download (RPM) - 6.6Mb
Man Pages (TGZ) - 189.4Kb
Man Pages (Zip) - 303.9Kb
Info (Gzip) - 2.9Mb
Info (Zip) - 2.9Mb
Excerpts from this Manual

MySQL 5.6 Reference Manual  /  ...  /  ndb_move_data — NDB Data Copy Utility

18.4.15 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 18.4.29, “Options Common to NDB Cluster Programs — Options Common to NDB Cluster Programs”.

Table 18.95 This table describes command-line options for the ndb_move_data program

Format Description Added or Removed

--abort-on-error

Dump core on permanent error (debug option)

All MySQL 5.6 based releases

--character-sets-dir=name

Directory where character sets are

All MySQL 5.6 based releases

--database=dbname,

-d

Name of the database in which the table is found

All MySQL 5.6 based releases

--drop-source

Drop source table after all rows have been moved

All MySQL 5.6 based releases

--error-insert

Insert random temporary errors (testing option)

All MySQL 5.6 based releases

--exclude-missing-columns

Ignore extra columns in source or target table

All MySQL 5.6 based releases

--lossy-conversions,

-l

Allow attribute data to be truncated when converted to a smaller type

All MySQL 5.6 based releases

--promote-attributes,

-A

Allow attribute data to be converted to a larger type

All MySQL 5.6 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)

All MySQL 5.6 based releases

--verbose

Enable verbose messages

All MySQL 5.6 based releases


  • --abort-on-error

    Command-Line Format--abort-on-error
    Permitted ValuesTypeboolean
    DefaultFALSE

    Dump core on permanent error (debug option).

  • --character-sets-dir=name

    Command-Line Format--character-sets-dir=name
    Permitted ValuesTypestring
    Default[none]

    Directory where character sets are.

  • --database=dbname, -d

    Command-Line Format--database=dbname
    Permitted ValuesTypestring
    DefaultTEST_DB

    Name of the database in which the table is found.

  • --drop-source

    Command-Line Format--drop-source
    Permitted ValuesTypeboolean
    DefaultFALSE

    Drop source table after all rows have been moved.

  • --error-insert

    Command-Line Format--error-insert
    Permitted ValuesTypeboolean
    DefaultFALSE

    Insert random temporary errors (testing option).

  • --exclude-missing-columns

    Command-Line Format--exclude-missing-columns
    Permitted ValuesTypeboolean
    DefaultFALSE

    Ignore extra columns in source or target table.

  • --lossy-conversions, -l

    Command-Line Format--lossy-conversions
    Permitted ValuesTypeboolean
    DefaultFALSE

    Allow attribute data to be truncated when converted to a smaller type.

  • --promote-attributes, -A

    Command-Line Format--promote-attributes
    Permitted ValuesTypeboolean
    DefaultFALSE

    Allow attribute data to be converted to a larger type.

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

    Command-Line Format--staging-tries=x[,y[,z]]
    Permitted ValuesTypestring
    Default0,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).

  • --verbose

    Command-Line Format--verbose
    Permitted ValuesTypeboolean
    DefaultFALSE

    Enable verbose messages.


User Comments
Sign Up Login You must be logged in to post a comment.