Bug #91585 | “dead” code inside the stored proc or function can significantly slow it down | ||
---|---|---|---|
Submitted: | 10 Jul 2018 1:16 | Modified: | 10 Jul 2018 9:39 |
Reporter: | Alexander Rubin | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S5 (Performance) |
Version: | 5.7, 8.0, 8.0.11, 5.7.23 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | performance, stored function, stored procedure, trigger |
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
[10 Jul 2018 1:18]
Alexander Rubin