choubenson commented on code in PR #12122:
URL: https://github.com/apache/iotdb/pull/12122#discussion_r1582658723


##########
iotdb-core/node-commons/src/assembly/resources/conf/iotdb-common.properties:
##########
@@ -450,6 +450,25 @@ data_replication_factor=1
 # Unit: ms
 # default_ttl_in_ms=-1
 
+# The maximum number of TTL rules stored in the system, the default is 1000.
+# Negative value means the threshold is unlimited.
+# Datatype: int
+# ttl_rule_count=1000
+
+# The interval of TTL check task in each database. The TTL check task will 
inspect and select files with a higher volume of expired data for compaction. 
Default is 2 hours.
+# Notice: It is not recommended to change it too small, as it will affect the 
read and write performance of the system.
+# Unit: ms
+# ttl_check_interval=7200000
+
+# The maximum expiring time of devices that have a ttl. Default is 1 month.
+# If the data elapsed time (current timestamp minus the maximum data timestamp 
of the device in the file) of such devices exceeds this value, then the file 
will be cleaned by compaction.
+# Notice: It is not recommended to change it too small, as it will affect the 
read and write performance of the system.
+# Unit: ms
+# max_expired_time=2592000000
+
+# The expired device ratio. If the ratio of expired devices in one file 
exceeds this value, then expired data of this file will be cleaned by 
compaction.
+# expired_data_rate=0.3

Review Comment:
   Resolved.



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