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.
事务状态应该在事务日志表中还是在事务表中?
您的日志链接了一笔或多笔交易,例如向 bob 付款
您的账户 DR $10 Bob 账户 CR $10
状态应该存储在哪里?
什么状态?只有 2 个:有效的、已取消的(基本上应该是反交易的标志,仅此而已 - 将已取消的标志与取消它的标志联系起来)。
没有其他状态 - 转移记录如此完成。或者你在说什么?