您可以在Eclipse中分割一个大文件。我已经在Windows中成功尝试了105GB的文件:
只需将MySQLDumpSplitter库添加到您的项目中:http ://dl.bintray.com/verace/MySQLDumpSplitter/jar/
关于如何导入的快速说明:
- In Eclipse, Right click on your project --> Import
- Select "File System" and then "Next"
- Browse the path of the jar file and press "Ok"
- Select (thick) the "MySQLDumpSplitter.jar" file and then "Finish"
- It will be added to your project and shown in the project folder in Package Explorer in Eclipse
- Double click on the jar file in Eclipse (in Package Explorer)
- The "MySQL Dump file splitter" window opens which you can specify the address of your dump file and proceed with split.