Optimising a dump : Mysqldump : MySQL Utilities MySQL TUTORIALS


MySQL TUTORIALS » MySQL Utilities » Mysqldump »

 

Optimising a dump


'--opt' is used override the mysql server's normal method of reading the whole result set into memory giving a faster dump.

c:mysqlbinmysqldump -u root -p --opt myDatabase > myDatabase.sql

'-a' or '-all' (either will do) optimises the dump by creating mysql specific CREATE statements that speeds up the restore:

c:mysqlbinmysqldump -u root -p --all myDatabase > myDatabase.sql



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo MySQL Utilities
» Mysqldump