This is an automated email from the ASF dual-hosted git repository.

shuwenwei pushed a commit to branch table_disk_usage_statistics_with_cache
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to 
refs/heads/table_disk_usage_statistics_with_cache by this push:
     new 79b1bb9292a add config
79b1bb9292a is described below

commit 79b1bb9292a230a4ef698080315de209466ede7b
Author: shuwenwei <[email protected]>
AuthorDate: Tue Feb 3 17:27:22 2026 +0800

    add config
---
 .../main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java    | 10 ++++++++++
 .../assembly/resources/conf/iotdb-system.properties.template   |  5 +++++
 2 files changed, 15 insertions(+)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index 6730138b2af..3322158c3e5 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -2208,6 +2208,16 @@ public class IoTDBDescriptor {
         conf.setMaxRowsInCteBuffer(maxRowsInCteBuffer);
       }
 
+      // max sub-task num for information table scan
+      int maxSubTaskNumForInformationTableScan =
+          Integer.parseInt(
+              properties.getProperty(
+                  "max_sub_task_num_for_information_table_scan",
+                  
Integer.toString(conf.getMaxSubTaskNumForInformationTableScan())));
+      if (maxSubTaskNumForInformationTableScan > 0) {
+        conf.setMaxRowsInCteBuffer(maxSubTaskNumForInformationTableScan);
+      }
+
     } catch (Exception e) {
       if (e instanceof InterruptedException) {
         Thread.currentThread().interrupt();
diff --git 
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
 
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
index c3b03040e8f..b55f9c1722c 100644
--- 
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
+++ 
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
@@ -832,6 +832,11 @@ io_task_queue_size_for_flushing=10
 # Datatype: bool
 enable_query_memory_estimation=true
 
+# max sub task num for InformationTableScan
+# effectiveMode: hot_reload
+# Datatype: int
+max_sub_task_num_for_information_table_scan=4
+
 ####################
 ### Schema Engine Configuration
 ####################

Reply via email to