Is it scalable?
In this example, we only have two threads, so when T0 commits, it only compares with T1.
If there are 100 different concurrent transactions, however, when T0 commits, it needs to compare with 99 different transactions.
Is it not common to have many concurrent transactions?
Is it scalable? In this example, we only have two threads, so when T0 commits, it only compares with T1. If there are 100 different concurrent transactions, however, when T0 commits, it needs to compare with 99 different transactions. Is it not common to have many concurrent transactions?