当前位置:网站首页>MySQL check whether the table is locked
MySQL check whether the table is locked
2022-07-25 16:05:00 【Leon_ Jinhai_ Sun】
mysql Look at the locked table
Check whether the table is locked
show OPEN TABLES where In_use > 0;
View all processes
MySQL:
show processlist;
mariabd:
show full processlist;
Query the corresponding process === then kill id
Kill the designated mysql The process number of the connection
kill $pid
View the transaction being locked
SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS;
View transactions waiting for locks
SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCK_WAITS;
see innodb Run time information for the engine
show engine innodb status\G;
See what caused the deadlock sql sentence , Analyze the index situation , And then optimize sql sentence ;
View server status
show status like '%lock%';
Check the timeout :
show variables like '%timeout%';边栏推荐
- MySQL explicit lock
- Where is there a demo to set up the flex CDC to draw the number of MySQL?
- [wechat applet] detailed explanation of applet host environment
- Circulaindicator component, which makes the indicator style more diversified
- 如何构建面向海量数据、高实时要求的企业级OLAP数据引擎?
- Beyond Compare 4 实现class文件对比【最新】
- Redis distributed lock, it's really impossible without it
- "Digital security" alert NFT's seven Scams
- PageHelper.startPage没有生效问题
- Leetcode:528. select randomly according to the weight [ordinary random failure + prefix and dichotomy]
猜你喜欢

Pytoch learning notes -- Summary of common functions 3
![Leetcode:6127. Number of high-quality number pairs [bit operation finding rules + the sum of two numbers is greater than or equal to K + dichotomy]](/img/b5/5c7fc70b8025cf7ef21d645a3ac22e.png)
Leetcode:6127. Number of high-quality number pairs [bit operation finding rules + the sum of two numbers is greater than or equal to K + dichotomy]

CircleIndicator组件,使指示器风格更加多样化

ML - Speech - traditional speech model

Ml image depth learning and convolution neural network

Waterfall flow layout

狂神redis笔记12

Equivalent change of resistance circuit (Ⅱ)

Baseband simulation system experiment of 4pam in Gaussian channel and Rayleigh channel

Crazy God redis notes 12
随机推荐
MySQL-自增锁
Ice 100g network card fragment message hash problem
Endnote add Chinese gbt7714 style how to quote documents in word
MySQL 悲观锁
报表工具的二次革命
[JS advanced] JS regular correlation functions and regular objects_ 02
R语言ggplot2可视化线图(line)、自定义配置标题文本相关内容颜色和图例(legend)颜色相匹配(和分组线图的颜色相匹配、match colors of groups)
Activity review | July 6 Anyuan AI X machine heart series lecture No. 2 | MIT professor Max tegmark shares "symbiotic evolution of human and AI"
Introduction to redis
"Digital security" alert NFT's seven Scams
30 lines write the concurrency tool class yourself (semaphore, cyclicbarrier, countdownlatch)
Okaleido上线聚变Mining模式,OKA通证当下产出的唯一方式
SVD singular value decomposition derivation and application and signal recovery
物理防火墙是什么?有什么作用?
记得那两句话
[server data recovery] data recovery cases of raid information loss caused by unexpected power failure of HP EVA server storage
MySQL教程68-AS 设置别名
Leetcode - 379 telephone directory management system (Design)
Golang review summary
ML - Speech - Introduction to speech processing