Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Oracle RAC 和序列
我已阅读此答案。我还有一个问题。
当一个节点要求时间戳时(比如在 GMT 中,并且节点处于不同的时区),这个节点是否需要在每次需要保存时向 node-master 询问时间戳? 我想知道它是否确实询问了主节点,那么使用序列与时间戳没有任何优势。
I am not sure, about your intentions, but sequence is granted to be unique. Not ordered, but unique.
That is the main advantage (I would rather say purpose) of sequence over timestamp.