weblab-tw / ddia-study-group

Designing Data-Intensive Applications Study Group
36 stars 4 forks source link

第七章:調整 isolation level - Jimmy #84

Open JimmyFUFU opened 1 year ago

JimmyFUFU commented 1 year ago

Mysql innodb default isolation level 是 repeatable read,好像沒有特別講到這個 level,他有點介於 read committed 跟 Serialization 之間,不會有 non-repeatable read 但有可能會有 phantom read

有查到各種資料庫的 default level 都不太一樣,不知有沒有人有因為某些產品性質而特別去調整資料庫的隔離層級,或是知道某些例子? Mysql => Repeatable Read mongoDB => Snapshot PostgreSQL =>Read Committed

jxiu0129 commented 1 year ago