Advertisement
Guest User

mysql status

a guest
May 29th, 2018
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.61 KB | None | 0 0
  1. mysql> SHOW ENGINE InnoDB STATUS;
  2. +--------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  3. | Type | Name | Status |
  4. +--------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  5. | InnoDB | |
  6. =====================================
  7. 2018-05-29 08:50:05 700002a77000 INNODB MONITOR OUTPUT
  8. =====================================
  9. Per second averages calculated from the last 59 seconds
  10. -----------------
  11. BACKGROUND THREAD
  12. -----------------
  13. srv_master_thread loops: 261 srv_active, 0 srv_shutdown, 24209 srv_idle
  14. srv_master_thread log flush and writes: 24470
  15. ----------
  16. SEMAPHORES
  17. ----------
  18. OS WAIT ARRAY INFO: reservation count 182
  19. OS WAIT ARRAY INFO: signal count 173
  20. Mutex spin waits 879, rounds 4474, OS waits 30
  21. RW-shared spins 154, rounds 4623, OS waits 147
  22. RW-excl spins 6, rounds 193, OS waits 4
  23. Spin rounds per wait: 5.09 mutex, 30.02 RW-shared, 32.17 RW-excl
  24. ------------
  25. TRANSACTIONS
  26. ------------
  27. Trx id counter 26186205
  28. Purge done for trx's n:o < 26186201 undo n:o < 0 state: running but idle
  29. History list length 2253
  30. LIST OF TRANSACTIONS FOR EACH SESSION:
  31. ---TRANSACTION 0, not started
  32. MySQL thread id 167, OS thread handle 0x700002a77000, query id 27553 localhost root init
  33. SHOW ENGINE InnoDB STATUS
  34. --------
  35. FILE I/O
  36. --------
  37. I/O thread 0 state: waiting for i/o request (insert buffer thread)
  38. I/O thread 1 state: waiting for i/o request (log thread)
  39. I/O thread 2 state: waiting for i/o request (read thread)
  40. I/O thread 3 state: waiting for i/o request (read thread)
  41. I/O thread 4 state: waiting for i/o request (read thread)
  42. I/O thread 5 state: waiting for i/o request (read thread)
  43. I/O thread 6 state: waiting for i/o request (write thread)
  44. I/O thread 7 state: waiting for i/o request (write thread)
  45. I/O thread 8 state: waiting for i/o request (write thread)
  46. I/O thread 9 state: waiting for i/o request (write thread)
  47. Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
  48. ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
  49. Pending flushes (fsync) log: 0; buffer pool: 0
  50. 8949 OS file reads, 8407 OS file writes, 3419 OS fsyncs
  51. 0.03 reads/s, 16384 avg bytes/read, 1.81 writes/s, 0.71 fsyncs/s
  52. -------------------------------------
  53. INSERT BUFFER AND ADAPTIVE HASH INDEX
  54. -------------------------------------
  55. Ibuf: size 1, free list len 195, seg size 197, 7 merges
  56. merged operations:
  57. insert 7, delete mark 0, delete 0
  58. discarded operations:
  59. insert 0, delete mark 0, delete 0
  60. Hash table size 276671, node heap has 64 buffer(s)
  61. 74.63 hash searches/s, 28.88 non-hash searches/s
  62. ---
  63. LOG
  64. ---
  65. Log sequence number 25619024464
  66. Log flushed up to 25619024464
  67. Pages flushed up to 25619024464
  68. Last checkpoint at 25619024464
  69. 0 pending log writes, 0 pending chkp writes
  70. 2692 log i/o's done, 0.54 log i/o's/second
  71. ----------------------
  72. BUFFER POOL AND MEMORY
  73. ----------------------
  74. Total memory allocated 137363456; in additional pool allocated 0
  75. Dictionary memory allocated 3241380
  76. Buffer pool size 8191
  77. Free buffers 1024
  78. Database pages 10923
  79. Old database pages 4017
  80. Modified db pages 0
  81. Pending reads 0
  82. Pending writes: LRU 0, flush list 0, single page 0
  83. Pages made young 851, not young 1530902
  84. 0.00 youngs/s, 0.10 non-youngs/s
  85. Pages read 28555, created 52, written 6123
  86. 0.03 reads/s, 0.00 creates/s, 1.46 writes/s
  87. Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
  88. Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
  89. LRU len: 10923, unzip_LRU len: 1092
  90. I/O sum[88]:cur[0], unzip sum[0]:cur[0]
  91. --------------
  92. ROW OPERATIONS
  93. --------------
  94. 0 queries inside InnoDB, 0 queries in queue
  95. 0 read views open inside InnoDB
  96. Main thread id 123145341431808, state: sleeping
  97. Number of rows inserted 47, updated 2415, deleted 25, read 3281169
  98. 0.03 inserts/s, 0.44 updates/s, 0.02 deletes/s, 158.81 reads/s
  99. ----------------------------
  100. END OF INNODB MONITOR OUTPUT
  101. ============================
  102. |
  103. +--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  104. 1 row in set (0.00 sec)
  105.  
  106. mysql> SHOW OPEN TABLES WHERE In_use > 0;
  107. Empty set (0.01 sec)
  108.  
  109. mysql> show full processlist;
  110. +-----+------+-----------+------+---------+------+-------+-----------------------+
  111. | Id | User | Host | db | Command | Time | State | Info |
  112. +-----+------+-----------+------+---------+------+-------+-----------------------+
  113. | 167 | root | localhost | NULL | Query | 0 | init | show full processlist |
  114. +-----+------+-----------+------+---------+------+-------+-----------------------+
  115. 1 row in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement