Slow Import of Large MySQL Dump

2011-07-29T01:21:45

I'm trying to import a very large MySQL dump file into a new MySQL server. However, after a certain point, it seems to bog down. I'm about 250M rows in, and it's taking over 10-12 seconds to run even a single line of the dump. It seems to hang on "update".

Am I missing something I should do to make this import go faster? It's a pretty beefy server so I don't think it's the I/O..

Copyright License:
Author:「Michael Sweetser」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/6863024/slow-import-of-large-mysql-dump

About “Slow Import of Large MySQL Dump” questions

I'm trying to import a very large MySQL dump file into a new MySQL server. However, after a certain point, it seems to bog down. I'm about 250M rows in, and it's taking over 10-12 seconds to run...
I have a Laragon set up and have a 17G mysql dump to be imported to mysql. Since phpMyAdmin doesn't support such large file imports, is there a way to import such a large dump?
I dumped a large database into a SQL file that contains large BLOB attachments for a table. When doing the dump I turned on hex-blobs, and I've done this dump many times before without any problems...
After digging many post and doing many R&D on the import process, I didn't find any such solution which can import a large database (Around 15GB+) quickly. What I tried: 1) Used compressed da...
How can I import a large (14 GB) MySQL dump file into a new MySQL database?
How can I import a large (14 GB) MySQL dump file into a new MySQL database?
Hi i would like to import a large mysql dump file into localhost maria db...but found this error my command is just like so mysql -u root -p dbname < dumpfile.sql
I have mysql dump called dbBACKUP.sql about 152 MB. It has thousands of records. I use the following command to import it: mysql -u root -p --default-character-set=utf8 phpbb3 < dbBACKUP.sql A...
I have a MySQL 4 dump file named booster.dump that is 30MB in size. I want to import this file to a MySQL 5 server. I try it by using phpMyAdmin. But it doesn't upload. It shows an error: size i...
Let's suppose I have large MySql dump which I want to import to a specific database. I could use mysql -D bar --one-database < foo.mysql foo.mysql has a use foo; somewhere. This command is

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.