Bug #104978 Adding Join Index forces query optimizer to use inefficient execution plan
Submitted: 17 Sep 2021 19:57 Modified: 20 Sep 2021 8:58
Reporter: Dmitrii Naumov Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S5 (Performance)
Version:8.0.26, 5.7.35 OS:Windows
Assigned to: CPU Architecture:Any
Tags: execution plan, INDEX, Optimizer

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 Sep 2021 19:58] Dmitrii Naumov
Select that one can use to test

Attachment: SELECT.sql (application/octet-stream, text), 758 bytes.

[17 Sep 2021 19:58] Dmitrii Naumov
query to create tables

Attachment: CreateTables.sql (application/octet-stream, text), 318 bytes.

[17 Sep 2021 19:59] Dmitrii Naumov
Query to generate DocumentOwner data

Attachment: DocumentOwnerData.sql (application/octet-stream, text), 45.69 KiB.

[17 Sep 2021 20:01] Dmitrii Naumov
Script to generate Document Data Part 1

Attachment: DocumentData.sql (application/octet-stream, text), 2.30 MiB.

[17 Sep 2021 20:02] Dmitrii Naumov
Script to generate Document Data Part 2

Attachment: DocumentData_Part2.sql (application/octet-stream, text), 2.31 MiB.