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

Tracking issue for heuristic rules enhancement for index selection #26020

Closed
8 tasks done
winoros opened this issue Jul 7, 2021 · 15 comments
Closed
8 tasks done

Tracking issue for heuristic rules enhancement for index selection #26020

winoros opened this issue Jul 7, 2021 · 15 comments
Labels
sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.

Comments

@winoros
Copy link
Member

winoros commented Jul 7, 2021

Enhancement

This issue tracks the status of the heuristic rules used for index selection to pruning some indexes by rule. This can help TiDB avoid choosing some wrong indexes by the out-date/not-good statistics.

Follow ups:

@winoros winoros added the type/enhancement The issue or PR belongs to an enhancement. label Jul 7, 2021
@tisonkun
Copy link
Contributor

tisonkun commented Jul 9, 2021

Hello @winoros ! We published a planning for TiDB v5.2 development cycle. Is this feature to be included? If so, would you mind to comment on the thread so that the author can update information?

@xuyifangreeneyes
Copy link
Contributor

/sig planner

@tisonkun
Copy link
Contributor

@xuyifangreeneyes @winoros do we briefly describe todo items or draft a proposal? What heuristic rules we'd like to implement? Is there a framework already or we will introduce a framework at first.

@xuyifangreeneyes
Copy link
Contributor

@xuyifangreeneyes @winoros do we briefly describe todo items or draft a proposal? What heuristic rules we'd like to implement? Is there a framework already or we will introduce a framework at first.

Here is a design doc.

@tisonkun
Copy link
Contributor

@xuyifangreeneyes can we make a proposal follow design doc process?

@tisonkun
Copy link
Contributor

Also this document is private that cannot be accessed.

@xuyifangreeneyes
Copy link
Contributor

Also this document is private that cannot be accessed.

sorry, check the link: https://docs.google.com/document/d/1pzm6LV7jbPK2oPCMFe-iEUXu7Jf7R5cvaSq9Lgo-a1U/edit?usp=sharing

@xuyifangreeneyes
Copy link
Contributor

@xuyifangreeneyes can we make a proposal follow design doc process?

Sure, I will write one.

@tisonkun
Copy link
Contributor

@xuyifangreeneyes is there any schedule to push a design document? At least I think @winoros or you can create a subtask for it now.

@xuyifangreeneyes
Copy link
Contributor

@xuyifangreeneyes is there any schedule to push a design document? At least I think @winoros or you can create a subtask for it now.

@tisonkun I write a design document #27223. I doesn't have the access to modify the tracking issue. Maybe @winoros or you can update the tracking issue? The untracked PR list as following:

@tisonkun
Copy link
Contributor

@xuyifangreeneyes thanks for your information. Updated.

@tisonkun
Copy link
Contributor

@xuyifangreeneyes please check whether we can close this issue as all tasks done.

@xuyifangreeneyes
Copy link
Contributor

@xuyifangreeneyes please check whether we can close this issue as all tasks done.

There is another open pr #27527 related to skyline pruning. IMHO we can close the issue after the pr is merged.

@tisonkun
Copy link
Contributor

@xuyifangreeneyes thanks! Updated the information on issue description. I do think @github should enable contributors to associate/create subtasks >_<

@tisonkun
Copy link
Contributor

tisonkun commented Jan 6, 2022

Closed as #27527 merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

4 participants