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

Planner: support index advisor - Phase 1 #12303

Closed
zz-jason opened this issue Sep 23, 2019 · 3 comments
Closed

Planner: support index advisor - Phase 1 #12303

zz-jason opened this issue Sep 23, 2019 · 3 comments
Assignees
Labels
feature/accepted This feature request is accepted by product managers priority/P2 The issue has P2 priority. sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement. type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@zz-jason
Copy link
Member

zz-jason commented Sep 23, 2019

Description

Some basic functionality:

  • advising about removing an unused index.
  • advising about adding an index that improves the query performance.

Category

  • Feature
  • Performance
  • Usability

Value

Value Description

Makes TiDB easier to use, reduces the SQL Tunning time during the application testing phase.

Value Score

Optional value: 1~5

  • 4

Workload Estimation

Workload contains coding, documenting, and testing.
1 Point for 1 Person/Work Day

  • 45 Points
@zz-jason zz-jason added the type/enhancement The issue or PR belongs to an enhancement. label Sep 23, 2019
@alivxxx
Copy link
Contributor

alivxxx commented Oct 17, 2019

Currently we are discussing the feature at #wg-index-advisor of community slack, feel free to join and discuss the design docs and working plan there.

@zz-jason zz-jason added sig/planner SIG: Planner type/feature-request Categorizes issue or PR as related to a new feature. labels May 28, 2020
@zz-jason zz-jason changed the title feature request: an index advisor support index advisor May 28, 2020
@scsldb scsldb added the priority/P2 The issue has P2 priority. label Jun 15, 2020
@zz-jason
Copy link
Member Author

With the system view described in #17508, we can know the unused index for each table.

@zz-jason zz-jason added the feature/accepted This feature request is accepted by product managers label Jul 29, 2020
@qw4990 qw4990 closed this as completed Aug 29, 2024
@qw4990 qw4990 reopened this Aug 29, 2024
@qw4990
Copy link
Contributor

qw4990 commented Sep 3, 2024

The new design and implementation, please see
https://github.com/pingcap/tidb_workload_analysis/tree/main/index_advisor.
I'll try to integrate this feature into the Kernel.

ti-chi-bot bot pushed a commit that referenced this issue Sep 23, 2024
ti-chi-bot bot pushed a commit that referenced this issue Sep 25, 2024
@qw4990 qw4990 changed the title support index advisor Planner: support index advisor - Phase 1 Dec 16, 2024
@qw4990 qw4990 closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/accepted This feature request is accepted by product managers priority/P2 The issue has P2 priority. sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement. type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

5 participants