时间:2021-07-01 10:21:17 帮助过:15人阅读
输出信息模式, 0 = silent, 1 = errors, 2 = warnings, 3 = info, 默认为2
- myloader --helpUsage:
- myloader [OPTION...] multi-threaded MySQL loader
- Help Options: -?, --help Show help options Application Options: -d, --directory Directory of the dump to import之前备份好的现在需要导入的文件夹
- -q, --queries-per-transaction Number of queries per transaction, default 1000每次事物执行的查询数量,默认是1000
- -o, --overwrite-tables Drop tables if they already exist如果要恢复的表存在,则先drop掉该表,使用该参数,需要备份时候要备份表结构
- -B, --database An alternative database to restore into还原到指定的数据库
- -s, --source-db Database to restore选择被还原的数据库,将这个数据库数据还原到--database指定的数据库里
- -e, --enable-binlog Enable binary logging of the restore data启用还原数据的二进制日志
- -h, --host 连接的主机名
- -u, --user 用来备份的用户名
- -p, --password 用户密码
- -P, --port 连接端口
- -S, --socket 使用socket通信时的socket文件
- -t, --threads 开启的备份线程数,默认是4
- -C, --compress-protocol 压缩与mysql通信的数据
- -V, --version 显示版本号
- -v, --verbose
以上就是myloader原理的实例讲解的详细内容,更多请关注Gxl网其它相关文章!