Bug #56153 DELETE + JOIN is extremely slow if one table has >2 GB of binary data
Submitted: 20 Aug 2010 17:34 Modified: 23 Oct 2010 9:56
Reporter: Craig Holmquist Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S5 (Performance)
Version:5.0.87 OS:Windows (XP SP3 32-bit)
Assigned to: CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[20 Aug 2010 17:35] Craig Holmquist
Test script

Attachment: slowdelete.py (text/plain), 1.54 KiB.

[24 Aug 2010 13:22] Craig Holmquist
INI file

Attachment: my.ini (application/octet-stream, text), 206 bytes.

[24 Aug 2010 13:23] Craig Holmquist
EXPLAIN results for SELECT in script

Attachment: select-explain.csv (application/vnd.ms-excel, text), 270 bytes.

[25 Aug 2010 12:50] Craig Holmquist
EXPLAIN results for SELECT with t2.*

Attachment: select-explain-t2all.csv (application/vnd.ms-excel, text), 249 bytes.