首页 > 解决方案 > Can I get a timestamp from a FoundationDB versionstamp?

问题描述

FoundationDB has versionstamps, ten-byte, unique, monotonically (but not sequentially) increasing values for each committed transaction.

Can I get a timestamp (when the transaction was committed) from that?

标签: foundationdb

解决方案


Under "normal" (non-failure) conditions, FoundationDB database versions advance at a rate of approximately one million per second. However the rate is not guaranteed to be uniform, so versions cannot be effectively used as a clock.


推荐阅读