caozj1011 opened a new pull request, #11220: URL: https://github.com/apache/iotdb/pull/11220
## Description This PR has three optimizations: 1. The naming format of the compression Ratio file is changed from `Ratio-compressRatio-flushCount`to `ratio -totalMemoryDataSize-totalDiskDataSize` 2. The rule for calculating the compression ratio from the `sum(memTableSize/flushSize) / count(flushTimes)` to ` totalMemoryDataSize / totalDiskDataSize ` 3. Add the `memTableSize` deduplication logic. If no deduplication is performed, the compression ratio calculated is very large, resulting in inaccurate estimation of the combined memory. Therefore, in flush encode, if data is duplicated, the size of the duplicate is removed from `memTableSize`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
