-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Add more memory tracking places to improve memory management #33877
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Comments
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 19, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 21, 2022
12 tasks
espresso98
pushed a commit
to espresso98/tidb
that referenced
this issue
Apr 25, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 5, 2022
This was referenced May 17, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 23, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Jun 6, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Jun 7, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Jul 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement
There are a lot of known untracked memory at the moment. We plan to track them now!
Untracked memory in HashJoin
entryStore
in hashMap executor: add some memory tracker in HashJoin #33918tidb/executor/hash_table.go
Line 115 in e21b435
hashRowContainer.GetMatchedRowsAndPtrs --> RowContainer.GetRow --> ListInDisk.GetRow --> diskFormatRow.toMutRow
util: optimize the memory usage of the read path for listInDisk #34778Untracked memory in Sort
rowPtrs
in SortedRowContainer, which record the position of each row of data in the Chunk util: track the memory usage of rowPtrs in sortedRowContainer #34128Untracked memory in Spilling process, eg. ListInDisk structTrack the memory usage ofoffsets
in ListInDisk, which record the offsets of each row in the fileoffsets
memory usages. For example, we can also spilloffsets
into disk. util: support spill offset into disk when spilling #34212Untracked memory in IndexJoin/IndexHashJoin
Refactor rateLimit for TableReader
Track aggregate memory usage more accurate executor: track the memory usage of aggregate more accurate #34732
Parallel HashAgg needs spill to disk
The text was updated successfully, but these errors were encountered: