mysql
mysql 一些知识点记录
当前读与快照读 1. 快照度(snapshot read) 简单的select操作,属于快照读,不加锁 select * from TABLE where ?; 2. 当前读(Current Read) 特殊的读操作,插入/更新/删除操作,属于当前读,需要加锁 select * from table where ? lock in share mode; select * from table where ? for update; insert into table values (…); update table set ? where ?; delete from table where ?; 意向锁(Intention