Skip to content
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

[IOTDB-5276] Turn down the max capacity of tsblock from scanOperator #8599

Merged
merged 7 commits into from
Dec 23, 2022

Conversation

Alima777
Copy link
Contributor

@Alima777 Alima777 commented Dec 23, 2022

In default, pageSizeInByte is 64K, but maxTsBlockSizeInBytes is 1M, which brings much memory pressure since we have reserver memory space for it in advance.
Therefore, I suggest to turn down this config to 128K, which can contain 2 pages at most.

For more detail, refer to https://apache-iotdb.feishu.cn/docx/O5XCdvEHPoDdtNxFHlXcV6xlnoh

@sonarcloud
Copy link

sonarcloud bot commented Dec 23, 2022

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

@Alima777 Alima777 merged commit 4245284 into master Dec 23, 2022
@Alima777 Alima777 deleted the memoryDistribution branch December 23, 2022 15:53
@Alima777 Alima777 changed the title Turn down the max capacity of tsblock from scanOperator [IOTDB-5276] Turn down the max capacity of tsblock from scanOperator Dec 23, 2022
Alima777 added a commit that referenced this pull request Jan 5, 2023
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.

None yet

2 participants