当前位置:网站首页>Debezium series: source code reading snapshot reader

Debezium series: source code reading snapshot reader

2022-07-07 22:45:00 Target Blogger

One 、Mysql Transaction isolation level

  • Database transaction isolation level from low to high :Read uncommitted、Read committed、Repeatable read and Serializable Four kinds of
  • mysql Default transaction isolation level :Repeatable read
  • Repeatable read Repeated reading : Avoid dirty reading 、 It can't be read repeatedly , But there may be unreal reading .
  • When the transaction isolation level is repeatable , If the search condition has an index ( Include primary key index ) When , The default lock mode is next-key lock ; If the search criteria are not indexed , When updating data, the entire table will be locked . A gap is locked by a transaction , Other affairs cannot be done in this room
原网站

版权声明
本文为[Target Blogger]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071855454877.html