Bug #108159 A query with user-defined variables always use the table scan.
Submitted: 17 Aug 2022 2:52 Modified: 18 Aug 2022 2:13
Reporter: biao li Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S5 (Performance)
Version:MySQL 8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Optimizer, table scan, User-Defined Variables

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:

[17 Aug 2022 2:53] biao li
optimze trace in MySQL 8.0

Attachment: trace.txt (text/plain), 41.40 KiB.