Bug #43757 | A function that returns the memory requirement of repairing a given MyISAM file | ||
---|---|---|---|
Submitted: | 19 Mar 2009 19:01 | Modified: | 4 Nov 2009 17:12 |
Reporter: | Serdar S. Kacar | Email Updates: | |
Status: | Open | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution, myisam_sort_buffer_size, MyISAMchk, myisampack, repair table, sort_buffer_size |
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
[19 Mar 2009 19:03]
Serdar S. Kacar
[23 Mar 2009 6:00]
Shane Bester
I wrote a similar code to help find min value needed for myisam_max_sort_file_size (chng all test and table0 for real vals)
Attachment: get_max_sort_file_size.sql (application/unknown, text), 2.27 KiB.