Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSDB能否调整为递增序列式。 #290

Open
leang521 opened this issue Apr 16, 2024 · 1 comment
Open

TSDB能否调整为递增序列式。 #290

leang521 opened this issue Apr 16, 2024 · 1 comment

Comments

@leang521
Copy link

大部分系统都没有RTC啊,就算有RTC也可能不准,能否调整为递增序列式的顺序结构呢。增加一条自动加一。只需要知道最新条目号和最早条目号就能解决99%应用问题了。实际的项目里有几个是按照真实时间存储的。又有几个用到真实时间的呢??

@armink
Copy link
Owner

armink commented Apr 16, 2024

只需要知道最新条目号和最早条目号就能解决99%应用问题了

可以通过 tsdb contorl FDB_TSDB_CTRL_GET_LAST_TIME 拿到上一次保存计数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants