当前位置:网站首页>MySQL error warning: a long semaphore wait
MySQL error warning: a long semaphore wait
2022-07-06 12:35:00 【wx5caecf2ed0645】
Run before mysql When you're good , A series of warning:
InnoDB: Warning: a long semaphore wait
- 1.
Then there is an error :
- 1.
Error: semaphore wait has lasted > 600 seconds
- 1.
Then the service shuts down automatically , According to online information, it is because of the problem of hash adaptive index ,mysql Hash adaptive indexing is enabled by default , After indexing in this way , The efficiency of reading and writing can be improved 2 More than times , But there may be a deadlock problem , Online suggestion off
innodb_adaptive_hash_index
- 1.
The specific process :
mysql -u root -t;
- 1.
set global innodb_adaptive_hash_index=off;
- 1.
View the modification results
SHOW GLOBAL VARIABLES LIKE 'innodb_ada%';
- 1.
- 2.
You can see innodb_adaptive_hash_index It's closed , complete .
Reference material :
https://bugs.mysql.com/bug.php?id=50641
http://stackoverflow.com/questions/24860111/warning-a-long-semaphore-wait
边栏推荐
- 2021.11.10汇编考试
- Redis cache update strategy, cache penetration, avalanche, breakdown problems
- SSD technical features
- (1) Introduction Guide to R language - the first step of data analysis
- open-mmlab labelImg mmdetection
- Easy to use shortcut keys in idea
- Mysqldump error1066 error solution
- Kconfig Kbuild
- JS变量类型以及常用类型转换
- MySQL占用内存过大解决方案
猜你喜欢
History object
Easy to use shortcut keys in idea
Pat 1097 duplication on a linked list (25 points)
Naive Bayesian theory derivation
Types de variables JS et transformations de type communes
Arm pc=pc+8 is the most understandable explanation
JS变量类型以及常用类型转换
First use of dosbox
ESP learning problem record
C programming exercise
随机推荐
GCC compilation options
Basic operations of databases and tables ----- classification of data
Rough analysis of map file
Unity3D,阿里云服务器,平台配置
idea问题记录
[offer29] sorted circular linked list
History object
(五)R语言入门生物信息学——ORF和序列分析
JS Title: input array, exchange the largest with the first element, exchange the smallest with the last element, and output array.
[Red Treasure Book Notes simplified version] Chapter 12 BOM
Amba, ahb, APB, Axi Understanding
ES6 grammar summary -- Part 2 (advanced part es6~es11)
AMBA、AHB、APB、AXI的理解
Générateur d'identification distribué basé sur redis
Unity3d camera, the keyboard controls the front and rear left and right up and down movement, and the mouse controls the rotation, zoom in and out
程序设计大作业:教务管理系统(C语言)
Vscode basic configuration
ES6 grammar summary -- Part I (basic)
HCIP Day 12
Gateway 根据服务名路由失败,报错 Service Unavailable, status=503