LoginSignup
27
28

MySQLでクエリの実行時間を手っ取り早く計測する

Last updated at Posted at 2015-04-05

TL;DR

$ time ((for i in $(seq 1 100000); do echo "SELECT * FROM records;";done) | mysql -u mysql database > /dev/null)

詳しくは以下のブログ記事をご覧ください。

27
28
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
27
28