Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 为什么在乐观事务模型下,仅支持可重复读隔离级别
May I ask why TiDB only supports the repeatable read isolation level under the optimistic transaction model?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 为什么在乐观事务模型下,仅支持可重复读隔离级别
May I ask why TiDB only supports the repeatable read isolation level under the optimistic transaction model?
Are transaction isolation levels related to pessimistic transactions and optimistic transactions?
Are you saying that the optimistic transaction model supports a higher level of transaction isolation: the repeatable read isolation level?
Setting the transaction isolation level to Read Committed in optimistic transaction mode will not take effect; the transaction will still use the Repeatable Read isolation level.
TiDB defaults to the pessimistic transaction model, right? Can it be adjusted to the optimistic transaction model?
By default, it is a pessimistic transaction, but it can be adjusted to an optimistic transaction.
Thanks to @jiyf and @OnTheRoad for providing the answers~
It seems to say that pessimistic locks will consume more network IO and disk IO?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.