| Bug #66457 | Query Hangs Forever With "Copying to tmp table" After Large LOAD DATA INFILE | ||
|---|---|---|---|
| Submitted: | 19 Aug 2012 16:48 | Modified: | 5 Dec 2013 19:02 |
| Reporter: | Rafael Salomon | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
| Version: | 5.5.23 | OS: | Windows (Server 2003 R2) |
| Assigned to: | Sveta Smirnova | CPU Architecture: | Any |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix> - On windows use WinZip or a similar utility to split the large file
