pingcap / pingcap/tidb

Track the memory usage of probe phase in HashJoin.

Open
#35,630 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Track the memory usage of probe phase in HashJoin.
e,g. The memory usage of the matched row. In extreme cases, the memory usage of this part may be the size of the entire hashmap.

https://github.com/pingcap/tidb/blob/e21b435d0c4d538677ede2fd11b4376e22d1615d/executor/hash_table.go#L115

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.