microsoft / microsoft/vscode-pgsql

Query plan visualizer shows total instead of self for Buffer Hits

Open
#292 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

Image

They show the cumulative total. Should be like Buffers - node's self value

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.