谈论事务(db事务),does a read operation have always precede a write operation?
很明显,不是吗?
提前感谢
*当然,我的问题没有考虑到任何具体的锁定协议,或者它实际上与以下问题相关的任何内容:
A transaction T is defined by a partial order, termed <, such that:
if r[x] and w[x] belong to T, then r[x] < w[x]. 再次感谢。
发布于 2012-01-29 10:17:43
读操作总是在写操作之前吗?
绝对不是那么回事。
考虑以下事务:
START TRANSACTION;
UPDATE employee
SET salary = null;
COMMIT;事务控制代码没有读取:
发布于 2012-02-28 15:58:38
https://dba.stackexchange.com/questions/11868
复制相似问题