SELECT ... LOCK IN SHARE MODE sets a shared mode lock on the rows read. A shared mode lock enables other sessions to read the rows but not to modify them. The rows read are the latest available, so if they belong to another transaction that has not yet committed, the read blocks until that transaction ends.

SELECT ... FOR UPDATE sets an exclusive lock on the rows read. An exclusive lock prevents other sessions from accessing the rows for reading or writing.

最新文章

  1. Ubuntu下git的安装与使用
  2. C++ CreateThread 实例
  3. windows进程详解
  4. 《深入Java虚拟机学习笔记》- 第6章 class文件
  5. c#继承中的函数调用
  6. python开发-web框架之diango-----Models
  7. 图片上传unexpected end of stream
  8. 原生JS添加节点方法与jQuery添加节点方法的比较及总结
  9. JS 引用
  10. jQuery.fn.extend与jQuery.extend 的区别
  11. 14.18 InnoDB Backup and Recovery 备份和恢复:
  12. 在PHP中连接数据库时获取最后的一个ID
  13. iOS中 百度地图详解 韩俊强的博文
  14. GX/GZOI2019 day2 解题报告
  15. python 读写文件中 w与wt ; r与rt 的区别
  16. js清除childNodes中的#text(选项卡中会用到获取第一级子元素)
  17. 546A
  18. 尚硅谷springboot学习11-占位符
  19. oslo_service服务
  20. 如何在MYSQL下所有指定数据库名下执行SQL

热门文章

  1. python学习07列表
  2. Codeforces Round #628 (Div. 2) 题解
  3. 【ubuntu】windows+ubuntu 设置windows为第一启动项
  4. certutil 导入 CA 证书
  5. 深入实践Spring Boot1.4 运行与发布
  6. Spark学习笔记(一)
  7. 图论--最长路--基于SPFA的调整模板
  8. 图论--最短路--第K短路(IDA*)(IDA Star)模板
  9. python(面向对象-类封装调用)
  10. Ajax各参数介绍及使用