Bug #111654 | Memory usage increasing with truncate | ||
---|---|---|---|
Submitted: | 4 Jul 2023 10:33 | Modified: | 5 Jul 2023 4:22 |
Reporter: | Vikrant Kumar | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S5 (Performance) |
Version: | 8.0.31 | OS: | Any (Mac, Alpine docker image) |
Assigned to: | CPU Architecture: | Any (Arm 64) | |
Tags: | Memorey leak, memory consumption, procedure call, truncate, truncate table |
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