Using the online links pulled by DBA in real time, we can see that there are many free connections in the database, and the pressure is very small. This part of the resources can be fully squeezed out.
2 Configuration of the maximum number of connections supported by the online database
busi_plat library
mysql> show global variables like '%max_con%';
+---------------------------------------+-------+
| Variable_name | Value |
+---------------------------------------+-------+
| max_connect_errors | 10 |
| max_connections | 5000 |
| performance_schema_max_cond_classes | 80 |
| performance_schema_max_cond_instances | 1000 |
+---------------------------------------+-------+
4 rows in set (0.00 sec)
mysql> show processlist;
+---------+---------------+---------------------+-----------+-------------+----------+-----------------------------------------------------------------------+---------------------------------------------------------------+--
| Id | User | Host | db | Command | Time | State | Info |
+---------+---------------+---------------------+-----------+-------------+----------+-----------------------------------------------------------------------+---------------------------------------------------------------+
| 741365 | replication | 172.16.8.105:46001 | NULL | Binlog Dump | 24882924 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL |
| 7854050 | replication | 172.16.10.176:33272 | NULL | Binlog Dump | 2256605 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL |
46 rows in set (0.00 sec)
-----------------------------------