How can I run a query multiple times in phpmyadmin?

前端 未结 3 1970
梦谈多话
梦谈多话 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:56

    This isn't really the job of phpMyAdmin, a GUI for MySQL beginners.

    Put the query in a script, in a loop that runs 1,000,000 times.

    Though that's not a very good benchmark of anything. If you're trying to simulate real demand, you need to have some concurrent activity, not just 1,000,000 queries issued and returned one at a time.

提交回复
热议问题