Mysql optimization know-how-sub-table technology

When the data of a table reaches tens of millions or hundreds of millions of records, it is very time-consuming to query, then we need to split the table to increase operating efficiency

 So how do we divide the table?

Sub-table sql statement: insert into table1 values ​​(field 1, field 2...) from select * from table2 Of course, you can use stored procedures and methods

 

 Three put pictures and videos on the picture or video server

The maximum number of connections can be set to 1000

 

 

Guess you like

Origin blog.csdn.net/weixin_41421227/article/details/88870281