Single transactions makes it faster? Weird, but it's good to have it not to lock up everything.

This commit is contained in:
Fabio Woxxy
2011-09-17 17:26:15 +02:00
parent c75383bc33
commit 9c3316f1f2

View File

@ -4,7 +4,7 @@
# Under a MIT license
# dump all databases
mysqldump --quick --user=youruser --password=yourpassword --all-databases > ~/all-databases.sql
mysqldump --quick --user=youruser --password=yourpassword --single-transaction --all-databases > ~/all-databases.sql
if [ $1 != month ]
then