MySQL benchmark() 重复执行某表达式
时间:2020-05-31 19:46:18
收藏:0
阅读:66
benchmark(t,exp)
select benchmark(count,expr),是重复执行count次expr表达式,使得处理时间很长,来产生延迟,
比如select benchmark(1000000,encode("hello","good"));
select benchmark( 5000000, md5( ‘test‘ ));
原文:https://www.cnblogs.com/forforever/p/13019581.html
评论(0)