vicendominguez

watching queries per second (vmstat style) on MySQL

Oct 15th, 2013
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. watching queries per second (vmstat style) on MySQL:
  2.  
  3. mysqladmin ext -ri 1 |grep -i -e queries -e \-
  4.  
  5. +-----------------------------------+--------------+
  6. +-----------------------------------+--------------+
  7. | Qcache_queries_in_cache | 5282 |
  8. | Queries | 669070336 |
  9. | Slow_queries | 2950563 |
  10. +-----------------------------------+--------------+
  11. +-----------------------------------+--------------+
  12. +-----------------------------------+--------------+
  13. | Innodb_data_pending_fsyncs | -1 |
  14. | Qcache_free_memory | -2440 |
  15. | Qcache_queries_in_cache | 1 |
  16. | Queries | 211 |
  17. | Slow_queries | 0 |
  18. +-----------------------------------+--------------+
  19. +-----------------------------------+--------------+
  20. +-----------------------------------+--------------+
  21. | Qcache_queries_in_cache | 0 |
  22. | Queries | 177 |
  23. | Slow_queries | 0 |
  24. +-----------------------------------+--------------+
  25. +-----------------------------------+--------------+
  26. +-----------------------------------+--------------+
  27. | Innodb_data_pending_fsyncs | -1 |
  28. | Innodb_os_log_pending_fsyncs | -1 |
  29. | Qcache_queries_in_cache | 0 |
  30. | Queries | 133 |
  31. | Slow_queries | 0 |
  32. +-----------------------------------+--------------+
  33. +-----------------------------------+--------------+
  34. +-----------------------------------+--------------+
  35. | Open_files | -8 |
  36. | Qcache_queries_in_cache | 0 |
  37. | Queries | 687 |
  38. | Slow_queries | 0 |
  39. +-----------------------------------+--------------+
  40. +-----------------------------------+--------------+
  41. +-----------------------------------+--------------+
  42. | Open_files | -2 |
  43. | Qcache_queries_in_cache | -13 |
  44. | Qcache_total_blocks | -12 |
  45. | Queries | 544 |
  46. | Slow_queries | 0 |
  47. +-----------------------------------+--------------+
  48. +-----------------------------------+--------------+
  49. +-----------------------------------+--------------+
Add Comment
Please, Sign In to add comment