Home > Database > Mysql Tutorial > mysql存储过程的优化,

mysql存储过程的优化,

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:42:14
Original
1127 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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template