当前位置:网站首页>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 compilation examination
- [offer78] merge multiple ordered linked lists
- Basic operations of databases and tables ----- modifying data tables
- Programmers can make mistakes. Basic pointers and arrays of C language
- MySQL replacement field part content
- [leetcode15] sum of three numbers
- [Offer29] 排序的循环链表
- Easy to use shortcut keys in idea
- History object
- (课设第一套)1-4 消息传递接口 (100 分)(模拟:线程)
猜你喜欢

JS 函数提升和var变量的声明提升

Compilation principle: preprocessing of source program and design and implementation of lexical analysis program (including code)

Theoretical derivation of support vector machine

JS regular expression basic knowledge learning

MySQL占用内存过大解决方案

Office提示您的许可证不是正版弹框解决

JS variable types and common type conversions

Conditional probability

MySQL time, time zone, auto fill 0

Types de variables JS et transformations de type communes
随机推荐
(五)R语言入门生物信息学——ORF和序列分析
2021.11.10汇编考试
Fashion Gen: the general fashion dataset and challenge paper interpretation & dataset introduction
單片機藍牙無線燒錄
Kconfig Kbuild
(5) Introduction to R language bioinformatics -- ORF and sequence analysis
[leetcode19]删除链表中倒数第n个结点
Stm32f1+bc20+mqtt+freertos system is connected to Alibaba cloud to transmit temperature and humidity and control LED lights
MySQL time, time zone, auto fill 0
Compilation principle: preprocessing of source program and design and implementation of lexical analysis program (including code)
Get the position of the nth occurrence of the string
基于Redis的分布式ID生成器
Minio文件下载问题——inputstream:closed
Esp8266 uses Arduino to connect Alibaba cloud Internet of things
Unity3D,阿里云服务器,平台配置
Symbolic representation of functions in deep learning papers
如何给Arduino项目添加音乐播放功能
dosbox第一次使用
Understanding of AMBA, AHB, APB and Axi
数据库课程设计:高校教务管理系统(含代码)