当前位置:网站首页>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
边栏推荐
- VIM command line notes
- 程序设计大作业:教务管理系统(C语言)
- PT OSC deadlock analysis
- Symbolic representation of functions in deep learning papers
- idea中导包方法
- Rough analysis of map file
- Learning notes of JS variable scope and function
- Problèmes avec MySQL time, fuseau horaire, remplissage automatique 0
- JUC forkjoin and completable future
- Navigator object (determine browser type)
猜你喜欢

History object

Types de variables JS et transformations de type communes

AMBA、AHB、APB、AXI的理解

JS Title: input array, exchange the largest with the first element, exchange the smallest with the last element, and output array.

ORA-02030: can only select from fixed tables/views

Gravure sans fil Bluetooth sur micro - ordinateur à puce unique

idea中导包方法

Problèmes avec MySQL time, fuseau horaire, remplissage automatique 0
![[golang] leetcode intermediate - fill in the next right node pointer of each node & the k-smallest element in the binary search tree](/img/6e/0802a92511ac50a652afa1678ad28c.jpg)
[golang] leetcode intermediate - fill in the next right node pointer of each node & the k-smallest element in the binary search tree

Kconfig Kbuild
随机推荐
Common properties of location
Pytorch: tensor operation (I) contiguous
ES6 grammar summary -- Part I (basic)
JS變量類型以及常用類型轉換
JS数组常用方法的分类、理解和运用
[leetcode19] delete the penultimate node in the linked list
Custom view puzzle getcolor r.color The color obtained by colorprimary is incorrect
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
[899]有序队列
JUC forkjoin and completable future
Redis 缓存更新策略,缓存穿透、雪崩、击穿问题
(5) Introduction to R language bioinformatics -- ORF and sequence analysis
SVN更新后不出现红色感叹号
Servlet
Vscode basic configuration
[Leetcode15]三数之和
[Red Treasure Book Notes simplified version] Chapter 12 BOM
Redis cache update strategy, cache penetration, avalanche, breakdown problems
2021.11.10汇编考试
如何给Arduino项目添加音乐播放功能