jt2594838 opened a new pull request, #18132:
URL: https://github.com/apache/iotdb/pull/18132

   ## Description
   
   This PR optimizes relational insertTablets handling in the Java Session 
client.
   
   - Add a merge switch for relational tablets in Session builders and pools.
   - Reuse column index maps when checking and merging relational tablets.
   - Avoid unnecessary bitmap creation during merge.
   - Copy tablet data column-by-column with array copy.
   - Auto-disable merge after consecutive misses or when merge overhead is too 
high.
   - Add an ignored integration test for manually comparing insertTablet and 
insertTablets performance as tablet count increases on the same table.
   
   ## Tests
   
   - mvn test -pl iotdb-client/session -am 
"-Dtest=SessionTest#testMergeRelationalTabletsWithHighDuplicatedColumns+testMergeRelationalTabletsSkipLowDuplicatedColumnsAndDifferentTables+testMergeRelationalTabletsStopAfterConsecutiveMisses+testMergeRelationalTabletsResetConsecutiveMissesAfterMerge+testMergeTabletsDisabledWhenMergeCostExceedsHalfOfInsertCost+testMergeTabletsKeepsEnabledWhenMergeCostIsNotTooHigh+testEnableMergeTabletsUsingBuilder"
 "-DfailIfNoTests=false" "-Dsurefire.failIfNoSpecifiedTests=false"
   - mvn test-compile -pl integration-test -am -P with-integration-tests 
-DskipTests "-Drat.skip=true"
   - mvn verify "-DskipUTs" 
"-Dit.test=IoTDBSessionRelationalIT#compareInsertTabletAndInsertTabletsPerformanceWithIncreasingTabletCount"
 "-DfailIfNoTests=false" "-Dfailsafe.failIfNoSpecifiedTests=false" 
"-Drat.skip=true" -pl integration-test -am -PTableSimpleIT -P 
with-integration-tests
   


-- 
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]

Reply via email to