문제

I have read about transaction isolation in MVCC model here and 2 questions arose.

  • Does MVCC use locks? As far as I understood -- no, if so --
  • What does this table mean?
도움이 되었습니까?

해결책

The author of the table confused guarantees from isolation levels with the mechanism used to implement them. It is not required to implement isolation using locks.

Optimistic models like MVCC can provide the same guarantees without locks. They can even provide serializability by validating the read and write sets at commit time (this isn't implement in any RDBMS AFAIK, but SQL Server Hekaton will use this technique).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top