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

Record clustered index in index usage #55601

Closed
YangKeao opened this issue Aug 23, 2024 · 0 comments · Fixed by #55602
Closed

Record clustered index in index usage #55601

YangKeao opened this issue Aug 23, 2024 · 0 comments · Fixed by #55602
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@YangKeao
Copy link
Member

Enhancement

Now, only a nonclustered primary key is recorded in the index usage. For a clustered index (which is usually read through TableReaderExecutor), it's not recorded. It'd also helpful to include the statistics for the clustered index in the index usage, because it can help the user to decide whether the current nonclustered primary key is good (though altering it is hard).

@YangKeao YangKeao added the type/enhancement The issue or PR belongs to an enhancement. label Aug 23, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in edf1001 Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant