Skip to content

reduce memory allocation by refactoring process structure - #17183

Merged
mergify[bot] merged 27 commits into
matrixorigin:mainfrom
badboynt1:proc1
Jun 27, 2024
Merged

mergify[bot] merged 27 commits into
matrixorigin:mainfrom
badboynt1:proc1

Conversation

@badboynt1

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #16656

What this PR does / why we need it:

put common parts of process into BaseProcess
each query share one BaseProcess instance

@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Jun 27, 2024
@badboynt1

Copy link
Copy Markdown
Contributor Author

@badboynt1

Copy link
Copy Markdown
Contributor Author

跑sysbench delete test, process相关的内存分配从2.5%左右,下降到0.2%左右

@m-schen m-schen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@mergify
mergify Bot merged commit 4f7b02b into matrixorigin:main Jun 27, 2024
@badboynt1
badboynt1 deleted the proc1 branch June 27, 2024 10:14
fengttt pushed a commit to fengttt/matrixone that referenced this pull request May 7, 2026
…in#17183)

put common parts of process into BaseProcess
each query share one BaseProcess instance

Approved by: @ouyuanning, @qingxinhome, @m-schen, @aunjgr, @XuPeng-SH, @daviszhen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants