Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support One-Click SQL Binding #781

Closed
breezewish opened this issue Oct 29, 2020 · 3 comments
Closed

Support One-Click SQL Binding #781

breezewish opened this issue Oct 29, 2020 · 3 comments

Comments

@breezewish
Copy link
Member

Feature Request

Is your feature request related to a problem? Please describe:

Now it is not easy to bind plans for a statement.

Describe the feature you'd like:

After pingcap/tidb#18811 is implemented, the UI can be implemented in TiDB Dashboard that user can simply click a button to finish the plan binding.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@iosmanthus
Copy link

There are two proposals coming out of my head:

  1. We could just add a single checkbox named Stick on this plan to Execution Detail/Execution Plan:
    image. Users could just click this checkbox to bind to plan shown in the page.

  2. Or we could show a checkbox list that contains the plan history including execution hints(execution time, etc) of the SQL. Users could select a plan that seems fast instead of try to find out which plan is the 'fast' one and try to rebind that plan.

@breezewish breezewish assigned iosmanthus and unassigned baurine Nov 11, 2020
@SabaPing SabaPing assigned SabaPing and unassigned iosmanthus Jan 29, 2023
@SabaPing
Copy link
Contributor

Plan to release on v6.6.0.

@SabaPing
Copy link
Contributor

SabaPing commented Feb 9, 2023

Done by #1473.

@SabaPing SabaPing closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants