openshift/origin-server — pull request #2891 by fotioslindiakos (2013-06-18 22:49:00+00:00)
Title: Bug 970914 - Mysql big data snapshot restore failed

https://bugzilla.redhat.com/show_bug.cgi?id=970914

Improve snapshot/restore to handle larger databases. These suggestions were taken from [this site][3]

- Allow snapshot to use `--extended-insert` [1]
- Allow snapshot to use `--quick` [2]
- Disable autocommit and some checks during restore

[1]: http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html#option_mysqldump_extended-insert
[2]: http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html#option_mysqldump_quick
[3]: http://vitobotta.com/smarter-faster-backups-restores-mysql-databases-with-mysqldump/#speeding-things-up