Home > Database > Mysql Tutorial > body text

mysql存储过程的优化,

WBOY
Release: 2016-06-06 09:42:14
Original
1070 people have browsed it

mysql

调用存储过程,[code=sqlINSERT INTO tb_test(id,rule,time) VALUES(_id,_rule,_time);
SELECT @@identity;][/code]
进行简单的插入语句,在慢查询日志中
95% of Time : 5254.761149 s total, 2.48805 s avg, 1.002664 s to 5.144049 s max
表现有数据7w行;该怎么优化?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template