{"id":345,"date":"2016-12-11T21:31:10","date_gmt":"2016-12-11T13:31:10","guid":{"rendered":"https:\/\/blog.freesilo.com\/?p=345"},"modified":"2016-12-11T21:31:10","modified_gmt":"2016-12-11T13:31:10","slug":"mysql%e8%bf%90%e8%a1%8c%e7%8a%b6%e6%80%81show-status%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/freesilo.com\/?p=345","title":{"rendered":"MySQL\u8fd0\u884c\u72b6\u6001show status\u8be6\u89e3"},"content":{"rendered":"<p>\u8981\u67e5\u770bMySQL\u8fd0\u884c\u72b6\u6001\uff0c\u8981\u4f18\u5316MySQL\u8fd0\u884c\u6548\u7387\u90fd\u5c11\u4e0d\u4e86\u8981\u8fd0\u884cshow status\u67e5\u770b\u5404\u79cd\u72b6\u6001\uff0c\u4e0b\u9762\u662f\u53c2\u8003\u5b98\u65b9\u6587\u6863\u53ca\u7f51\u4e0a\u8d44\u6599\u6574\u7406\u51fa\u6765\u7684\u4e2d\u6587\u8be6\u7ec6\u89e3\u91ca\uff0c\u4e0d\u7ba1\u4f60\u662f\u521d\u5b66mysql\u8fd8\u662f\u4f60\u662fmysql\u4e13\u4e1a\u7ea7\u7684dba\uff0c\u8fd9\u90fd\u662f\u503c\u5f97\u770b\u7684.<\/p>\n<p>\u72b6\u6001\u540d\u4f5c\u7528\u57df\u8be6\u7ec6\u89e3\u91ca<br \/>\nAborted_clientsGlobal\u7531\u4e8e\u5ba2\u6237\u7aef\u6ca1\u6709\u6b63\u786e\u5173\u95ed\u8fde\u63a5\u5bfc\u81f4\u5ba2\u6237\u7aef\u7ec8\u6b62\u800c\u4e2d\u65ad\u7684\u8fde\u63a5\u6570<br \/>\nAborted_connectsGlobal\u8bd5\u56fe\u8fde\u63a5\u5230MySQL\u670d\u52a1\u5668\u800c\u5931\u8d25\u7684\u8fde\u63a5\u6570<br \/>\nBinlog_cache_disk_useGlobal\u4f7f\u7528\u4e34\u65f6\u4e8c\u8fdb\u5236\u65e5\u5fd7\u7f13\u5b58\u4f46\u8d85\u8fc7binlog_cache_size\u503c\u5e76\u4f7f\u7528\u4e34\u65f6\u6587\u4ef6\u6765\u4fdd\u5b58\u4e8b\u52a1\u4e2d\u7684\u8bed\u53e5\u7684\u4e8b\u52a1\u6570\u91cf<br \/>\nBinlog_cache_useGlobal\u4f7f\u7528\u4e34\u65f6\u4e8c\u8fdb\u5236\u65e5\u5fd7\u7f13\u5b58\u7684\u4e8b\u52a1\u6570\u91cf<br \/>\nBytes_receivedBoth\u4ece\u6240\u6709\u5ba2\u6237\u7aef\u63a5\u6536\u5230\u7684\u5b57\u8282\u6570\u3002<br \/>\nBytes_sentBoth\u53d1\u9001\u7ed9\u6240\u6709\u5ba2\u6237\u7aef\u7684\u5b57\u8282\u6570\u3002<br \/>\ncom*\u00a0\u5404\u79cd\u6570\u636e\u5e93\u64cd\u4f5c\u7684\u6570\u91cf<br \/>\nCompressionSession\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u53ea\u5426\u542f\u7528\u538b\u7f29\u534f\u8bae<br \/>\nConnectionsGlobal\u8bd5\u56fe\u8fde\u63a5\u5230(\u4e0d\u7ba1\u662f\u5426\u6210\u529f)MySQL\u670d\u52a1\u5668\u7684\u8fde\u63a5\u6570<br \/>\nCreated_tmp_disk_tablesBoth\u670d\u52a1\u5668\u6267\u884c\u8bed\u53e5\u65f6\u5728\u786c\u76d8\u4e0a\u81ea\u52a8\u521b\u5efa\u7684\u4e34\u65f6\u8868\u7684\u6570\u91cf<br \/>\nCreated_tmp_filesGlobalmysqld\u5df2\u7ecf\u521b\u5efa\u7684\u4e34\u65f6\u6587\u4ef6\u7684\u6570\u91cf<br \/>\nCreated_tmp_tablesBoth\u670d\u52a1\u5668\u6267\u884c\u8bed\u53e5\u65f6\u81ea\u52a8\u521b\u5efa\u7684\u5185\u5b58\u4e2d\u7684\u4e34\u65f6\u8868\u7684\u6570\u91cf\u3002\u5982\u679cCreated_tmp_disk_tables\u8f83\u5927\uff0c\u4f60\u53ef\u80fd\u8981\u589e\u52a0tmp_table_size\u503c\u4f7f\u4e34\u65f6 \u8868\u57fa\u4e8e\u5185\u5b58\u800c\u4e0d\u57fa\u4e8e\u786c\u76d8<br \/>\nDelayed_errorsGlobal\u7528INSERT DELAYED\u5199\u7684\u51fa\u73b0\u9519\u8bef\u7684\u884c\u6570(\u53ef\u80fd\u4e3aduplicate key)\u3002<br \/>\nDelayed_insert_threadsGlobal\u4f7f\u7528\u7684INSERT DELAYED\u5904\u7406\u5668\u7ebf\u7a0b\u6570\u3002<br \/>\nDelayed_writesGlobal\u5199\u5165\u7684INSERT DELAYED\u884c\u6570<br \/>\nFlush_commandsGlobal\u6267\u884c\u7684FLUSH\u8bed\u53e5\u6570\u3002<br \/>\nHandler_commitBoth\u5185\u90e8\u63d0\u4ea4\u8bed\u53e5\u6570<br \/>\nHandler_deleteBoth\u884c\u4ece\u8868\u4e2d\u5220\u9664\u7684\u6b21\u6570\u3002<br \/>\nHandler_discoverBothMySQL\u670d\u52a1\u5668\u53ef\u4ee5\u95eeNDB CLUSTER\u5b58\u50a8\u5f15\u64ce\u662f\u5426\u77e5\u9053\u67d0\u4e00\u540d\u5b57\u7684\u8868\u3002\u8fd9\u88ab\u79f0\u4f5c\u53d1\u73b0\u3002Handler_discover\u8bf4\u660e\u901a\u8fc7\u8be5\u65b9\u6cd5\u53d1\u73b0\u7684\u6b21\u6570\u3002<br \/>\nHandler_prepareBothA counter for the prepare phase of two-phase commit operations.<br \/>\nHandler_read_firstBoth\u7d22\u5f15\u4e2d\u7b2c\u4e00\u6761\u88ab\u8bfb\u7684\u6b21\u6570\u3002\u5982\u679c\u8f83\u9ad8\uff0c\u5b83\u5efa\u8bae\u670d\u52a1\u5668\u6b63\u6267\u884c\u5927\u91cf\u5168\u7d22\u5f15\u626b\u63cf\uff1b\u4f8b\u5982\uff0cSELECT col1 FROM foo\uff0c\u5047\u5b9acol1\u6709\u7d22\u5f15\u3002<br \/>\nHandler_read_keyBoth\u6839\u636e\u952e\u8bfb\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002\u5982\u679c\u8f83\u9ad8\uff0c\u8bf4\u660e\u67e5\u8be2\u548c\u8868\u7684\u7d22\u5f15\u6b63\u786e\u3002<br \/>\nHandler_read_nextBoth\u6309\u7167\u952e\u987a\u5e8f\u8bfb\u4e0b\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002\u5982\u679c\u4f60\u7528\u8303\u56f4\u7ea6\u675f\u6216\u5982\u679c\u6267\u884c\u7d22\u5f15\u626b\u63cf\u6765\u67e5\u8be2\u7d22\u5f15\u5217\uff0c\u8be5\u503c\u589e\u52a0\u3002<br \/>\nHandler_read_prevBoth\u6309\u7167\u952e\u987a\u5e8f\u8bfb\u524d\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002\u8be5\u8bfb\u65b9\u6cd5\u4e3b\u8981\u7528\u4e8e\u4f18\u5316ORDER BY &#8230; DESC\u3002<br \/>\nHandler_read_rndBoth\u6839\u636e\u56fa\u5b9a\u4f4d\u7f6e\u8bfb\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002\u5982\u679c\u4f60\u6b63\u6267\u884c\u5927\u91cf\u67e5\u8be2\u5e76\u9700\u8981\u5bf9\u7ed3\u679c\u8fdb\u884c\u6392\u5e8f\u8be5\u503c\u8f83\u9ad8\u3002\u4f60\u53ef\u80fd\u4f7f\u7528\u4e86\u5927\u91cf\u9700\u8981MySQL\u626b\u63cf\u6574\u4e2a\u8868\u7684\u67e5\u8be2\u6216\u4f60\u7684\u8fde\u63a5\u6ca1\u6709\u6b63\u786e\u4f7f\u7528\u952e\u3002<br \/>\nHandler_read_rnd_nextBoth\u5728\u6570\u636e\u6587\u4ef6\u4e2d\u8bfb\u4e0b\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002\u5982\u679c\u4f60\u6b63\u8fdb\u884c\u5927\u91cf\u7684\u8868\u626b\u63cf\uff0c\u8be5\u503c\u8f83\u9ad8\u3002\u901a\u5e38\u8bf4\u660e\u4f60\u7684\u8868\u7d22\u5f15\u4e0d\u6b63\u786e\u6216\u5199\u5165\u7684\u67e5\u8be2\u6ca1\u6709\u5229\u7528\u7d22\u5f15\u3002<br \/>\nHandler_rollbackBoth\u5185\u90e8ROLLBACK\u8bed\u53e5\u7684\u6570\u91cf\u3002<br \/>\nHandler_savepointBoth\u5728\u4e00\u4e2a\u5b58\u50a8\u5f15\u64ce\u653e\u7f6e\u4e00\u4e2a\u4fdd\u5b58\u70b9\u7684\u8bf7\u6c42\u6570\u91cf\u3002<br \/>\nHandler_savepoint_rollbackBoth\u5728\u4e00\u4e2a\u5b58\u50a8\u5f15\u64ce\u7684\u8981\u6c42\u56de\u6eda\u5230\u4e00\u4e2a\u4fdd\u5b58\u70b9\u6570\u76ee\u3002<br \/>\nHandler_updateBoth\u5728\u8868\u5185\u66f4\u65b0\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002<br \/>\nHandler_writeBoth\u5728\u8868\u5185\u63d2\u5165\u4e00\u884c\u7684\u8bf7\u6c42\u6570\u3002<br \/>\nInnodb_buffer_pool_pages_dataGlobal\u5305\u542b\u6570\u636e\u7684\u9875\u6570(\u810f\u6216\u5e72\u51c0)\u3002<br \/>\nInnodb_buffer_pool_pages_dirtyGlobal\u5f53\u524d\u7684\u810f\u9875\u6570\u3002<br \/>\nInnodb_buffer_pool_pages_flushedGlobal\u8981\u6c42\u6e05\u7a7a\u7684\u7f13\u51b2\u6c60\u9875\u6570<br \/>\nInnodb_buffer_pool_pages_freeGlobal\u7a7a\u9875\u6570\u3002<br \/>\nInnodb_buffer_pool_pages_latchedGlobal\u5728InnoDB\u7f13\u51b2\u6c60\u4e2d\u9501\u5b9a\u7684\u9875\u6570\u3002\u8fd9\u662f\u5f53\u524d\u6b63\u8bfb\u6216\u5199\u6216\u7531\u4e8e\u5176\u5b83\u539f\u56e0\u4e0d\u80fd\u6e05\u7a7a\u6216\u5220\u9664\u7684\u9875\u6570\u3002<br \/>\nInnodb_buffer_pool_pages_miscGlobal\u5fd9\u7684\u9875\u6570\uff0c\u56e0\u4e3a\u5b83\u4eec\u5df2\u7ecf\u88ab\u5206\u914d\u4f18\u5148\u7528\u4f5c\u7ba1\u7406\uff0c\u4f8b\u5982\u884c\u9501\u5b9a\u6216\u9002\u7528\u7684\u54c8\u5e0c\u7d22\u5f15\u3002\u8be5\u503c\u8fd8\u53ef\u4ee5\u8ba1\u7b97\u4e3aInnodb_buffer_pool_pages_total &#8211; Innodb_buffer_pool_pages_free &#8211; Innodb_buffer_pool_pages_data\u3002<br \/>\nInnodb_buffer_pool_pages_totalGlobal\u7f13\u51b2\u6c60\u603b\u5927\u5c0f\uff08\u9875\u6570\uff09\u3002<br \/>\nInnodb_buffer_pool_read_ahead_rndGlobalInnoDB\u521d\u59cb\u5316\u7684\u201c\u968f\u673a\u201dread-aheads\u6570\u3002\u5f53\u67e5\u8be2\u4ee5\u968f\u673a\u987a\u5e8f\u626b\u63cf\u8868\u7684\u4e00\u5927\u90e8\u5206\u65f6\u53d1\u751f\u3002<br \/>\nInnodb_buffer_pool_read_ahead_seqGlobalInnoDB\u521d\u59cb\u5316\u7684\u987a\u5e8fread-aheads\u6570\u3002\u5f53InnoDB\u6267\u884c\u987a\u5e8f\u5168\u8868\u626b\u63cf\u65f6\u53d1\u751f\u3002<br \/>\nInnodb_buffer_pool_read_requestsGlobalInnoDB\u5df2\u7ecf\u5b8c\u6210\u7684\u903b\u8f91\u8bfb\u8bf7\u6c42\u6570\u3002<br \/>\nInnodb_buffer_pool_readsGlobal\u4e0d\u80fd\u6ee1\u8db3InnoDB\u5fc5\u987b\u5355\u9875\u8bfb\u53d6\u7684\u7f13\u51b2\u6c60\u4e2d\u7684\u903b\u8f91\u8bfb\u6570\u91cf\u3002<br \/>\nInnodb_buffer_pool_wait_freeGlobal\u4e00\u822c\u60c5\u51b5\uff0c\u901a\u8fc7\u540e\u53f0\u5411InnoDB\u7f13\u51b2\u6c60\u5199\u3002\u4f46\u662f\uff0c\u5982\u679c\u9700\u8981\u8bfb\u6216\u521b\u5efa\u9875\uff0c\u5e76\u4e14\u6ca1\u6709\u5e72\u51c0\u7684\u9875\u53ef\u7528\uff0c\u5219\u5b83\u8fd8\u9700\u8981\u5148\u7b49\u5f85\u9875\u9762\u6e05\u7a7a\u3002\u8be5\u8ba1\u6570\u5668\u5bf9\u7b49\u5f85\u5b9e\u4f8b\u8fdb\u884c\u8bb0\u6570\u3002\u5982\u679c\u5df2\u7ecf\u9002\u5f53\u8bbe\u7f6e\u7f13\u51b2\u6c60\u5927\u5c0f\uff0c\u8be5\u503c\u5e94\u5c0f\u3002<br \/>\nInnodb_buffer_pool_write_requestsGlobal\u5411InnoDB\u7f13\u51b2\u6c60\u7684\u5199\u6570\u91cf\u3002<br \/>\nInnodb_data_fsyncsGlobalfsync()\u64cd\u4f5c\u6570\u3002<br \/>\nInnodb_data_pending_fsyncsGlobal\u5f53\u524d\u6302\u8d77\u7684fsync()\u64cd\u4f5c\u6570\u3002<br \/>\nInnodb_data_pending_readsGlobal\u5f53\u524d\u6302\u8d77\u7684\u8bfb\u6570\u3002<br \/>\nInnodb_data_pending_writesGlobal\u5f53\u524d\u6302\u8d77\u7684\u5199\u6570\u3002<br \/>\nInnodb_data_readGlobal\u81f3\u6b64\u5df2\u7ecf\u8bfb\u53d6\u7684\u6570\u636e\u6570\u91cf\uff08\u5b57\u8282\uff09\u3002<br \/>\nInnodb_data_readsGlobal\u6570\u636e\u8bfb\u603b\u6570\u91cf\u3002<br \/>\nInnodb_data_writesGlobal\u6570\u636e\u5199\u603b\u6570\u91cf\u3002<br \/>\nInnodb_data_writtenGlobal\u81f3\u6b64\u5df2\u7ecf\u5199\u5165\u7684\u6570\u636e\u91cf\uff08\u5b57\u8282\uff09\u3002<br \/>\nInnodb_dblwr_pages_writtenGlobal\u5df2\u7ecf\u6267\u884c\u7684\u53cc\u5199\u64cd\u4f5c\u6570\u91cf<br \/>\nInnodb_dblwr_writesGlobal\u53cc\u5199\u64cd\u4f5c\u5df2\u7ecf\u5199\u597d\u7684\u9875\u6570<br \/>\nInnodb_log_waitsGlobal\u6211\u4eec\u5fc5\u987b\u7b49\u5f85\u7684\u65f6\u95f4\uff0c\u56e0\u4e3a\u65e5\u5fd7\u7f13\u51b2\u533a\u592a\u5c0f\uff0c\u6211\u4eec\u5728\u7ee7\u7eed\u524d\u5fc5\u987b\u5148\u7b49\u5f85\u5bf9\u5b83\u6e05\u7a7a<\/p>\n<p>Innodb_log_write_requestsGlobal\u65e5\u5fd7\u5199\u8bf7\u6c42\u6570\u3002<br \/>\nInnodb_log_writesGlobal\u5411\u65e5\u5fd7\u6587\u4ef6\u7684\u7269\u7406\u5199\u6570\u91cf\u3002<br \/>\nInnodb_os_log_fsyncsGlobal\u5411\u65e5\u5fd7\u6587\u4ef6\u5b8c\u6210\u7684fsync()\u5199\u6570\u91cf\u3002<br \/>\nInnodb_os_log_pending_fsyncsGlobal\u6302\u8d77\u7684\u65e5\u5fd7\u6587\u4ef6fsync()\u64cd\u4f5c\u6570\u91cf\u3002<br \/>\nInnodb_os_log_pending_writesGlobal\u6302\u8d77\u7684\u65e5\u5fd7\u6587\u4ef6\u5199\u64cd\u4f5c<br \/>\nInnodb_os_log_writtenGlobal\u5199\u5165\u65e5\u5fd7\u6587\u4ef6\u7684\u5b57\u8282\u6570\u3002<br \/>\nInnodb_page_sizeGlobal\u7f16\u8bd1\u7684InnoDB\u9875\u5927\u5c0f(\u9ed8\u8ba416KB)\u3002\u8bb8\u591a\u503c\u7528\u9875\u6765\u8bb0\u6570\uff1b\u9875\u7684\u5927\u5c0f\u5f88\u5bb9\u6613\u8f6c\u6362\u4e3a\u5b57\u8282\u3002<br \/>\nInnodb_pages_createdGlobal\u521b\u5efa\u7684\u9875\u6570\u3002<br \/>\nInnodb_pages_readGlobal\u8bfb\u53d6\u7684\u9875\u6570\u3002<br \/>\nInnodb_pages_writtenGlobal\u5199\u5165\u7684\u9875\u6570\u3002<br \/>\nInnodb_row_lock_current_waitsGlobal\u5f53\u524d\u7b49\u5f85\u7684\u5f85\u9501\u5b9a\u7684\u884c\u6570\u3002<br \/>\nInnodb_row_lock_timeGlobal\u884c\u9501\u5b9a\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\u3002<br \/>\nInnodb_row_lock_time_avgGlobal\u884c\u9501\u5b9a\u7684\u5e73\u5747\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\u3002<br \/>\nInnodb_row_lock_time_maxGlobal\u884c\u9501\u5b9a\u7684\u6700\u957f\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\u3002<br \/>\nInnodb_row_lock_waitsGlobal\u4e00\u884c\u9501\u5b9a\u5fc5\u987b\u7b49\u5f85\u7684\u65f6\u95f4\u6570\u3002<br \/>\nInnodb_rows_deletedGlobal\u4eceInnoDB\u8868\u5220\u9664\u7684\u884c\u6570\u3002<br \/>\nInnodb_rows_insertedGlobal\u63d2\u5165\u5230InnoDB\u8868\u7684\u884c\u6570\u3002<br \/>\nInnodb_rows_readGlobal\u4eceInnoDB\u8868\u8bfb\u53d6\u7684\u884c\u6570\u3002<br \/>\nInnodb_rows_updatedGlobalInnoDB\u8868\u5185\u66f4\u65b0\u7684\u884c\u6570\u3002<br \/>\nKey_blocks_not_flushedGlobal\u952e\u7f13\u5b58\u5185\u5df2\u7ecf\u66f4\u6539\u4f46\u8fd8\u6ca1\u6709\u6e05\u7a7a\u5230\u786c\u76d8\u4e0a\u7684\u952e\u7684\u6570\u636e\u5757\u6570\u91cf\u3002<br \/>\nKey_blocks_unusedGlobal\u952e\u7f13\u5b58\u5185\u672a\u4f7f\u7528\u7684\u5757\u6570\u91cf\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u8be5\u503c\u6765\u786e\u5b9a\u4f7f\u7528\u4e86\u591a\u5c11\u952e\u7f13\u5b58<br \/>\nKey_blocks_usedGlobal\u952e\u7f13\u5b58\u5185\u4f7f\u7528\u7684\u5757\u6570\u91cf\u3002\u8be5\u503c\u4e3a\u9ad8\u6c34\u5e73\u7ebf\u6807\u8bb0\uff0c\u8bf4\u660e\u5df2\u7ecf\u540c\u65f6\u6700\u591a\u4f7f\u7528\u4e86\u591a\u5c11\u5757\u3002<br \/>\nKey_read_requestsGlobal\u4ece\u7f13\u5b58\u8bfb\u952e\u7684\u6570\u636e\u5757\u7684\u8bf7\u6c42\u6570\u3002<br \/>\nKey_readsGlobal\u4ece\u786c\u76d8\u8bfb\u53d6\u952e\u7684\u6570\u636e\u5757\u7684\u6b21\u6570\u3002\u5982\u679cKey_reads\u8f83\u5927\uff0c\u5219Key_buffer_size\u503c\u53ef\u80fd\u592a\u5c0f\u3002\u53ef\u4ee5\u7528Key_reads\/Key_read_requests\u8ba1\u7b97\u7f13\u5b58\u635f\u5931\u7387\u3002<br \/>\nKey_write_requestsGlobal\u5c06\u952e\u7684\u6570\u636e\u5757\u5199\u5165\u7f13\u5b58\u7684\u8bf7\u6c42\u6570\u3002<br \/>\nKey_writesGlobal\u5411\u786c\u76d8\u5199\u5165\u5c06\u952e\u7684\u6570\u636e\u5757\u7684\u7269\u7406\u5199\u64cd\u4f5c\u7684\u6b21\u6570\u3002<br \/>\nLast_query_costSession\u7528\u67e5\u8be2\u4f18\u5316\u5668\u8ba1\u7b97\u7684\u6700\u540e\u7f16\u8bd1\u7684\u67e5\u8be2\u7684\u603b\u6210\u672c\u3002\u7528\u4e8e\u5bf9\u6bd4\u540c\u4e00\u67e5\u8be2\u7684\u4e0d\u540c\u67e5\u8be2\u65b9\u6848\u7684\u6210\u672c\u3002\u9ed8\u8ba4\u503c0\u8868\u793a\u8fd8\u6ca1\u6709\u7f16\u8bd1\u67e5\u8be2\u3002 \u9ed8\u8ba4\u503c\u662f0\u3002Last_query_cost\u5177\u6709\u4f1a\u8bdd\u8303\u56f4\u3002<br \/>\nMax_used_connectionsGlobal\u670d\u52a1\u5668\u542f\u52a8\u540e\u5df2\u7ecf\u540c\u65f6\u4f7f\u7528\u7684\u8fde\u63a5\u7684\u6700\u5927\u6570\u91cf\u3002<br \/>\nndb*\u00a0ndb\u96c6\u7fa4\u76f8\u5173<br \/>\nNot_flushed_delayed_rowsGlobal\u7b49\u5f85\u5199\u5165INSERT DELAY\u961f\u5217\u7684\u884c\u6570\u3002<br \/>\nOpen_filesGlobal\u6253\u5f00\u7684\u6587\u4ef6\u7684\u6570\u76ee\u3002<br \/>\nOpen_streamsGlobal\u6253\u5f00\u7684\u6d41\u7684\u6570\u91cf(\u4e3b\u8981\u7528\u4e8e\u8bb0\u5f55)\u3002<br \/>\nOpen_table_definitionsGlobal\u7f13\u5b58\u7684.frm\u6587\u4ef6\u6570\u91cf<br \/>\nOpen_tablesBoth\u5f53\u524d\u6253\u5f00\u7684\u8868\u7684\u6570\u91cf\u3002<\/p>\n<p>Opened_filesGlobal\u6587\u4ef6\u6253\u5f00\u7684\u6570\u91cf\u3002\u4e0d\u5305\u62ec\u8bf8\u5982\u5957\u63a5\u5b57\u6216\u7ba1\u9053\u5176\u4ed6\u7c7b\u578b\u7684\u6587\u4ef6\u3002 \u4e5f\u4e0d\u5305\u62ec\u5b58\u50a8\u5f15\u64ce\u7528\u6765\u505a\u81ea\u5df1\u7684\u5185\u90e8\u529f\u80fd\u7684\u6587\u4ef6\u3002<br \/>\nOpened_table_definitionsBoth\u5df2\u7ecf\u7f13\u5b58\u7684.frm\u6587\u4ef6\u6570\u91cf<br \/>\nOpened_tablesBoth\u5df2\u7ecf\u6253\u5f00\u7684\u8868\u7684\u6570\u91cf\u3002\u5982\u679cOpened_tables\u8f83\u5927\uff0ctable_cache \u503c\u53ef\u80fd\u592a\u5c0f\u3002<br \/>\nPrepared_stmt_countGlobal\u5f53\u524d\u7684\u9884\u5904\u7406\u8bed\u53e5\u7684\u6570\u91cf\u3002 (\u6700\u5927\u6570\u4e3a\u7cfb\u7edf\u53d8\u91cf: max_prepared_stmt_count)<br \/>\nQcache_free_blocksGlobal\u67e5\u8be2\u7f13\u5b58\u5185\u81ea\u7531\u5185\u5b58\u5757\u7684\u6570\u91cf\u3002<br \/>\nQcache_free_memoryGlobal\u7528\u4e8e\u67e5\u8be2\u7f13\u5b58\u7684\u81ea\u7531\u5185\u5b58\u7684\u6570\u91cf\u3002<br \/>\nQcache_hitsGlobal\u67e5\u8be2\u7f13\u5b58\u88ab\u8bbf\u95ee\u7684\u6b21\u6570\u3002<br \/>\nQcache_insertsGlobal\u52a0\u5165\u5230\u7f13\u5b58\u7684\u67e5\u8be2\u6570\u91cf\u3002<br \/>\nQcache_lowmem_prunesGlobal\u7531\u4e8e\u5185\u5b58\u8f83\u5c11\u4ece\u7f13\u5b58\u5220\u9664\u7684\u67e5\u8be2\u6570\u91cf\u3002<br \/>\nQcache_not_cachedGlobal\u975e\u7f13\u5b58\u67e5\u8be2\u6570(\u4e0d\u53ef\u7f13\u5b58\uff0c\u6216\u7531\u4e8equery_cache_type\u8bbe\u5b9a\u503c\u672a\u7f13\u5b58)\u3002<br \/>\nQcache_queries_in_cacheGlobal\u767b\u8bb0\u5230\u7f13\u5b58\u5185\u7684\u67e5\u8be2\u7684\u6570\u91cf\u3002<br \/>\nQcache_total_blocksGlobal\u67e5\u8be2\u7f13\u5b58\u5185\u7684\u603b\u5757\u6570\u3002<br \/>\nQueriesBoth\u670d\u52a1\u5668\u6267\u884c\u7684\u8bf7\u6c42\u4e2a\u6570\uff0c\u5305\u542b\u5b58\u50a8\u8fc7\u7a0b\u4e2d\u7684\u8bf7\u6c42\u3002<br \/>\nQuestionsBoth\u5df2\u7ecf\u53d1\u9001\u7ed9\u670d\u52a1\u5668\u7684\u67e5\u8be2\u7684\u4e2a\u6570\u3002<br \/>\nRpl_statusGlobal\u5931\u8d25\u5b89\u5168\u590d\u5236\u72b6\u6001(\u8fd8\u672a\u4f7f\u7528)\u3002<br \/>\nSelect_full_joinBoth\u6ca1\u6709\u4f7f\u7528\u7d22\u5f15\u7684\u8054\u63a5\u7684\u6570\u91cf\u3002\u5982\u679c\u8be5\u503c\u4e0d\u4e3a0,\u4f60\u5e94\u4ed4\u7ec6\u68c0\u67e5\u8868\u7684\u7d22\u5f15<br \/>\nSelect_full_range_joinBoth\u5728\u5f15\u7528\u7684\u8868\u4e2d\u4f7f\u7528\u8303\u56f4\u641c\u7d22\u7684\u8054\u63a5\u7684\u6570\u91cf\u3002<br \/>\nSelect_rangeBoth\u5728\u7b2c\u4e00\u4e2a\u8868\u4e2d\u4f7f\u7528\u8303\u56f4\u7684\u8054\u63a5\u7684\u6570\u91cf\u3002\u4e00\u822c\u60c5\u51b5\u4e0d\u662f\u5173\u952e\u95ee\u9898\uff0c\u5373\u4f7f\u8be5\u503c\u76f8\u5f53\u5927\u3002<br \/>\nSelect_range_checkBoth\u5728\u6bcf\u4e00\u884c\u6570\u636e\u540e\u5bf9\u952e\u503c\u8fdb\u884c\u68c0\u67e5\u7684\u4e0d\u5e26\u952e\u503c\u7684\u8054\u63a5\u7684\u6570\u91cf\u3002\u5982\u679c\u4e0d\u4e3a0\uff0c\u4f60\u5e94\u4ed4\u7ec6\u68c0\u67e5\u8868\u7684\u7d22\u5f15\u3002<br \/>\nSelect_scanBoth\u5bf9\u7b2c\u4e00\u4e2a\u8868\u8fdb\u884c\u5b8c\u5168\u626b\u63cf\u7684\u8054\u63a5\u7684\u6570\u91cf\u3002<br \/>\nSlave_heartbeat_periodGlobal\u590d\u5236\u7684\u5fc3\u8df3\u95f4\u9694<br \/>\nSlave_open_temp_tablesGlobal\u4ece\u670d\u52a1\u5668\u6253\u5f00\u7684\u4e34\u65f6\u8868\u6570\u91cf<br \/>\nSlave_received_heartbeatsGlobal\u4ece\u670d\u52a1\u5668\u5fc3\u8df3\u6570<br \/>\nSlave_retried_transactionsGlobal\u672c\u6b21\u542f\u52a8\u4ee5\u6765\u4ece\u670d\u52a1\u5668\u590d\u5236\u7ebf\u7a0b\u91cd\u8bd5\u6b21\u6570<br \/>\nSlave_runningGlobal\u5982\u679c\u8be5\u670d\u52a1\u5668\u662f\u8fde\u63a5\u5230\u4e3b\u670d\u52a1\u5668\u7684\u4ece\u670d\u52a1\u5668\uff0c\u5219\u8be5\u503c\u4e3aON\u3002<br \/>\nSlow_launch_threadsBoth\u521b\u5efa\u65f6\u95f4\u8d85\u8fc7slow_launch_time\u79d2\u7684\u7ebf\u7a0b\u6570\u3002<br \/>\nSlow_queriesBoth\u67e5\u8be2\u65f6\u95f4\u8d85\u8fc7long_query_time\u79d2\u7684\u67e5\u8be2\u7684\u4e2a\u6570\u3002<br \/>\nSort_merge_passesBoth\u6392\u5e8f\u7b97\u6cd5\u5df2\u7ecf\u6267\u884c\u7684\u5408\u5e76\u7684\u6570\u91cf\u3002\u5982\u679c\u8fd9\u4e2a\u53d8\u91cf\u503c\u8f83\u5927\uff0c\u5e94\u8003\u8651\u589e\u52a0sort_buffer_size\u7cfb\u7edf\u53d8\u91cf\u7684\u503c\u3002<br \/>\nSort_rangeBoth\u5728\u8303\u56f4\u5185\u6267\u884c\u7684\u6392\u5e8f\u7684\u6570\u91cf\u3002<br \/>\nSort_rowsBoth\u5df2\u7ecf\u6392\u5e8f\u7684\u884c\u6570\u3002<br \/>\nSort_scanBoth\u901a\u8fc7\u626b\u63cf\u8868\u5b8c\u6210\u7684\u6392\u5e8f\u7684\u6570\u91cf\u3002<br \/>\nssl\uff0a\u00a0ssl\u8fde\u63a5\u76f8\u5173<br \/>\nTable_locks_immediateGlobal\u7acb\u5373\u83b7\u5f97\u7684\u8868\u7684\u9501\u7684\u6b21\u6570\u3002<br \/>\nTable_locks_waitedGlobal\u4e0d\u80fd\u7acb\u5373\u83b7\u5f97\u7684\u8868\u7684\u9501\u7684\u6b21\u6570\u3002\u5982\u679c\u8be5\u503c\u8f83\u9ad8\uff0c\u5e76\u4e14\u6709\u6027\u80fd\u95ee\u9898\uff0c\u4f60\u5e94\u9996\u5148\u4f18\u5316\u67e5\u8be2\uff0c\u7136\u540e\u62c6\u5206\u8868\u6216\u4f7f\u7528\u590d\u5236\u3002<br \/>\nThreads_cachedGlobal\u7ebf\u7a0b\u7f13\u5b58\u5185\u7684\u7ebf\u7a0b\u7684\u6570\u91cf\u3002<br \/>\nThreads_connectedGlobal\u5f53\u524d\u6253\u5f00\u7684\u8fde\u63a5\u7684\u6570\u91cf\u3002<br \/>\nThreads_createdGlobal\u521b\u5efa\u7528\u6765\u5904\u7406\u8fde\u63a5\u7684\u7ebf\u7a0b\u6570\u3002\u5982\u679cThreads_created\u8f83\u5927\uff0c\u4f60\u53ef\u80fd\u8981\u589e\u52a0thread_cache_size\u503c\u3002\u7f13\u5b58\u8bbf\u95ee\u7387\u7684\u8ba1\u7b97\u65b9\u6cd5Threads_created\/Connections\u3002<br \/>\nThreads_runningGlobal\u6fc0\u6d3b\u7684\uff08\u975e\u7761\u7720\u72b6\u6001\uff09\u7ebf\u7a0b\u6570\u3002<br \/>\nUptimeGlobal\u670d\u52a1\u5668\u5df2\u7ecf\u8fd0\u884c\u7684\u65f6\u95f4\uff08\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff09\u3002<br \/>\nUptime_since_flush_statusGlobal\u6700\u8fd1\u4e00\u6b21\u4f7f\u7528FLUSH STATUS \u7684\u65f6\u95f4\uff08\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff09\u3002<\/p>\n<p>\u53c2\u8003\u00a0ttlsa.com\/mysql\/mysql_show_status_descriptsions\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u67e5\u770bMySQL\u8fd0\u884c\u72b6\u6001\uff0c\u8981\u4f18\u5316MySQL\u8fd0\u884c\u6548\u7387\u90fd\u5c11\u4e0d\u4e86\u8981\u8fd0\u884cshow sta&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/freesilo.com\/?p=345\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":1,"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":346,"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions\/346"}],"wp:attachment":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}