mysqldump是否支持进度条? [英] Does mysqldump support a progress bar?

查看:275
本文介绍了mysqldump是否支持进度条?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在运行mysqldump时,有什么方法可以确定多少备份已完成或剩余多少?

Is there any way to determine, while mysqldump is running, how much of the backup has completed or how much is remaining?

推荐答案

是的,已提交修补程序 2010年3月27日:

Yes, a patch was committed on March 27th, 2010:

此新补丁有一个额外的参数--show-progress-size,该参数由 默认设置为10,000.因此,当使用--verbose时,每10,000 行,您将获得常规状态输出的行数 特定的表已转储.

This new patch has an extra parameter --show-progress-size which by default is set to 10,000. So when --verbose is used, every 10,000 lines you will get a regular status output of the number of rows for a particular table dumped.

因此,请检查您的版本,并根据需要进行更新并享受.

So check your version, update if needed and enjoy.

这篇关于mysqldump是否支持进度条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆