当前位置:网站首页>【StoneDB故障诊断】MDL锁等待
【StoneDB故障诊断】MDL锁等待
2022-07-27 19:19:00 【51CTO】
虽然StoneDB不支持事务,但如果显示开启事务,并且没有及时提交或者回滚事务,这时候申请的MDL读锁是没有释放的。如果另一个线程执行对这张表的DDL操作就会被阻塞(这是因为DDL操作要申请MDL写锁,写锁与读锁互斥),此时刚好对这张表有并发的查询和更新,那么这些线程都会被阻塞,如果不及时找到阻塞者,很容易将连接数打满。 如果开启了performance_schema,可以使用以下SQL找到阻塞者。
如果没有开启performance_schema,且是5.7版本,可以使用以下SQL找到阻塞者。
本文由博客一文多发平台 OpenWrite 发布!
边栏推荐
- Monitor the running of server jar and restart script
- Software testing interview question: what project documents need to be referred to in designing the system test plan?
- @The difference between Autowired annotation and @resource annotation
- Understanding of L1 regularization and L2 regularization [easy to understand]
- [numerical analysis exercise] numerical integration (complex trapezoid, complex Simpson, Romberg integral) C with STL implementation
- V2.X 同步异常,无法云端同步的帖子一大堆,同步又卡又慢
- In addition to "adding machines", in fact, your micro service can be optimized like this
- Software test interview question: when saving a text file under windows, a save dialog box will pop up. If a test case is established for the file name, how should equivalent classes be divided?
- 异常-Exception
- MySQL执行过程及执行顺序
猜你喜欢

Idea connects to MySQL database and performs SQL query operations

项目分析(从技术到项目、产品)
![[question 23] Sudoku game with rotation | DFS (Beijing Institute of Technology / Beijing Institute of Technology / programming methods and practice / primary school)](/img/75/c207f4f562fd5b547c5b3134113154.jpg)
[question 23] Sudoku game with rotation | DFS (Beijing Institute of Technology / Beijing Institute of Technology / programming methods and practice / primary school)

8000字讲透OBSA原理与应用实践

为什么服务端程序都需要先 listen 一下

It's too voluminous. A company has completely opened its core system (smart system) that has been operating for many years

哈希表的查找与插入及删除

day 1 - day 4

What is eplato cast by Plato farm on elephant swap? Why is there a high premium?

项目分析(哪些是it培训给不了)
随机推荐
LinkedList underlying source code
8000字讲透OBSA原理与应用实践
Import word document pictures blocking and non blocking IO operations
MySQL execution process and order
The gratitude and resentment between the four swordsmen and code review: "abandon all chaos" to "prodigal son returns"
Log4j 漏洞仍普遍存在,并持续造成影响
自研5G芯片商用推迟?未来4年苹果iPhone都将采用高通5G芯片
An article takes you into the world of pycharm - stop asking me about pycharm installation and environment configuration!!!
软件测试面试题:通过画因果图来写测试用例的步骤为___、___、___、___及把因果图转换为状态图共五个步骤。 利用因果图生成测试用例的基本步骤是?
Huawei establishes global ecological development department: fully promote HMS global ecological construction
2019q4 memory manufacturers' revenue ranking: Samsung fell 5%, only SK Hynix and micron maintained growth
软件测试面试题:什么是回归测试?
For 3nm and below processes, ASML new generation EUV lithography machine exposure
Will the United States prohibit all Chinese enterprises from purchasing American chips? Trump responded like this
In addition to "adding machines", in fact, your micro service can be optimized like this
[question 22] dungeons and Warriors (Beijing Institute of Technology / Beijing Institute of Technology / programming methods and practice / primary school)
Encapsulate an array into a class
Samsung's most advanced EUV production line has been put into operation: the 7Nm capacity this year will be three times that of last year
简单手动实现Map
MySQL data recovery process is based on binlog redolog undo