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

Feature Request: Additional table and index metrics #17569

Open
rafer opened this issue Jan 18, 2025 · 0 comments
Open

Feature Request: Additional table and index metrics #17569

rafer opened this issue Jan 18, 2025 · 0 comments
Labels
Needs Triage This issue needs to be correctly labelled and triaged

Comments

@rafer
Copy link
Contributor

rafer commented Jan 18, 2025

Feature Description

Add metrics to vttablet for the following:

  • TableRows (by table) - The estimated number of rows in the table
  • TableClusteredIndexSize (by table) - The size of the clustered index (i.e. the size of the "row data")
  • IndexCardinality (by index) - The estimated number of unique values in the index
  • IndexBytes (by index) - The size of the index

Use Case(s)

These metrics are handy to have to keep an eye on tables/indexes over time. These can be loaded from mysql system tables on the tablets and published as metrics from vttablet.

@rafer rafer added the Needs Triage This issue needs to be correctly labelled and triaged label Jan 18, 2025
@rafer rafer changed the title Feature Request: Feature Request: Additional table and index metrics Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage This issue needs to be correctly labelled and triaged
Projects
None yet
Development

No branches or pull requests

1 participant