mysql - SQL语句性能测试
天蓬老师
天蓬老师 2017-04-17 13:08:45
0
2
572

现在有一句sql1及其变换sql2,两句sql同环境下单独执行不好分辨其优劣,所以我想通过QPS这个指标来衡量它们。求助各位大神有没这类工具或者方案能够获取sql语句的QPS值。拜谢~

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
黄舟

I don’t know that there is such a mechanism in

sql. Are you looking for a monitoring tool corresponding to the database? For example sqlserver的profiler and the like.

In addition, you can test it in the program. The execution time difference of the monitoring program is roughly comparable, although there is a deviation.

小葫芦

Mysql I don’t know, SQL Server has execution plans to compare

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!