当前位置:网站首页>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
边栏推荐
- Unity3d makes the registration login interface and realizes the scene jump
- (三)R语言的生物信息学入门——Function, data.frame, 简单DNA读取与分析
- Programming homework: educational administration management system (C language)
- 记一次云服务器被密码爆破的经历——关小黑屋、改密码、改端口
- 燕山大学校园网自动登录问题解决方案
- [Clickhouse kernel principle graphic explanation] about the collaborative work of partitioning, indexing, marking and compressed data
- [esp32 learning-1] construction of Arduino esp32 development environment
- (课设第一套)1-5 317号子任务 (100 分)(Dijkstra:重边自环)
- [Leetcode15]三数之和
- MySQL replacement field part content
猜你喜欢

level16

Derivation of logistic regression theory

JS 函数提升和var变量的声明提升
![[esp32 learning-2] esp32 address mapping](/img/ee/c4aa0f7aed7543bb6807d7fd852c88.png)
[esp32 learning-2] esp32 address mapping

Générateur d'identification distribué basé sur redis

Working principle of genius telephone watch Z3

Problèmes avec MySQL time, fuseau horaire, remplissage automatique 0

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

JS数组常用方法的分类、理解和运用

ESP8266连接onenet(旧版MQTT方式)
随机推荐
GCC compilation options
C programming exercise
Gravure sans fil Bluetooth sur micro - ordinateur à puce unique
单片机蓝牙无线烧录
idea中好用的快捷键
Rough analysis of map file
Servlet
VSCode基础配置
Amba, ahb, APB, Axi Understanding
Who says that PT online schema change does not lock the table, or deadlock
By v$rman_ backup_ job_ Oracle "bug" caused by details
Understanding of AMBA, AHB, APB and Axi
HCIP Day 12
Vulnhub target: hacknos_ PLAYER V1.1
JS變量類型以及常用類型轉換
Redis based distributed ID generator
. elf . map . list . Hex file
MySQL takes up too much memory solution
Important methods of array and string
level16