{"id":40041,"date":"2025-05-27T07:21:16","date_gmt":"2025-05-26T23:21:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/40041.html"},"modified":"2025-05-27T07:21:16","modified_gmt":"2025-05-26T23:21:16","slug":"%e8%ae%bf%e9%97%ae%e9%87%8f%e6%9a%b4%e6%b6%a8%e5%90%8e-mysql-cpu-%e9%a3%99%e7%ba%a2%e3%80%81%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8d%a1%e6%ad%bb%ef%bc%9f%e8%bf%99%e7%af%87%e6%8a%8a%e5%ba%95%e5%b1%82%e9%80%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/40041.html","title":{"rendered":"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b&#xff1f;\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86<\/li>\n<li>\n<ul>\n<li>\u4e00\u3001\u6d41\u91cf\u66b4\u589e\u65f6 MySQL \u4e3a\u4ec0\u4e48\u4f1a\u6210\u4e3a\u300c\u74f6\u9888\u5927\u6237\u300d&#xff1f;<\/li>\n<li>\n<ul>\n<li>&#xff08;1&#xff09;SQL \u67e5\u8be2\u7684\u300c\u4e32\u884c\u5316\u9677\u9631\u300d<\/li>\n<li>&#xff08;2&#xff09;\u7d22\u5f15\u5931\u6548\u7684\u300c\u8774\u8776\u6548\u5e94\u300d<\/li>\n<li>&#xff08;3&#xff09;\u9501\u673a\u5236\u7684\u300c\u8fde\u9501\u53cd\u5e94\u300d<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001\u670d\u52a1\u5668\u5361\u6b7b\u7684\u300c\u6b7b\u4ea1\u4e09\u8fde\u51fb\u300d\u73b0\u573a\u8fd8\u539f<\/li>\n<li>\n<ul>\n<li>\u7b2c 1 \u9636\u6bb5&#xff1a;CPU \u5360\u7528\u7387\u7a81\u7834 80%&#xff08;\u6d41\u91cf\u589e\u957f 50% \u65f6&#xff09;<\/li>\n<li>\u7b2c 2 \u9636\u6bb5&#xff1a;CPU \u5360\u7528\u7387 100%&#xff08;\u6d41\u91cf\u589e\u957f 100% \u65f6&#xff09;<\/li>\n<li>\u7b2c 3 \u9636\u6bb5&#xff1a;\u670d\u52a1\u5668\u5f7b\u5e95\u5361\u6b7b&#xff08;\u6d41\u91cf\u6301\u7eed 10 \u5206\u949f\u540e&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u5b9e\u6218\u4f18\u5316&#xff1a;\u4ece\u300c\u6551\u706b\u300d\u5230\u300c\u9632\u706b\u300d\u7684\u5168\u6d41\u7a0b\u65b9\u6848<\/li>\n<li>\n<ul>\n<li>&#xff08;1&#xff09;\u7d27\u6025\u6b62\u635f&#xff1a;5 \u5206\u949f\u5185\u5fc5\u505a\u7684 3 \u4ef6\u4e8b<\/li>\n<li>&#xff08;2&#xff09;\u957f\u671f\u9632\u62a4&#xff1a;\u67b6\u6784\u5c42\u9762\u7684\u300c\u7ec4\u5408\u62f3\u300d<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u907f\u5751\u6307\u5357&#xff1a;\u4e2d\u5c0f\u56e2\u961f\u6700\u5bb9\u6613\u8e29\u7684 5 \u4e2a\u5751<\/li>\n<li>\u4e94\u3001\u76d1\u63a7\u5fc5\u5907&#xff1a;3 \u4e2a\u5173\u952e\u6307\u6807\u8ba9\u4f60\u63d0\u524d\u9884\u8b66<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b&#xff1f;\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86<\/h2>\n<p>**\u4e0a\u5468\u6709\u4e2a\u505a\u7535\u5546\u7684\u535a\u4e3b\u670b\u53cb\u7a81\u7136\u627e\u5230\u6211&#xff0c;\u8bf4\u4ed6\u7684\u7f51\u7ad9\u5728\u4e00\u6b21\u4fc3\u9500\u6d3b\u52a8\u540e\u5f7b\u5e95\u762b\u75ea\u4e86 \u2014\u2014 \u9996\u9875\u52a0\u8f7d\u8981 10 \u79d2&#xff0c;\u540e\u53f0\u8ba2\u5355\u7cfb\u7edf\u70b9\u4ec0\u4e48\u90fd\u6ca1\u53cd\u5e94&#xff0c;\u670d\u52a1\u5668\u76d1\u63a7\u9875\u9762\u91cc MySQL \u7684 CPU \u5360\u7528\u7387\u76f4\u63a5\u98d9\u5230 100%&#xff0c;\u98ce\u6247\u72c2\u8f6c\u5f97\u50cf\u8981\u8d77\u98de\u3002\u8fd9\u5176\u5b9e\u662f\u5f88\u591a\u4e2d\u5c0f\u56e2\u961f\u5728\u6d41\u91cf\u7a81\u7136\u589e\u957f\u65f6\u6700\u5bb9\u6613\u8e29\u7684\u5751&#xff0c;\u4eca\u5929\u5c31\u4ece\u5e95\u5c42\u903b\u8f91\u5230\u5b9e\u6218\u4f18\u5316&#xff0c;\u628a\u8fd9\u4e2a\u95ee\u9898\u5f7b\u5e95\u8bb2\u6e05\u695a\u3002<\/p>\n<h3>\u4e00\u3001\u6d41\u91cf\u66b4\u589e\u65f6 MySQL \u4e3a\u4ec0\u4e48\u4f1a\u6210\u4e3a\u300c\u74f6\u9888\u5927\u6237\u300d&#xff1f;<\/h3>\n<p>\u5148\u770b\u4e00\u4e2a\u6700\u76f4\u89c2\u7684\u573a\u666f&#xff1a;\u4f60\u5f00\u4e86\u5bb6\u5976\u8336\u5e97&#xff0c;\u5e73\u65f6\u6bcf\u5929 100 \u4e2a\u5ba2\u4eba&#xff0c;\u5427\u53f0\u5c0f\u54e5\u6162\u60a0\u60a0\u5730\u63a5\u5355\u3001\u5236\u4f5c\u3001\u6253\u5305\u5c31\u884c\u3002\u7a81\u7136\u67d0\u5929\u641e\u4e70\u4e00\u9001\u4e00\u6d3b\u52a8&#xff0c;\u6765\u4e86 1000 \u4e2a\u5ba2\u4eba&#xff0c;\u5c0f\u54e5\u5c31\u7b97\u624b\u811a\u5e76\u7528\u4e5f\u4f1a\u624b\u5fd9\u811a\u4e71 \u2014\u2014MySQL \u5728\u6d41\u91cf\u66b4\u589e\u65f6\u5c31\u662f\u8fd9\u4e2a\u300c\u5427\u53f0\u5c0f\u54e5\u300d\u3002<\/p>\n<h4>&#xff08;1&#xff09;SQL \u67e5\u8be2\u7684\u300c\u4e32\u884c\u5316\u9677\u9631\u300d<\/h4>\n<p>\u5f88\u591a\u4eba\u4e0d\u77e5\u9053&#xff0c;MySQL \u9ed8\u8ba4\u662f\u300c\u5355\u7ebf\u7a0b\u5904\u7406\u67e5\u8be2\u300d\u7684\u3002\u5f53 1000 \u4e2a\u7528\u6237\u540c\u65f6\u67e5\u8be2\u5546\u54c1\u5217\u8868\u65f6&#xff0c;\u8fd9\u4e9b\u8bf7\u6c42\u4e0d\u4f1a\u5e76\u884c\u5904\u7406&#xff0c;\u800c\u662f\u50cf\u6392\u961f\u4e00\u6837\u7b49\u7740 MySQL \u9010\u4e2a\u54cd\u5e94\u3002\u60f3\u8c61\u4e00\u4e0b 1000 \u4e2a\u4eba\u540c\u65f6\u8ba9\u4e00\u4e2a\u4eba\u5e2e\u5fd9\u627e\u4e1c\u897f&#xff0c;\u4ed6\u5c31\u7b97\u7ffb\u7bb1\u5012\u67dc\u4e5f\u5fd9\u4e0d\u8fc7\u6765&#xff0c;\u8fd9\u5c31\u662f CPU \u5360\u7528\u7387\u98d9\u5347\u7684\u6838\u5fc3\u539f\u56e0 \u2014\u2014\u5927\u91cf\u67e5\u8be2\u6392\u961f\u5bfc\u81f4 CPU \u5168\u901f\u8fd0\u8f6c\u5904\u7406\u5355\u4e2a\u8bf7\u6c42\u3002<\/p>\n<h4>&#xff08;2&#xff09;\u7d22\u5f15\u5931\u6548\u7684\u300c\u8774\u8776\u6548\u5e94\u300d<\/h4>\n<p>\u5e73\u65f6\u8dd1\u5f97\u5f88\u987a\u7684 SQL&#xff0c;\u5728\u9ad8\u5e76\u53d1\u4e0b\u53ef\u80fd\u7a81\u7136\u300c\u5361\u58f3\u300d\u3002\u6bd4\u5982\u6709\u4e2a\u67e5\u8be2\u8bed\u53e5SELECT * FROM orders WHERE create_time &gt; \u20182023-01-01\u2019&#xff0c;\u5982\u679ccreate_time\u5b57\u6bb5\u6ca1\u6709\u5efa\u7acb\u7d22\u5f15&#xff0c;MySQL \u5c31\u4f1a\u5168\u8868\u626b\u63cf\u3002\u5e73\u65f6 1 \u4e07\u6761\u6570\u636e\u626b\u8d77\u6765\u5f88\u5feb&#xff0c;\u4f46\u6d41\u91cf\u66b4\u589e\u65f6\u8868\u6570\u636e\u53ef\u80fd\u77ac\u95f4\u6da8\u5230 100 \u4e07\u6761&#xff0c;\u5168\u8868\u626b\u63cf\u4e00\u6b21\u5c31\u76f8\u5f53\u4e8e\u8ba9 CPU \u642c 100 \u4e07\u6b21\u7816&#xff0c;\u4e0d\u53d1\u70eb\u624d\u602a\u3002<\/p>\n<h4>&#xff08;3&#xff09;\u9501\u673a\u5236\u7684\u300c\u8fde\u9501\u53cd\u5e94\u300d<\/h4>\n<p>\u4e3e\u4e2a\u771f\u5b9e\u6848\u4f8b&#xff1a;\u67d0\u7535\u5546\u7f51\u7ad9\u5728\u5927\u4fc3\u65f6&#xff0c;\u7528\u6237\u4e0b\u5355\u91cf\u66b4\u589e&#xff0c;MySQL \u91cc\u7684orders\u8868\u9891\u7e41\u51fa\u73b0\u300c\u884c\u9501\u300d\u3002\u5f53\u4e00\u4e2a\u8ba2\u5355\u6b63\u5728\u66f4\u65b0\u72b6\u6001\u65f6&#xff0c;\u5176\u4ed6\u8ba2\u5355\u8bf7\u6c42\u5c31\u5f97\u7b49\u7740&#xff0c;\u7ed3\u679c\u5c31\u662f\u9501\u7b49\u5f85\u961f\u5217\u8d8a\u6765\u8d8a\u957f&#xff0c;CPU \u88ab\u5927\u91cf\u65e0\u6548\u7b49\u5f85\u5360\u7528&#xff0c;\u6700\u540e\u6574\u4e2a\u6570\u636e\u5e93\u50cf\u88ab\u51bb\u4f4f\u4e00\u6837\u3002<\/p>\n<h3>\u4e8c\u3001\u670d\u52a1\u5668\u5361\u6b7b\u7684\u300c\u6b7b\u4ea1\u4e09\u8fde\u51fb\u300d\u73b0\u573a\u8fd8\u539f<\/h3>\n<p>\u6211\u4eec\u901a\u8fc7\u76d1\u63a7\u6570\u636e\u8fd8\u539f\u4e00\u4e2a\u5178\u578b\u7684\u300c\u5d29\u6e83\u73b0\u573a\u300d&#xff0c;\u770b\u770b\u95ee\u9898\u662f\u5982\u4f55\u4e00\u6b65\u6b65\u6076\u5316\u7684&#xff1a;<\/p>\n<h4>\u7b2c 1 \u9636\u6bb5&#xff1a;CPU \u5360\u7528\u7387\u7a81\u7834 80%&#xff08;\u6d41\u91cf\u589e\u957f 50% \u65f6&#xff09;<\/h4>\n<p>\u6b64\u65f6\u670d\u52a1\u5668\u8fd8\u80fd\u52c9\u5f3a\u54cd\u5e94&#xff0c;\u4f46\u5df2\u7ecf\u80fd\u770b\u5230\u5f02\u5e38&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6162\u67e5\u8be2\u65e5\u5fd7\u7a81\u7136\u589e\u591a&#xff0c;\u5e73\u65f6 0.1 \u79d2\u7684\u67e5\u8be2\u73b0\u5728\u8981 1 \u79d2<\/p>\n<\/li>\n<li>\n<p>MySQL \u7684Threads_running\u6307\u6807\u98d9\u5347\u5230 100&#043;&#xff08;\u6b63\u5e38\u5e94\u8be5 &lt; 20&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u7cfb\u7edf\u65e5\u5fd7\u51fa\u73b0CPU scheduler overload\u8b66\u544a<\/p>\n<\/li>\n<\/ul>\n<h4>\u7b2c 2 \u9636\u6bb5&#xff1a;CPU \u5360\u7528\u7387 100%&#xff08;\u6d41\u91cf\u589e\u957f 100% \u65f6&#xff09;<\/h4>\n<p>\u8fd9\u65f6\u5019\u7f51\u7ad9\u5df2\u7ecf\u660e\u663e\u5361\u987f&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6570\u636e\u5e93\u8fde\u63a5\u6570\u8fbe\u5230\u4e0a\u9650&#xff08;\u9ed8\u8ba4 100&#xff09;&#xff0c;\u65b0\u8bf7\u6c42\u88ab\u62d2\u7edd<\/p>\n<\/li>\n<li>\n<p>\u6267\u884cSHOW PROCESSLIST\u80fd\u770b\u5230\u5927\u91cfSending data\u72b6\u6001\u7684\u67e5\u8be2<\/p>\n<\/li>\n<li>\n<p>\u78c1\u76d8 I\/O \u541e\u5410\u91cf\u98d9\u5347\u5230\u5e73\u65f6\u7684 5 \u500d&#xff0c;SSD \u5f00\u59cb\u51fa\u73b0\u8bfb\u5199\u5ef6\u8fdf<\/p>\n<\/li>\n<\/ul>\n<h4>\u7b2c 3 \u9636\u6bb5&#xff1a;\u670d\u52a1\u5668\u5f7b\u5e95\u5361\u6b7b&#xff08;\u6d41\u91cf\u6301\u7eed 10 \u5206\u949f\u540e&#xff09;<\/h4>\n<p>\u6700\u7ec8\u8fdb\u5165\u300c\u6b7b\u4ea1\u5faa\u73af\u300d&#xff1a;<\/p>\n<ul>\n<li>\n<p>MySQL \u8fdb\u7a0b\u88ab\u7cfb\u7edf OOM Killer \u5f3a\u5236\u6740\u6b7b<\/p>\n<\/li>\n<li>\n<p>\u7f51\u7ad9\u8fd4\u56de 502 Bad Gateway \u9519\u8bef<\/p>\n<\/li>\n<li>\n<p>\u91cd\u542f\u670d\u52a1\u5668\u540e\u4e0d\u5230 1 \u5206\u949f\u518d\u6b21\u5361\u6b7b<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e09\u3001\u5b9e\u6218\u4f18\u5316&#xff1a;\u4ece\u300c\u6551\u706b\u300d\u5230\u300c\u9632\u706b\u300d\u7684\u5168\u6d41\u7a0b\u65b9\u6848<\/h3>\n<h4>&#xff08;1&#xff09;\u7d27\u6025\u6b62\u635f&#xff1a;5 \u5206\u949f\u5185\u5fc5\u505a\u7684 3 \u4ef6\u4e8b<\/h4>\n<p>\u2460\u4e34\u65f6\u63d0\u5347 MySQL \u8d44\u6e90&#xff08;\u9002\u5408\u4e91\u670d\u52a1\u5668&#xff09;<\/p>\n<p>&#8212; \u4e34\u65f6\u589e\u52a0\u7f13\u51b2\u6c60\u5927\u5c0f&#xff08;\u6309\u9700\u8c03\u6574&#xff0c;\u4e0d\u8d85\u8fc7\u7269\u7406\u5185\u5b5850%&#xff09;SET GLOBAL innodb_buffer_pool_size &#061; 8G;&#8211; \u589e\u52a0\u8fde\u63a5\u6570&#xff08;\u4e34\u65f6\u503c&#xff0c;\u7528\u5b8c\u8bb0\u5f97\u6539\u56de\u6765&#xff09;SET GLOBAL max_connections &#061; 500;<\/p>\n<p>\u2461\u79d2\u6740\u7ea7 SQL \u4f18\u5316\u627e\u51fa\u6700\u8017 CPU \u7684\u67e5\u8be2&#xff1a;<\/p>\n<p>&#8212; \u67e5\u770b\u6162\u67e5\u8be2\u524d10\u7684SQLSELECT query, total_time FROM information_schema.processlist ORDER BY total_time DESC LIMIT 10;<\/p>\n<p>\u5982\u679c\u53d1\u73b0\u5168\u8868\u626b\u63cf\u7684 SQL&#xff0c;\u7acb\u523b\u6dfb\u52a0\u4e34\u65f6\u7d22\u5f15&#xff1a;<\/p>\n<p>CREATE INDEX idx_create_time ON orders(create_time);<\/p>\n<p>\u2462\u5f00\u542f\u67e5\u8be2\u7f13\u5b58&#xff08;\u9002\u5408\u8bfb\u591a\u5199\u5c11\u573a\u666f&#xff09;<\/p>\n<p>SET GLOBAL query_cache_type &#061; 1;SET GLOBAL query_cache_size &#061; 256M;<\/p>\n<h4>&#xff08;2&#xff09;\u957f\u671f\u9632\u62a4&#xff1a;\u67b6\u6784\u5c42\u9762\u7684\u300c\u7ec4\u5408\u62f3\u300d<\/h4>\n<p>\u2460\u8bfb\u5199\u5206\u79bb &#043; \u4e3b\u4ece\u590d\u5236\u642d\u5efa\u4e3b\u4ece\u67b6\u6784\u540e&#xff0c;\u8bfb\u8bf7\u6c42\u5206\u6d41\u5230\u4ece\u5e93&#xff1a; \u2461\u5f15\u5165 Redis \u505a\u7f13\u5b58\u628a\u9ad8\u9891\u8bbf\u95ee\u6570\u636e\u653e\u5165 Redis&#xff0c;\u6bd4\u5982\u5546\u54c1\u5217\u8868&#xff1a;<\/p>\n<p># \u4f2a\u4ee3\u7801&#xff1a;\u5148\u67e5\u7f13\u5b58&#xff0c;\u518d\u67e5\u6570\u636e\u5e93def get_product_list(): cache_key &#061; &#034;product_list:v1&#034; data &#061; redis.get(cache_key) if not data: data &#061; mysql.query(&#034;SELECT * FROM products&#034;) redis.set(cache_key, data, ex&#061;3600) # \u7f13\u5b581\u5c0f\u65f6 return data<\/p>\n<p>\u2462\u5206\u5e93\u5206\u8868\u7b56\u7565\u5f53\u5355\u8868\u6570\u636e\u8d85\u8fc7 500 \u4e07\u884c\u65f6&#xff0c;\u6309\u65f6\u95f4\u6216 ID \u54c8\u5e0c\u5206\u8868&#xff1a;<\/p>\n<p>&#8212; \u6309\u5e74\u4efd\u5206\u8868\u793a\u4f8bCREATE TABLE orders_2023 LIKE orders;CREATE TABLE orders_2024 LIKE orders;<\/p>\n<h3>\u56db\u3001\u907f\u5751\u6307\u5357&#xff1a;\u4e2d\u5c0f\u56e2\u961f\u6700\u5bb9\u6613\u8e29\u7684 5 \u4e2a\u5751<\/h3>\n<li>\n<p>\u300c\u8fc7\u5ea6\u81ea\u4fe1\u300d\u9677\u9631&#xff1a;\u89c9\u5f97\u300c\u6211\u4eec\u6d41\u91cf\u4e0d\u5927&#xff0c;\u4e0d\u9700\u8981\u4f18\u5316\u300d&#xff0c;\u7ed3\u679c\u4fc3\u9500\u6d3b\u52a8\u4e00\u6765\u76f4\u63a5\u762b\u75ea&#xff08;\u67d0\u6559\u80b2\u7c7b\u516c\u4f17\u53f7\u5c31\u662f\u8fd9\u6837&#xff0c;\u53cc 11 \u6d3b\u52a8\u63a8\u6587\u53d1\u51fa 10 \u5206\u949f\u540e\u670d\u52a1\u5668\u6302\u4e86&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u300c\u7d22\u5f15\u6ee5\u7528\u300d\u9677\u9631&#xff1a;\u7ed9\u6bcf\u4e2a\u5b57\u6bb5\u90fd\u52a0\u7d22\u5f15&#xff0c;\u53cd\u800c\u5bfc\u81f4\u5199\u5165\u6027\u80fd\u66b4\u8dcc&#xff08;\u6b63\u786e\u505a\u6cd5\u662f\u53ea\u7ed9\u67e5\u8be2\u6761\u4ef6\u5b57\u6bb5\u52a0\u7d22\u5f15&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u300c\u5ffd\u7565\u6162\u67e5\u8be2\u300d\u9677\u9631&#xff1a;\u89c9\u5f97\u5076\u5c14\u6162\u4e00\u70b9\u6ca1\u5173\u7cfb&#xff0c;\u7ed3\u679c\u79ef\u7d2f\u6210\u7cfb\u7edf\u6027\u95ee\u9898&#xff08;\u5efa\u8bae\u8bbe\u7f6e\u6162\u67e5\u8be2\u9608\u503c\u4e3a 0.5 \u79d2&#xff0c;\u6bcf\u5929\u5b9a\u65f6\u5206\u6790&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u300c\u6ca1\u505a\u538b\u529b\u6d4b\u8bd5\u300d\u9677\u9631&#xff1a;\u4e0a\u7ebf\u524d\u6ca1\u6a21\u62df\u9ad8\u5e76\u53d1\u573a\u666f&#xff0c;\u5b9e\u9645\u6d41\u91cf\u4e00\u6765\u5c31\u66b4\u9732\u95ee\u9898&#xff08;\u63a8\u8350\u7528 JMeter \u505a\u538b\u6d4b&#xff0c;\u81f3\u5c11\u6a21\u62df 3 \u500d\u9884\u4f30\u6d41\u91cf&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u300c\u5168\u91cf\u67e5\u8be2\u300d\u9677\u9631&#xff1a;\u7528SELECT *\u4ee3\u66ff\u5177\u4f53\u5b57\u6bb5\u67e5\u8be2&#xff0c;\u9ad8\u5e76\u53d1\u4e0b\u4f1a\u4f20\u8f93\u5927\u91cf\u65e0\u6548\u6570\u636e&#xff08;\u67d0\u7535\u5546\u540e\u53f0\u62a5\u8868\u9875\u5c31\u662f\u56e0\u4e3a\u8fd9\u4e2a&#xff0c;\u5bfc\u81f4\u6570\u636e\u5e93\u5e26\u5bbd\u88ab\u5360\u6ee1&#xff09;<\/p>\n<\/li>\n<h3>\u4e94\u3001\u76d1\u63a7\u5fc5\u5907&#xff1a;3 \u4e2a\u5173\u952e\u6307\u6807\u8ba9\u4f60\u63d0\u524d\u9884\u8b66<\/h3>\n<p>\u2460CPU \u4f7f\u7528\u7387\u8d8b\u52bf&#xff08;\u5efa\u8bae\u7528 Prometheus&#043;Grafana \u76d1\u63a7&#xff09;\u5f53\u8fde\u7eed 5 \u5206\u949f\u8d85\u8fc7 70% \u65f6&#xff0c;\u5c31\u8981\u51c6\u5907\u5e94\u5bf9\u6d41\u91cf\u9ad8\u5cf0\u4e86\u2461MySQL QPS&#xff08;\u6bcf\u79d2\u67e5\u8be2\u6570&#xff09;\u901a\u8fc7SHOW GLOBAL STATUS LIKE \u2018Queries\u2019;\u67e5\u770b&#xff0c;\u5f53 QPS \u8d85\u8fc7\u670d\u52a1\u5668\u627f\u8f7d\u80fd\u529b\u7684 80% \u65f6&#xff08;\u6bd4\u5982\u670d\u52a1\u5668\u6700\u5927 QPS \u662f 500&#xff0c;\u8d85\u8fc7 400 \u5c31\u8be5\u8b66\u60d5&#xff09;\u2462InnoDB \u884c\u9501\u7b49\u5f85<\/p>\n<p>&#8212; \u67e5\u770b\u884c\u9501\u7b49\u5f85\u60c5\u51b5SELECT * FROM information_schema.innodb_metrics WHERE name LIKE &#039;row_lock%&#039;;<\/p>\n<p>\u5f53row_lock_waits\u6307\u6807\u7a81\u7136\u4e0a\u5347\u65f6&#xff0c;\u8bf4\u660e\u9501\u7ade\u4e89\u52a0\u5267\u6700\u540e\u5206\u4eab\u4e00\u4e2a\u771f\u5b9e\u6848\u4f8b&#xff1a;\u67d0\u81ea\u5a92\u4f53\u56e2\u961f\u5728\u7c89\u4e1d\u7a81\u7834 10 \u4e07\u540e&#xff0c;\u4e00\u6b21\u7206\u6b3e\u6587\u7ae0\u53d1\u5e03\u5bfc\u81f4\u670d\u52a1\u5668\u5d29\u6e83\u3002\u540e\u6765\u4ed6\u4eec\u6309\u7167\u4e0a\u9762\u7684\u65b9\u6848\u4f18\u5316&#xff0c;\u73b0\u5728\u5373\u4f7f\u5355\u65e5\u8bbf\u95ee\u91cf\u7a81\u7834 50 \u4e07&#xff0c;MySQL CPU \u5360\u7528\u7387\u4e5f\u80fd\u7a33\u5b9a\u5728 40% \u4ee5\u4e0b\u3002\u8bb0\u4f4f&#xff1a;\u6d41\u91cf\u66b4\u589e\u4e0d\u53ef\u6015&#xff0c;\u53ef\u6015\u7684\u662f\u6ca1\u6709\u63d0\u524d\u505a\u597d\u300c\u6297\u538b\u51c6\u5907\u300d\u3002\u5982\u679c\u4f60\u5728\u4f18\u5316\u8fc7\u7a0b\u4e2d\u9047\u5230\u5177\u4f53\u95ee\u9898&#xff0c;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u7559\u8a00&#xff0c;\u6211\u4f1a\u9488\u5bf9\u6027\u89e3\u7b54\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb872\u6b21\uff0c\u70b9\u8d5e25\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u6587\u7ae0\u63a2\u8ba8\u4e86\u5728\u8bbf\u95ee\u91cf\u66b4\u589e\u65f6\uff0cMySQL\u6570\u636e\u5e93\u6210\u4e3a\u6027\u80fd\u74f6\u9888\u7684\u539f\u56e0\u53ca\u4f18\u5316\u7b56\u7565\u3002\u9996\u5148\uff0c\u5206\u6790\u4e86MySQL\u5728\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684\u4e09\u5927\u95ee\u9898\uff1a\u5355\u7ebf\u7a0b\u5904\u7406\u67e5\u8be2\u3001\u7d22\u5f15\u5931\u6548\u548c\u9501\u673a\u5236\u5bfc\u81f4\u7684\u6027\u80fd\u4e0b\u964d\u3002\u63a5\u7740\uff0c\u901a\u8fc7\u76d1\u63a7\u6570\u636e\u8fd8\u539f\u4e86\u670d\u52a1\u5668\u4eceCPU\u5360\u7528\u7387\u98d9\u5347\u5230\u6700\u7ec8\u5361\u6b7b\u7684\u4e09\u4e2a\u9636\u6bb5\u3002\u6587\u7ae0\u8fd8\u63d0\u4f9b\u4e86\u7d27\u6025\u6b62\u635f\u548c\u957f\u671f\u9632\u62a4\u7684\u4f18\u5316\u65b9\u6848\uff0c\u5305\u62ec\u4e34\u65f6\u63d0\u5347MySQL\u8d44\u6e90\u3001SQL\u4f18\u5316\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5f15\u5165Redis\u7f13\u5b58\u548c\u5206\u5e93\u5206\u8868\u7b56\u7565\u3002\u6700\u540e\uff0c\u603b\u7ed3\u4e86\u4e2d\u5c0f\u56e2\u961f\u5728\u6570\u636e\u5e93\u4f18\u5316\u4e2d\u5bb9\u6613\u8e29\u7684\u4e94\u4e2a\u5751\uff0c\u5e76\u5f3a\u8c03\u4e86\u76d1\u63a7\u5173\u952e\u6307\u6807\u7684\u91cd\u8981\u6027\u3002\u901a\u8fc7\u5b9e\u9645\u6848\u4f8b\uff0c\u6587\u7ae0\u5f3a\u8c03\u4e86\u63d0\u524d\u505a\u597d\u6297\u538b\u51c6\u5907\u7684\u91cd\u8981\u6027\uff0c\u4ee5\u907f\u514d\u6d41\u91cf\u66b4\u589e\u5bfc\u81f4<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[114,100,43],"topic":[],"class_list":["post-40041","post","type-post","status-publish","format-standard","hentry","category-server","tag-mysql","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/40041.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb872\u6b21\uff0c\u70b9\u8d5e25\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u6587\u7ae0\u63a2\u8ba8\u4e86\u5728\u8bbf\u95ee\u91cf\u66b4\u589e\u65f6\uff0cMySQL\u6570\u636e\u5e93\u6210\u4e3a\u6027\u80fd\u74f6\u9888\u7684\u539f\u56e0\u53ca\u4f18\u5316\u7b56\u7565\u3002\u9996\u5148\uff0c\u5206\u6790\u4e86MySQL\u5728\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684\u4e09\u5927\u95ee\u9898\uff1a\u5355\u7ebf\u7a0b\u5904\u7406\u67e5\u8be2\u3001\u7d22\u5f15\u5931\u6548\u548c\u9501\u673a\u5236\u5bfc\u81f4\u7684\u6027\u80fd\u4e0b\u964d\u3002\u63a5\u7740\uff0c\u901a\u8fc7\u76d1\u63a7\u6570\u636e\u8fd8\u539f\u4e86\u670d\u52a1\u5668\u4eceCPU\u5360\u7528\u7387\u98d9\u5347\u5230\u6700\u7ec8\u5361\u6b7b\u7684\u4e09\u4e2a\u9636\u6bb5\u3002\u6587\u7ae0\u8fd8\u63d0\u4f9b\u4e86\u7d27\u6025\u6b62\u635f\u548c\u957f\u671f\u9632\u62a4\u7684\u4f18\u5316\u65b9\u6848\uff0c\u5305\u62ec\u4e34\u65f6\u63d0\u5347MySQL\u8d44\u6e90\u3001SQL\u4f18\u5316\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5f15\u5165Redis\u7f13\u5b58\u548c\u5206\u5e93\u5206\u8868\u7b56\u7565\u3002\u6700\u540e\uff0c\u603b\u7ed3\u4e86\u4e2d\u5c0f\u56e2\u961f\u5728\u6570\u636e\u5e93\u4f18\u5316\u4e2d\u5bb9\u6613\u8e29\u7684\u4e94\u4e2a\u5751\uff0c\u5e76\u5f3a\u8c03\u4e86\u76d1\u63a7\u5173\u952e\u6307\u6807\u7684\u91cd\u8981\u6027\u3002\u901a\u8fc7\u5b9e\u9645\u6848\u4f8b\uff0c\u6587\u7ae0\u5f3a\u8c03\u4e86\u63d0\u524d\u505a\u597d\u6297\u538b\u51c6\u5907\u7684\u91cd\u8981\u6027\uff0c\u4ee5\u907f\u514d\u6d41\u91cf\u66b4\u589e\u5bfc\u81f4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/40041.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-26T23:21:16+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40041.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/40041.html\",\"name\":\"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-26T23:21:16+00:00\",\"dateModified\":\"2025-05-26T23:21:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/40041.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/40041.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40041.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/40041.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb872\u6b21\uff0c\u70b9\u8d5e25\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u6587\u7ae0\u63a2\u8ba8\u4e86\u5728\u8bbf\u95ee\u91cf\u66b4\u589e\u65f6\uff0cMySQL\u6570\u636e\u5e93\u6210\u4e3a\u6027\u80fd\u74f6\u9888\u7684\u539f\u56e0\u53ca\u4f18\u5316\u7b56\u7565\u3002\u9996\u5148\uff0c\u5206\u6790\u4e86MySQL\u5728\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684\u4e09\u5927\u95ee\u9898\uff1a\u5355\u7ebf\u7a0b\u5904\u7406\u67e5\u8be2\u3001\u7d22\u5f15\u5931\u6548\u548c\u9501\u673a\u5236\u5bfc\u81f4\u7684\u6027\u80fd\u4e0b\u964d\u3002\u63a5\u7740\uff0c\u901a\u8fc7\u76d1\u63a7\u6570\u636e\u8fd8\u539f\u4e86\u670d\u52a1\u5668\u4eceCPU\u5360\u7528\u7387\u98d9\u5347\u5230\u6700\u7ec8\u5361\u6b7b\u7684\u4e09\u4e2a\u9636\u6bb5\u3002\u6587\u7ae0\u8fd8\u63d0\u4f9b\u4e86\u7d27\u6025\u6b62\u635f\u548c\u957f\u671f\u9632\u62a4\u7684\u4f18\u5316\u65b9\u6848\uff0c\u5305\u62ec\u4e34\u65f6\u63d0\u5347MySQL\u8d44\u6e90\u3001SQL\u4f18\u5316\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5f15\u5165Redis\u7f13\u5b58\u548c\u5206\u5e93\u5206\u8868\u7b56\u7565\u3002\u6700\u540e\uff0c\u603b\u7ed3\u4e86\u4e2d\u5c0f\u56e2\u961f\u5728\u6570\u636e\u5e93\u4f18\u5316\u4e2d\u5bb9\u6613\u8e29\u7684\u4e94\u4e2a\u5751\uff0c\u5e76\u5f3a\u8c03\u4e86\u76d1\u63a7\u5173\u952e\u6307\u6807\u7684\u91cd\u8981\u6027\u3002\u901a\u8fc7\u5b9e\u9645\u6848\u4f8b\uff0c\u6587\u7ae0\u5f3a\u8c03\u4e86\u63d0\u524d\u505a\u597d\u6297\u538b\u51c6\u5907\u7684\u91cd\u8981\u6027\uff0c\u4ee5\u907f\u514d\u6d41\u91cf\u66b4\u589e\u5bfc\u81f4","og_url":"https:\/\/www.wsisp.com\/helps\/40041.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-26T23:21:16+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/40041.html","url":"https:\/\/www.wsisp.com\/helps\/40041.html","name":"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-26T23:21:16+00:00","dateModified":"2025-05-26T23:21:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/40041.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/40041.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/40041.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8bbf\u95ee\u91cf\u66b4\u6da8\u540e MySQL CPU \u98d9\u7ea2\u3001\u670d\u52a1\u5668\u5361\u6b7b\uff1f\u8fd9\u7bc7\u628a\u5e95\u5c42\u903b\u8f91\u6252\u900f\u4e86"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=40041"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40041\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=40041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=40041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=40041"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=40041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}