文档中心MogDBMogDB StackUqbar

文档:v2.0

支持的版本:

mtk sync-nickname

迁移DB2 Nickname.

Synopsis

迁移DB2 Nickname.

mtk sync-nickname [flags]

Options

  -h, --help   help for sync-nickname

Options inherited from parent commands

      --caseSensitive int       SQL语句中的对象大小写参数.
                                1 - 小写 
                                2 - 大写 
                                3 - 保持与源数据库相同.
  -c, --config string           设置MTK配置文件。支持json、yaml格式. [env MTK_CONFIG] (default "mtk.json")
  -d, --debug                   设置调试模式.
                                正常使用不需要此选项. [env MTK_DEBUG]
      --disableIgnoreCase       禁用查询忽略大小写
      --enableSyncCompTabPro    启用同步表压缩属性
      --file                    导出成文件
      --fileType string         指定导出的文件类型。
                                支持csv、sql
      --license string          Specify the license file
      --noTerminalReport        终端不打印迁移报告概览
  -p, --parallel int            指定并行度. 
                                并行度目前仅在并行迁移表数据和创建索引时有用. (default 1)
      --path string             指定要导出数据的文件的目录。
                                默认值为 config.target.parameter.path。如果不配置,系统默认值./data
                                命令值 > 配置值 > MTK 默认值
      --preRun                  预运行.
  -r, --reportFile string       设置 mtk 报告文件或目录。如果是文件,则使用文件目录。
                                默认值为 ./report
                                报告目录格式 [./report/reportYYYYMMDDHHMISS] ./report/report20210101121314
      --schemas string          迁移模式, 以逗号分隔. (schema1,schema2,db1)
      --tableSkip stringArray   指定表拆分条件,允许指定多少. 
                                format schema.tableName --tableSkip MTK.TABLE01 --tableSkip MTK.TABLE02
      --tables string           迁移表, 以逗号分隔. (tab1,schema1.tab1)

SEE ALSO

  • mtk - 数据库迁移工具
Copyright © 2011-2024 www.enmotech.com All rights reserved.