当前位置:网站首页>MySQL check whether the table is locked
MySQL check whether the table is locked
2022-07-26 06:51: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 table write lock
- 【Star项目】小帽飞机大战(四)
- Differences and relations between varchar and nvarchar in database
- 浅谈eval与assert一句话木马执行区别
- Rectification ideas for the previous article
- Fastdfs supports dual IP and IPv6
- Problems related to the use of ucharts (components) in uniapp
- Multi-objective collaborative decision-making in supply chain
- On stock price prediction model (3): are you falling into the trap of machine learning
- Merge_sort
猜你喜欢

『牛客|每日一题』点击消除

Overview of image classification of vision transformer must read series
![[Web3 series development tutorial - create your first NFT (4)] what can NFTs bring to you](/img/57/f263f3f3c40b1440b0cbb58c5e05a5.jpg)
[Web3 series development tutorial - create your first NFT (4)] what can NFTs bring to you

Force deduction 5: Longest palindrome substring

【硬十宝典】——7.2【动态RAM】DDR4与DDR3区别解析

深度学习——CV、CNN、RNN

Facing the rebound market, how do we operate? 2020-03-21

@Constructorproperties annotation understanding and its corresponding usage

【硬十宝典】——7.1【动态RAM】DDR硬件设计要点

Merge_sort
随机推荐
Regular expressions and calling related functions in C language
Rust language - slice type (&[u8])
vulnhub Lampião: 1
Summary of common usage of dev treelist
How to solve the crash when the easygbs platform edits the device management group?
MySQL table read lock
Integrated design of signal processing systems - Design of solver functions (continuous and discrete time systems)
On stock price prediction model (3): are you falling into the trap of machine learning
SQL optimization scheme
Use scanner to get multiple data types from the keyboard
buuReserve(4)
mySql建表的基本操作 与常见的函数
dev treelist 常用用法小结
Tiktok web s_ v_ web_ Analysis and implementation of ID parameter generation
On the difference between Eval and assert
mysql优化之show profile的使用及分析
数据库中varchar和Nvarchar区别与联系
排序问题:冒泡排序,选择排序,插入排序
信号处理系统综合设计-求解器函数的设计(连续和离散时间系统)
2万字带你从0到1搭建一套企业级微服务安全框架