通过此策略,由于您未对数据保持读取锁,因此在执行更新操作时遇到失效数据异常的机率会增加。
With this strategy, because you are not holding read locks on data, the chance of getting stale data exceptions when you execute the update operations increases.
与图1类似,事务1读取某个特定记录,但随后即释放锁。
Similar to Figure 1, transaction 1 reads a specific record but then releases its lock.
事务1读取某条特定记录并对该行应用一个锁。
Transaction 1 reads a specific record and places a lock on that row.
应用推荐