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

Collect index statistics in a system table #308

Open
Ngalstyan4 opened this issue Apr 5, 2024 · 0 comments
Open

Collect index statistics in a system table #308

Ngalstyan4 opened this issue Apr 5, 2024 · 0 comments

Comments

@Ngalstyan4
Copy link
Contributor

It would be good to have a GUC-gated flag that enables statistics collection on index usage patterns in a systems table (e.g. table with schema lantern.index_usage_statistics(indexoid OID, tableoid OID, indexdef TEXT, ...metrics);
In particular, it would be good to collect the following for each index:

  • Average number of graph nodes traversed per search
  • Average memory usage per search
  • Read amplification (number of bytes read from DB index pages over number of bytes necessary for hnsw graph traversal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant