当前位置:网站首页>MYSQL事务与锁问题处理
MYSQL事务与锁问题处理
2022-07-31 05:15:00 【浮生若梦l】
SELECT * FROM information_schema.INNODB_LOCKs; -- 查询锁
select * from information_schema.INNODB_LOCK_WAITS; -- 查询等待锁
SELECT * FROM information_schema.INNODB_TRX; -- 查询事务
select * from information_schema.processlist where id =7149 -- 根据事务中的进程id查询进程
kill 7149 -- 根据进程id杀死进程
边栏推荐
- [Ubuntu20.04 installs MySQL and MySQL-workbench visualization tool]
- 计网 Packet Tracer仿真 | 简单易懂集线器和交换机对比(理论+仿真)
- Getting to know regular expressions
- 一文速学-玩转MySQL获取时间、格式转换各类操作方法详解
- 著名网站msdn.itellyou.cn原理分析
- 【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了
- Principle analysis of famous website msdn.itellyou.cn
- SSH自动重连脚本
- Judgment of database in SQL injection
- jenkins +miniprogram-ci 一键上传微信小程序
猜你喜欢
The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
Powershell中UTF-8环境中文乱码解决办法
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了
[swagger close] The production environment closes the swagger method
The server time zone value ‘й‘ is unrecognized or represents more than one time zone
Chinese garbled solution in UTF-8 environment in Powershell
On the side of Ali, tell me what are the application scenarios of message middleware you know?
Linux修改MySQL数据库密码
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
随机推荐
使用ps | egrep时过滤排除掉egrep自身
阿里一面,说说你知道消息中间件的应用场景有哪些?
"limit" query in Oracle database
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
mysql password modification method in Linux (pro-test available)
sql add default constraint
this指向问题
npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案
带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?
Why is the redis single-threaded also so fast?
Detailed explanation of pointers in C language
腾讯云GPU桌面服务器驱动安装
2021年京东数据分析工程师秋招笔试编程题
【云原生】开源数据分析 SPL 轻松应对 T+0
[JVM Loading]---Class Loading Mechanism
【windows】--- SQL Server 2008 超详细安装教程
Yuan prospect and four track of the universe
Why does read in bash need to cooperate with while to read the contents of /dev/stdin
360 hardening file path not exists.
podspec自动化升级脚本