gpt4 book ai didi

foundationdb - 我可以从 FoundationDB versionstamp 获取时间戳吗?

转载 作者:行者123 更新时间:2023-12-04 05:17:53 24 4
gpt4 key购买 nike

FoundationDB 有版本戳,十字节,唯一,单调(但不是顺序)增加每个提交事务的值。

我可以从中获取时间戳(事务提交的时间)吗?

最佳答案

在“正常”(非故障)条件下,FoundationDB 数据库版本以大约每秒一百万的速度更新。但是不保证速率是统一的,所以版本不能有效地用作时钟。

关于foundationdb - 我可以从 FoundationDB versionstamp 获取时间戳吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50056042/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com