无聊,于是写一篇没技术的技术文.
更详细的,看星星的文章
innodb的记录应该是这样的,有记录兼有间隙
一般的锁,只加锁记录,但是这样会产生幻象读
于是,NEXT-KEY锁,基本等于 记录锁+间隙锁,如图
Name (required)
Mail (will not be published) (required)
Website
Comment spam protected by SpamBam
You will not be able to post a comment. Javascript is required.