Bug #61133 | Master -> Slave : duplicate key error after running fine for days | ||
---|---|---|---|
Submitted: | 11 May 2011 13:29 | Modified: | 20 Dec 2012 20:55 |
Reporter: | Thomas Förster | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.5.10 | OS: | Linux (SuSE Linux Enterprise 11.1) |
Assigned to: | CPU Architecture: | Any | |
Tags: | 1062, break, duplicate key, mass insert, replication |
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