wu-sheng commented on code in PR #13144:
URL: https://github.com/apache/skywalking/pull/13144#discussion_r2013520954


##########
oap-server/server-starter/src/main/resources/bydb.yml:
##########
@@ -52,15 +52,41 @@ groups:
   # The "normal" section defines settings for datasets not specified in 
"super".
   # Each dataset will be grouped under a single group named "normal".
   recordsNormal:
+    # The settings for the default "hot" stage.
     shardNum:  ${SW_STORAGE_BANYANDB_GR_NORMAL_SHARD_NUM:1}
     segmentInterval: ${SW_STORAGE_BANYANDB_GR_NORMAL_SI_DAYS:1}
     ttl: ${SW_STORAGE_BANYANDB_GR_NORMAL_TTL_DAYS:3}
+    # Enable the additional stages. The "hot" stage is always enabled by 
default.
+    enabledAdditionalStages: 
${SW_STORAGE_BANYANDB_GR_NORMAL_ENABLED_ADDITIONAL_STAGES:"warm,cold"}
+    defaultQueryStages: 
${SW_STORAGE_BANYANDB_GR_NORMAL_DEFAULT_QUERY_STAGES:"hot,warm"}
+    warm:
+      shardNum: ${SW_STORAGE_BANYANDB_GR_NORMAL_WARM_SHARD_NUM:1}
+      segmentInterval: ${SW_STORAGE_BANYANDB_GR_NORMAL_WARM_SI_DAYS:1}
+      ttl: ${SW_STORAGE_BANYANDB_GR_NORMAL_WARM_TTL_DAYS:3}

Review Comment:
   warm TTL should be longer than default ttl, and cold should be longer than 
warm.



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