Add monitoring for per-query memory usage
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 29
- Forks
- 46
- Avg merge
- 12h 51m
- Merged PRs (30d)
- 17
Description
I'd like to see a graph for TiDB that shows per-query memory usage (avg, p90, p99, etc.). I think it would be very helpful to know if there are a lot of queries using very large amounts of memory. This would help us avoid tidb-server OOM.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository's TiDB monitoring and dashboard entry points, then determine whether per-query memory metrics already exist. Define the graph's average, p90, and p99 measures and verify that the completed monitoring view exposes them clearly enough to identify queries contributing to tidb-server OOM risk.
Written by the indexing model from the issue text.
Assessment
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100