-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.report/customerCustomers have encountered this bug.Customers have encountered this bug.sig/plannerSIG: PlannerSIG: Plannertype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Enhancement
In a Recommend Index statement, for all related DBs in the queries, it will fetch all the table metadata in those DBs. When there are a lot of queries (1000 by default) or the user has lots of tables, this process costs many resources and time, especially with infoschema v2 now.
What's worse, during this process, there is no checkpoint for the timeout option or kill signal, so the user is not able to kill it, and the timeout option is also ineffective.
Metadata
Metadata
Assignees
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.report/customerCustomers have encountered this bug.Customers have encountered this bug.sig/plannerSIG: PlannerSIG: Plannertype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.