Optimization of insert statement speed in MySQL

If you want to insert multiple records at the same time, you can insert them by inserting into table values(...),(...),(...), which can greatly improve the efficiency. If there is too much data, it can be segmented, such as inserting every 10,000 records. The default package size of each execution is 1M. If it exceeds, you can adjust the msyql parameters

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326507424&siteId=291194637