Skip to content

[fix](move-memtable) exclude memtable insert memory in query tracker#27953

Merged
dataroaring merged 1 commit intoapache:masterfrom
kaijchen:delta-v2-tracker
Dec 5, 2023
Merged

[fix](move-memtable) exclude memtable insert memory in query tracker#27953
dataroaring merged 1 commit intoapache:masterfrom
kaijchen:delta-v2-tracker

Conversation

@kaijchen
Copy link
Member

@kaijchen kaijchen commented Dec 4, 2023

Proposed changes

Memtable insert is processed in the same thread with sink v2,
causing mem usage being tracked in query tracker.

This PR excludes memtable insert memory in query tracker.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@kaijchen
Copy link
Member Author

kaijchen commented Dec 4, 2023

run buildall

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2023

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2023

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2023

PR approved by anyone and no changes requested.

Copy link

@wm1581066 wm1581066 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.6 seconds
stream load tsv: 567 seconds loaded 74807831229 Bytes, about 125 MB/s
stream load json: 18 seconds loaded 2358488459 Bytes, about 124 MB/s
stream load orc: 66 seconds loaded 1101869774 Bytes, about 15 MB/s
stream load parquet: 34 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select: 29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size: 17167090660 Bytes

@dataroaring dataroaring merged commit fd2e60a into apache:master Dec 5, 2023
@kaijchen kaijchen deleted the delta-v2-tracker branch July 31, 2025 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants