当前位置:网站首页>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
边栏推荐
- Mysqldump error1066 error solution
- Theoretical derivation of support vector machine
- Unity3d makes the registration login interface and realizes the scene jump
- JS variable types and common type conversions
- Understanding of AMBA, AHB, APB and Axi
- Conditional probability
- ESP8266连接onenet(旧版MQTT方式)
- js 变量作用域和函数的学习笔记
- Basic operations of databases and tables ----- classification of data
- RuntimeError: cuDNN error: CUDNN_ STATUS_ NOT_ INITIALIZED
猜你喜欢
[Clickhouse kernel principle graphic explanation] about the collaborative work of partitioning, indexing, marking and compressed data
Arduino JSON data information parsing
SVN更新后不出现红色感叹号
Redis cache update strategy, cache penetration, avalanche, breakdown problems
Custom view puzzle getcolor r.color The color obtained by colorprimary is incorrect
单片机蓝牙无线烧录
Remember an experience of ECS being blown up by passwords - closing a small black house, changing passwords, and changing ports
Basic operations of databases and tables ----- classification of data
Classification, understanding and application of common methods of JS array
Unity3d makes the registration login interface and realizes the scene jump
随机推荐
idea中好用的快捷键
ES6 grammar summary -- Part I (basic)
Esp8266 connects to onenet cloud platform (mqtt) through Arduino IDE
Derivation of logistic regression theory
Cannot change version of project facet Dynamic Web Module to 2.3.
Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]
(1) Introduction Guide to R language - the first step of data analysis
Unity场景跳转及退出
[Red Treasure Book Notes simplified version] Chapter 12 BOM
@Autowired 和 @Resource 的区别
Basic operations of databases and tables ----- modifying data tables
Imgcat usage experience
AMBA、AHB、APB、AXI的理解
@The difference between Autowired and @resource
Symbolic representation of functions in deep learning papers
Walk into WPF's drawing Bing Dwen Dwen
VIM command line notes
(四)R语言的数据可视化——矩阵图、柱状图、饼图、散点图与线性回归、带状图
Postman 中级使用教程【环境变量、测试脚本、断言、接口文档等】
JUC forkjoin and completable future