mysql批量插入性能优化
时间: 2023-10-12 07:06:31 浏览: 107
MySQL批量SQL插入性能优化
5星 · 资源好评率100%
MySQL批量插入性能优化可以通过减少INSERT语句的网络负载、减少解析次数和优化日志量来提高整体性能。一个方法是配置MySQL的一些参数,如将端口号设置为3306,将socket路径设置为/var/lib/mysql/mysql.sock,这样可以减少网络负载,并提高效率。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [MySQL提高批量insert的性能](https://blog.csdn.net/eagle89/article/details/128429971)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [MYSQL开发性能研究——批量插入的优化措施](https://blog.csdn.net/weixin_30825199/article/details/99320750)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文