I'm dumping a database into a file (piping the dump through gzip) and it takes about 2 minutes to create a 300MB dump.sql.gz file.
When loading the file back into MySQL (the dump begins with dropping the tables), the load takes around 30 minutes!!
What can be the reason for such a huge difference in times? Are there any general tips for drastically reducing the load times?
Thanks.