How to measure "queries per second"?

Silver Light picture Silver Light · Jan 19, 2011 · Viewed 51.6k times · Source

In literature SQL query efficiency is often measured in "queries pre second" (QPS). How those measures are made, considering that I have a database with production data at my hands? Is there a MySQL tool that can to this?

Answer

shantanuo picture shantanuo · Jan 20, 2011
 # mysqladmin status

Uptime: 587  Threads: 121  Questions: 3456  Slow queries: 0  Opens: 152  Flush tables: 1  Open tables: 64  Queries per second avg: 5.888