Skip to content

Instantly share code, notes, and snippets.

@tinker1987
Created April 6, 2017 09:54
Show Gist options
  • Save tinker1987/c73e8e6216c257a9dc4aa3feb3340cae to your computer and use it in GitHub Desktop.
Save tinker1987/c73e8e6216c257a9dc4aa3feb3340cae to your computer and use it in GitHub Desktop.
It will show you a progress bar during the import progress based on the IO throughput.
`pv -i 1 -p -t -e /path/to/sql/dump | mysql -u USERNAME -p DATABASE_NAME`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment