In my old post there is a bug when run in MySQL 5.1.30 and old, because the status variable Queries was added in MySQL 5.1.31. So i change to choose between Queries and Questions status variables, and I think the Queries represent more accurate result.
http://forge.mysql.com/tools/tool.php?id=217
By the way:
# Queries
The number of statements executed by the server. This variable includes statements executed within stored programs, unlike the Questions variable. This variable was added in MySQL 5.1.31.
# Questions
The number of statements executed by the server. As of MySQL 5.1.31, this includes only statements sent to the server by clients and no longer includes statements executed within stored programs, unlike the Queries variable.
Sponsored by Hosting.com, provider of San Fransisco colocation services
Database Administrator specialized MySQL. Topics: mysql tutorial, database design, mysql data types, mysql commands, mysql dump, database development, mysql training, mysql scalability, mysql sharding, mysql performance tuning, mysql tools.
Showing posts with label MySQL Forge. Show all posts
Showing posts with label MySQL Forge. Show all posts
Thursday, October 01, 2009
Thursday, July 30, 2009
Find Query Per certain Seconds
Do you need to find qps for peak hours not avg qps through mysql life.
The MySQL 5.1 offers new GLOBAL_STATUS information schema tables. These can be used to report certain performance metrics, such as the number of queries processed per certain seconds, NOT overall avg queries per second, Its good to know how much qps in peak hours.
http://forge.mysql.com/tools/tool.php?id=217
The MySQL 5.1 offers new GLOBAL_STATUS information schema tables. These can be used to report certain performance metrics, such as the number of queries processed per certain seconds, NOT overall avg queries per second, Its good to know how much qps in peak hours.
http://forge.mysql.com/tools/tool.php?id=217
Subscribe to:
Posts (Atom)