[
https://issues.apache.org/jira/browse/IOTDB-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jialin Qiao reassigned IOTDB-4653:
----------------------------------
Assignee: wanghui (was: Jialin Qiao)
> [TTL]It is recommended to add time precision units when setting TTL
> -------------------------------------------------------------------
>
> Key: IOTDB-4653
> URL: https://issues.apache.org/jira/browse/IOTDB-4653
> Project: Apache IoTDB
> Issue Type: Improvement
> Components: Core/TsFile
> Reporter: xiaozhihong
> Assignee: wanghui
> Priority: Minor
>
> In the currently available version, the default TTL background is ms, and
> users cannot set the time precision according to their actual needs. It is
> recommended to optimize this function, and users can set it according to
> their own needs. At the same time, the current UserGuide should also describe
> this situation.
> {code:java}
> IoTDB> set ttl to root.sg 5000;
> Msg: The statement is executed successfully.
> IoTDB> show all ttl
> +-------------+-------+
> |storage group|ttl(ms)|
> +-------------+-------+
> | root.ln| null|
> | root.sg| 5000|
> | root.DB| null|
> +-------------+-------+
> Total line number = 3
> It costs 0.004s
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)