Archery 平台执行DDL error:Threads_connected exceeds its critical threshold

在数据库管理平台Archery上定时任务执行DDL操作,第二天发现报错,报错信息如下:

Error copying rows from `DB`.`TABLE_NAME` to `DB`.`_TABLE_NAME_new`: Threads_connected=1358 exceeds its critical threshold 1300

登录查看Threads_connected信息,Threads_connected 一直处于大于1300个连接:

复制代码
mysql> show status like '%thread%';
+------------------------------------------+----------+
| Variable_name                            | Value    |
+------------------------------------------+----------+
| Com_show_thread_statistics               | 0        |
| Delayed_insert_threads                   | 0        |
| Innodb_master_thread_active_loops        | 30810790 |
| Innodb_master_thread_idle_loops          | 45       |
| Performance_schema_thread_classes_lost   | 0        |
| Performance_schema_thread_instances_lost | 0        |
| Slow_launch_threads                      | 0        |
| Threadpool_idle_threads                  | 92       |
| Threadpool_threads                       | 99       |
| Threads_cached                           | 0        |
| Threads_connected                        | 1368     |
| Threads_created                          | 2283216  |
| Threads_running                          | 8        |
+------------------------------------------+----------+
复制代码

查看inception中变量值设置:

复制代码
[root@hankyoon ~]# mysql -h127.0.0.1 -uroot -P6669

mysql> inception get variables ;
...
...
...
| inception_osc_critical_thread_connected  | 1300                                      |
...
...
...
复制代码

修改inception_osc_critical_thread_connected值,为1800

mysql> inception set inception_osc_max_thread_connected = 1800;

在Archery平台重新提交DDL SQL即可.

posted @   __Yoon  阅读(60)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
历史上的今天:
2017-05-23 MySQL构造测试数据
点击右上角即可分享
微信分享提示