摘要: MYSQL-SQL优化 一、Insert语句优化 1、批量插入 2、手动提交事务 频繁的事务开启和提交也是耗费资源的 start transaction; insert xxx insert xxx commit; 3、主键顺序插入 4、大批量的数据插入,使用Mysql中的load指令插入数据 二、 阅读全文
posted @ 2025-02-19 11:22 skystrivegao 阅读(29) 评论(0) 推荐(0)