How can I run a query multiple times in phpmyadmin?

前端 未结 3 1934
梦谈多话
梦谈多话 2021-01-21 20:03

I want a way to be able to benchmark a query like 1,000,000 times. What\'s the easiest way to do this? Currently I\'ve searched for a way to issue a query multiple times but not

3条回答
  •  隐瞒了意图╮
    2021-01-21 20:59

    i would suggest doing loop test from script level as this would give a better time of the demand.

    SELECT benchmark (1000000, (select user from members limit 1));
    

提交回复
热议问题