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.
根据定义,脏读是对未提交数据的读取。我的问题是:
如果您有多个来自同一故事中不同事务的写操作紧随其后发生(比如说事务 1、2 和 3),那么在写入结束时,其中一个事务提交(假设是事务 1),然后从事务 2 或 3 读取,这算作脏读吗?
例如:w1(X);w2(X);w3(X);c1;r2(X).....
不,这些术语是不可重复读取或幻读(source)。许多(如果不是大多数)数据库引擎默认允许使用它们。