microsoft / microsoft/vscode-pgsql
Query plan visualizer shows total instead of self for Buffer Hits
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
Description
Describe the bug
The Tree View has an option to show the node's values (Self) instead of cumulative (Total) but it doesn't work for all metrics.
Buffer Hits Self:
They show the cumulative total. Should be like Buffers - node's self value
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
Reproduce the issue in the query plan Tree View by selecting Buffer Hits and switching from Total to Self. Trace the metric handling for Buffer Hits versus Buffers, then verify that Self displays the node's own value rather than the cumulative total and that Total remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, vscode
- Domain
- data-visualization, databases, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100