This is an automated email from the ASF dual-hosted git repository.
JackieTien97 pushed a commit to branch rc/2.0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rc/2.0.11 by this push:
new f2968747c10 Tune Edge compaction and TsFile defaults (#18566)
f2968747c10 is described below
commit f2968747c1084d90d682dbb0593fcc715d2dfb19
Author: Jackie Tien <[email protected]>
AuthorDate: Tue Sep 1 22:20:30 2026 +0800
Tune Edge compaction and TsFile defaults (#18566)
(cherry picked from commit 05a97b9110269db196e450ed8bda78633f1455d0)
---
.../org/apache/iotdb/edge/it/IoTDBEdgeBasicIT.java | 19 +++++++++++++++++++
.../resources/conf/edge/iotdb-system.properties | 15 ++++++++++++++-
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git
a/integration-test/src/test/java/org/apache/iotdb/edge/it/IoTDBEdgeBasicIT.java
b/integration-test/src/test/java/org/apache/iotdb/edge/it/IoTDBEdgeBasicIT.java
index 8bfaf3b0ebd..003ed743eb3 100644
---
a/integration-test/src/test/java/org/apache/iotdb/edge/it/IoTDBEdgeBasicIT.java
+++
b/integration-test/src/test/java/org/apache/iotdb/edge/it/IoTDBEdgeBasicIT.java
@@ -195,6 +195,18 @@ public class IoTDBEdgeBasicIT {
@Test
public void testPackagedConfiguration() throws Exception {
assertFalse(PACKAGED_SYSTEM_PROPERTIES.containsKey("model_inference_execution_thread_count"));
+ assertEdgeProperty("candidate_compaction_task_queue_size", "10");
+ assertEdgeProperty("compaction_max_aligned_series_num_in_one_batch", "2");
+ assertEdgeProperty("target_compaction_file_size", "33554432");
+ assertEdgeProperty("inner_compaction_total_file_size_threshold",
"52428800");
+ assertEdgeProperty("inner_compaction_total_file_num_threshold", "10");
+ assertEdgeProperty("inner_compaction_candidate_file_num", "8");
+ assertEdgeProperty("max_cross_compaction_candidate_file_num", "10");
+ assertEdgeProperty("max_cross_compaction_candidate_file_size", "52428800");
+ assertEdgeProperty("target_chunk_point_num", "10000");
+ assertEdgeProperty("target_chunk_size", "262144");
+ assertEdgeProperty("max_number_of_points_in_page", "1000");
+ assertEdgeProperty("page_size_in_byte", "16384");
assertTrue(Files.isRegularFile(edgeHome.resolve("sbin/windows/check-edge.ps1")));
final DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
@@ -217,6 +229,13 @@ public class IoTDBEdgeBasicIT {
}
}
+ private static void assertEdgeProperty(final String name, final String
expectedValue) {
+ assertEquals(
+ "Unexpected packaged Edge value for " + name,
+ expectedValue,
+ PACKAGED_SYSTEM_PROPERTIES.getProperty(name));
+ }
+
private static String jdbcUrl() {
return Config.IOTDB_URL_PREFIX + "127.0.0.1:" + rpcPort;
}
diff --git
a/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
b/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
index 13c87b5295b..69902c87073 100644
---
a/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
+++
b/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
@@ -103,12 +103,25 @@ max_allowed_concurrent_queries=100
# ---- memory / file buffers ----
wal_buffer_size_in_byte=1048576
group_size_in_byte=4194304
-target_compaction_file_size=134217728
+target_chunk_point_num=10000
+target_chunk_size=262144
+page_size_in_byte=16384
+max_number_of_points_in_page=1000
into_operation_buffer_size_in_byte=8388608
batch_size=10000
schema_region_ratis_log_appender_buffer_size_max=4194304
config_node_ratis_log_appender_buffer_size_max=4194304
+# ---- compaction working set ----
+candidate_compaction_task_queue_size=10
+compaction_max_aligned_series_num_in_one_batch=2
+target_compaction_file_size=33554432
+inner_compaction_total_file_size_threshold=52428800
+inner_compaction_total_file_num_threshold=10
+inner_compaction_candidate_file_num=8
+max_cross_compaction_candidate_file_num=10
+max_cross_compaction_candidate_file_size=52428800
+
# ---- background io politeness (share disks with other processes) ----
compaction_write_throughput_mb_per_sec=8
partition_table_recover_max_read_mb_per_sec=5