MYSQL Insert Huge SQL Files of GB in Size
问题 I'm trying to create a Wikipedia DB copy (Around 50GB), but having problems with the largest SQL files. I've split the files of size in GB using linux split utility into chunks of 300 MB. e.g. split -d -l 50 ../enwiki-20070908-page page.input. On average 300MB files take 3 hours at my server. I've ubuntu 12.04 server OS and Mysql 5.5 Server. I'm trying like following: mysql -u username -ppassword database < category.sql Note: these files consist of Insert statements and these are not CSV