可以考虑用LOAD DATA INFILE来导入数据,你看看下面两个链接,也许对你有帮助!When loading a table from a text file, use LOAD DATA INFILE. This is usually 20 times faster than using INSERT statements. See Section 13.2.5, “LOAD DATA INFILE Syntax”. http://dev.mysql.com/doc/refman/5.0/en/insert-speed.html
http://dev.mysql.com/doc/refman/5.0/en/load-data.html