Bug #59093 | LOAD DATA hangs after millions of rows inserted | ||
---|---|---|---|
Submitted: | 21 Dec 2010 16:24 | Modified: | 21 Jul 2012 20:49 |
Reporter: | Michael Vitale | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.1.48, 5.5.8 | OS: | Linux (Centos 5.5 Final) |
Assigned to: | CPU Architecture: | Any | |
Tags: | LOAD DATA |
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
[31 Jan 2011 12:44]
Michael Vitale