Skip to content

[IOTDB-5763] Optimize the memory estimate for INTO operations#9565

Merged
JackieTien97 merged 4 commits intomasterfrom
lmh/FixIntoMem
Apr 12, 2023
Merged

[IOTDB-5763] Optimize the memory estimate for INTO operations#9565
JackieTien97 merged 4 commits intomasterfrom
lmh/FixIntoMem

Conversation

@liuminghui233
Copy link
Copy Markdown
Member

@liuminghui233 liuminghui233 commented Apr 9, 2023

Description

When estimating the memory required for an INTO operation, always estimate the select_into_insert_tablet_plan_row_limit row data. When the number of sequences is large, a very scary memory size will be estimated.

Now, we introduce into_operation_buffer_size_in_byte to limit the maximum memory for INTO operations, and the maximum number of rows written will be dynamically adjusted.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 9, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@JackieTien97 JackieTien97 merged commit 40f00c6 into master Apr 12, 2023
@JackieTien97 JackieTien97 deleted the lmh/FixIntoMem branch April 12, 2023 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants