Bug #97709 MySQL 8 Select Count(*) is very slow
Submitted: 20 Nov 2019 13:03 Modified: 7 Jan 2020 14:37
Reporter: Vivek Texeira Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S5 (Performance)
Version:8.0.17 OS:Ubuntu (Ubuntu 18.04.1 LTS)
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:

[23 Nov 2019 7:36] Vivek Texeira
My Instance

Attachment: Screenshot from 2019-11-23 13:04:47.png (image/png, text), 128.18 KiB.

[22 May 2020 13:11] Peter Frederiksen
photos.csv

Attachment: photos.csv (application/vnd.ms-excel, text), 626.47 KiB.

[16 Sep 2021 3:22] Jesse Redl
Here is the optimizer trace of the above query.

Attachment: optimzer.txt (text/plain), 19.67 KiB.