{"id":100665,"date":"2026-09-05T02:56:57","date_gmt":"2026-09-04T18:56:57","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/100665.html"},"modified":"2026-09-05T02:56:57","modified_gmt":"2026-09-04T18:56:57","slug":"mysql-%e7%b4%a2%e5%bc%95%e8%af%a6%e8%a7%a3%ef%bc%9ab-%e6%a0%91%e3%80%81%e8%81%9a%e7%b0%87%e7%b4%a2%e5%bc%95%e4%b8%8e%e6%9c%80%e5%b7%a6%e5%89%8d%e7%bc%80","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/100665.html","title":{"rendered":"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00"},"content":{"rendered":"<h2>MySQL \u7d22\u5f15\u8be6\u89e3&#xff1a;B&#043; \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00<\/h2>\n<p>\u6570\u636e\u5e93\u539f\u7406\u91cc\u6700\u7ed5\u7684\u5c31\u662f\u7d22\u5f15&#xff1a;B&#043; \u6811\u548c B \u6811\u4ec0\u4e48\u533a\u522b&#xff1f;\u805a\u7c07\u7d22\u5f15\u548c\u4e8c\u7ea7\u7d22\u5f15\u5dee\u5728\u54ea&#xff1f;&#034;\u6700\u5de6\u524d\u7f00&#034;\u5230\u5e95\u600e\u4e48\u7406\u89e3&#xff1f;\u8054\u5408\u7d22\u5f15\u5b57\u6bb5\u987a\u5e8f\u600e\u4e48\u6392&#xff1f;\u8fd9\u4e9b\u6982\u5ff5\u62c6\u5f00\u90fd\u61c2&#xff0c;\u4e32\u8d77\u6765\u5c31\u4e71\u3002\u8fd9\u7bc7\u7528\u4e00\u6761\u4e3b\u7ebf\u2014\u2014\u201c\u4e00\u6761 SQL \u662f\u600e\u4e48\u901a\u8fc7\u7d22\u5f15\u627e\u5230\u6570\u636e\u7684\u201d\u2014\u2014\u628a\u6240\u6709\u7d22\u5f15\u6982\u5ff5\u4e32\u8d77\u6765\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u7ed3\u8bba\u5148\u884c<\/h3>\n<p>MySQL&#xff08;InnoDB&#xff09;\u7d22\u5f15\u7684\u672c\u8d28&#xff1a;\u4e00\u79cd\u628a&#034;\u5168\u8868\u626b\u63cf&#034;\u53d8\u6210&#034;\u5feb\u901f\u5b9a\u4f4d&#034;\u7684\u6570\u636e\u7ed3\u6784&#xff0c;\u5e95\u5c42\u662f B&#043; \u6811\u3002 \u56db\u4e2a\u6838\u5fc3\u7ed3\u8bba\u5148\u8bb0\u4f4f&#xff1a;<\/p>\n<li>InnoDB \u662f\u805a\u7c07\u7d22\u5f15\u7ec4\u7ec7\u8868&#xff1a;\u8868\u6570\u636e\u6309\u4e3b\u952e\u7684 B&#043; \u6811\u5b58\u653e&#xff0c;\u4e3b\u952e\u7d22\u5f15\u7684\u53f6\u5b50\u8282\u70b9\u76f4\u63a5\u5b58\u6574\u884c\u6570\u636e<\/li>\n<li>\u4e8c\u7ea7\u7d22\u5f15\u7684\u53f6\u5b50\u5b58\u7684\u662f\u4e3b\u952e\u503c&#xff0c;\u4e0d\u662f\u6574\u884c\u2014\u2014\u67e5\u4e8c\u7ea7\u7d22\u5f15\u540e\u8981&#034;\u56de\u8868&#034;\u62ff\u6574\u884c<\/li>\n<li>B&#043; \u6811\u78be\u538b\u5176\u4ed6\u7ed3\u6784\u7684\u539f\u56e0&#xff1a;\u77ee&#xff08;\u5c42\u6570\u5c11 &#061; IO \u5c11&#xff09;&#043; \u53f6\u5b50\u6709\u5e8f\u4e14\u76f8\u8fde&#xff08;\u8303\u56f4\u67e5\u8be2\u53cb\u597d&#xff09;&#043; \u975e\u53f6\u5b50\u53ea\u5b58 key&#xff08;\u4e00\u9875\u80fd\u585e\u66f4\u591a\u7d22\u5f15&#xff0c;\u6811\u66f4\u77ee&#xff09;<\/li>\n<li>\u8054\u5408\u7d22\u5f15\u9075\u5faa\u6700\u5de6\u524d\u7f00&#xff1a;\u5b57\u6bb5\u987a\u5e8f\u51b3\u5b9a\u80fd\u547d\u4e2d\u54ea\u4e9b\u67e5\u8be2\u2014\u2014\u6392\u9519\u987a\u5e8f&#xff0c;\u7d22\u5f15\u767d\u5efa<\/li>\n<p>\u4e00\u53e5\u8bdd&#xff1a;\u7d22\u5f15\u662f\u62ff\u7a7a\u95f4\u6362\u65f6\u95f4\u7684&#034;\u67e5\u5b57\u5178\u76ee\u5f55&#034;&#xff0c;\u8bbe\u8ba1\u7d22\u5f15\u7684\u672c\u8d28\u662f\u8bbe\u8ba1&#034;\u67e5\u4ec0\u4e48\u80fd\u8d70\u54ea\u6761\u76ee\u5f55\u3001\u5c11\u7ffb\u51e0\u6b21\u4e66&#034;\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u7c7b\u6bd4\u7406\u89e3&#xff1a;\u65b0\u534e\u5b57\u5178\u7684\u4e24\u5957\u67e5\u6cd5<\/h3>\n<p>\u67e5\u4e00\u4e2a\u751f\u5b57&#xff0c;\u5b57\u5178\u7ed9\u4e86\u4f60\u4e24\u5957\u65b9\u6848&#xff1a;<\/p>\n<table>\n<tr>\u5b57\u5178\u8bbe\u8ba1\u7c7b\u6bd4<\/tr>\n<tbody>\n<tr>\n<td>\u62fc\u97f3\u67e5\u5b57\u8868 \u2192 \u6307\u5411\u6b63\u6587\u9875\u7801 \u2192 \u7ffb\u5230\u6b63\u6587<\/td>\n<td>\u4e8c\u7ea7\u7d22\u5f15&#xff1a;\u5148\u67e5\u5c0f\u76ee\u5f55&#xff0c;\u62ff\u5230\u4e3b\u952e&#xff08;\u9875\u7801&#xff09;&#xff0c;\u518d\u56de\u6b63\u6587\u53d6\u6574\u884c<\/td>\n<\/tr>\n<tr>\n<td>\u90e8\u9996\u67e5\u5b57\u6cd5\u76f4\u63a5\u770b\u6b63\u6587\u533a&#xff08;\u6b63\u6587\u6309\u90e8\u9996\u6392\u5217&#xff09;<\/td>\n<td>\u805a\u7c07\u7d22\u5f15&#xff1a;\u6b63\u6587\u672c\u8eab\u5c31\u662f\u6309\u4e3b\u952e\u987a\u5e8f\u6392\u7684&#xff0c;\u76f4\u63a5\u7ffb\u5230\u90a3\u9875\u5c31\u662f\u6574\u884c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\u610f\u65b0\u534e\u5b57\u5178\u7684\u7ec6\u8282&#xff1a;\u6b63\u6587\u662f\u6309&#034;\u90e8\u9996\/\u7b14\u753b&#034;\u6392\u7684&#xff0c;\u4e0d\u662f\u6309\u62fc\u97f3\u6392\u7684\u2014\u2014\u6240\u4ee5\u62fc\u97f3\u67e5\u5b57\u8868\u67e5\u5b8c&#xff0c;\u8fd8\u8981&#034;\u7ffb\u5230\u6b63\u6587\u90a3\u9875&#034;\u624d\u80fd\u770b\u5230\u5b57\u7684\u5b8c\u6574\u89e3\u91ca\u3002<\/p>\n<p>MySQL \u5b8c\u5168\u4e00\u6837&#xff1a;<\/p>\n<ul>\n<li>\u805a\u7c07\u7d22\u5f15 &#061; \u6b63\u6587&#xff1a;\u6570\u636e\u884c\u6309\u4e3b\u952e\u987a\u5e8f\u5b58\u5728 B&#043; \u6811\u53f6\u5b50\u91cc&#xff0c;\u53f6\u5b50\u5c31\u662f\u6570\u636e\u672c\u8eab<\/li>\n<li>\u4e8c\u7ea7\u7d22\u5f15 &#061; \u62fc\u97f3\u8868&#xff1a;\u53f6\u5b50\u5b58\u7684\u662f&#034;\u4e3b\u952e\u503c&#034;&#xff08;\u50cf\u62fc\u97f3\u8868\u5b58\u9875\u7801&#xff09;&#xff0c;\u67e5\u5230\u540e\u8981\u56de\u6b63\u6587&#xff08;\u56de\u8868&#xff09;\u53d6\u6574\u884c<\/li>\n<\/ul>\n<p>\u518d\u60f3 B&#043; \u6811\u4e3a\u4ec0\u4e48\u662f&#034;\u77ee\u80d6\u5b50&#034;&#xff1a;\u4e00\u68f5\u5b58 1000 \u4e07\u884c\u7684 B&#043; \u6811&#xff0c;\u53ea\u8981 3-4 \u5c42\u2014\u2014\u56e0\u4e3a\u6bcf\u5c42\u80fd&#034;\u6247\u51fa&#034;\u51e0\u767e\u4e0a\u5343\u4e2a\u5206\u652f\u3002\u78c1\u76d8 IO \u4e00\u6b21\u8bfb\u4e00\u5c42&#xff0c;3-4 \u6b21 IO \u5c31\u80fd\u627e\u5230\u76ee\u6807&#xff0c;\u800c\u5168\u8868\u626b\u63cf\u8981\u8bfb 1000 \u4e07\u884c\u3002B&#043; \u6811\u662f\u7528&#034;\u4e00\u6b21\u8bfb\u591a\u53c9&#034;\u6362&#034;\u6781\u5c11\u7684 IO \u6b21\u6570&#034;\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u6df1\u6316\u7ec6\u8282<\/h3>\n<h4>3.1 B&#043; \u6811 vs B \u6811 vs \u54c8\u5e0c&#xff1a;\u4e3a\u4ec0\u4e48\u662f B&#043; \u6811<\/h4>\n<table>\n<tr>\u7ed3\u6784\u53f6\u5b50\u662f\u5426\u5b58\u6570\u636e\u8303\u56f4\u67e5\u8be2\u6811\u9ad8\u7ed3\u8bba<\/tr>\n<tbody>\n<tr>\n<td>\u54c8\u5e0c<\/td>\n<td>\u2014<\/td>\n<td>\u274c \u53ea\u80fd\u7b49\u503c&#xff08;\u6ca1\u6709\u987a\u5e8f&#xff09;<\/td>\n<td>\u2014<\/td>\n<td>\u53ea\u9002\u5408\u7b49\u503c&#xff0c;\u5982 Redis<\/td>\n<\/tr>\n<tr>\n<td>B \u6811<\/td>\n<td>\u975e\u53f6\u5b50\u4e5f\u5b58\u6570\u636e<\/td>\n<td>\u274c \u4e2d\u5e8f\u904d\u5386\u9ebb\u70e6<\/td>\n<td>\u66f4\u9ad8&#xff08;\u975e\u53f6\u5b50\u5927&#xff0c;\u6247\u51fa\u5c0f&#xff09;<\/td>\n<td>\u6dd8\u6c70<\/td>\n<\/tr>\n<tr>\n<td>B&#043; \u6811<\/td>\n<td>\u53ea\u6709\u53f6\u5b50\u5b58\u6570\u636e&#xff0c;\u53f6\u5b50\u95f4\u94fe\u8868\u76f8\u8fde<\/td>\n<td>\u2705 \u987a\u7740\u94fe\u8868\u626b<\/td>\n<td>\u66f4\u77ee&#xff08;\u975e\u53f6\u5b50\u53ea\u5b58 key&#xff09;<\/td>\n<td>InnoDB \u7528\u5b83<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>B&#043; \u6811\u4e24\u4e2a\u78be\u538b\u70b9&#xff1a;<\/p>\n<li>\u975e\u53f6\u5b50\u8282\u70b9\u4e0d\u5b58\u6570\u636e&#xff0c;\u53ea\u5b58 key \u2192 \u4e00\u4e2a\u78c1\u76d8\u9875&#xff08;16KB&#xff09;\u80fd\u585e\u7684\u7d22\u5f15\u9879\u8fdc\u591a\u4e8e B \u6811 \u2192 \u6811\u66f4\u77ee \u2192 IO \u66f4\u5c11<\/li>\n<li>\u53f6\u5b50\u8282\u70b9\u7528\u94fe\u8868\u4e32\u8054\u4e14\u6709\u5e8f \u2192 \u8303\u56f4\u67e5\u8be2&#xff08;WHERE id BETWEEN 1 AND 100&#xff09;\u627e\u5230\u8d77\u70b9\u540e\u987a\u7740\u94fe\u8868\u626b&#xff0c;\u4e0d\u7528\u56de\u4e0a\u5c42\u53cd\u590d\u904d\u5386<\/li>\n<h4>3.2 \u805a\u7c07\u7d22\u5f15 vs \u4e8c\u7ea7\u7d22\u5f15&#xff1a;\u4e00\u6b21\u5b8c\u6574\u7684\u67e5\u627e<\/h4>\n<p>\u5047\u8bbe\u8868&#xff1a;<\/p>\n<p><span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">TABLE<\/span> <span class=\"token keyword\">user<\/span> <span class=\"token punctuation\">(<\/span><br \/>\n  id <span class=\"token keyword\">BIGINT<\/span> <span class=\"token keyword\">PRIMARY<\/span> <span class=\"token keyword\">KEY<\/span><span class=\"token punctuation\">,<\/span>        <span class=\"token comment\">&#8212; \u805a\u7c07\u7d22\u5f15&#xff08;\u4e3b\u952e&#xff09;<\/span><br \/>\n  name <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">20<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  phone <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">20<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token keyword\">KEY<\/span> idx_name <span class=\"token punctuation\">(<\/span>name<span class=\"token punctuation\">)<\/span>           <span class=\"token comment\">&#8212; \u4e8c\u7ea7\u7d22\u5f15<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u6267\u884c SELECT * FROM user WHERE name &#061; &#039;\u5f20\u4e09&#039;&#xff0c;MySQL \u5e72\u4e86\u4ec0\u4e48&#xff1a;<\/p>\n<p>#mermaid-svg-M2Bu1yvJg2Aw1RZH{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .error-icon{fill:#552222;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .marker{fill:#333333;stroke:#333333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .marker.cross{stroke:#333333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH p{margin:0;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .cluster-label text{fill:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .cluster-label span{color:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .cluster-label span p{background-color:transparent;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .label text,#mermaid-svg-M2Bu1yvJg2Aw1RZH span{fill:#333;color:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .node rect,#mermaid-svg-M2Bu1yvJg2Aw1RZH .node circle,#mermaid-svg-M2Bu1yvJg2Aw1RZH .node ellipse,#mermaid-svg-M2Bu1yvJg2Aw1RZH .node polygon,#mermaid-svg-M2Bu1yvJg2Aw1RZH .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .rough-node .label text,#mermaid-svg-M2Bu1yvJg2Aw1RZH .node .label text,#mermaid-svg-M2Bu1yvJg2Aw1RZH .image-shape .label,#mermaid-svg-M2Bu1yvJg2Aw1RZH .icon-shape .label{text-anchor:middle;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .rough-node .label,#mermaid-svg-M2Bu1yvJg2Aw1RZH .node .label,#mermaid-svg-M2Bu1yvJg2Aw1RZH .image-shape .label,#mermaid-svg-M2Bu1yvJg2Aw1RZH .icon-shape .label{text-align:center;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .node.clickable{cursor:pointer;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .arrowheadPath{fill:#333333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-M2Bu1yvJg2Aw1RZH .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-M2Bu1yvJg2Aw1RZH .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-M2Bu1yvJg2Aw1RZH .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .cluster text{fill:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .cluster span{color:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-M2Bu1yvJg2Aw1RZH rect.text{fill:none;stroke-width:0;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .icon-shape,#mermaid-svg-M2Bu1yvJg2Aw1RZH .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .icon-shape p,#mermaid-svg-M2Bu1yvJg2Aw1RZH .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .icon-shape .label rect,#mermaid-svg-M2Bu1yvJg2Aw1RZH .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-M2Bu1yvJg2Aw1RZH .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-M2Bu1yvJg2Aw1RZH .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-M2Bu1yvJg2Aw1RZH :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>WHERE name&#061;\u5f20\u4e09<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8d70\u4e8c\u7ea7\u7d22\u5f15 idx_name \u7684 B&#043; \u6811<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5728\u53f6\u5b50\u627e\u5230 \u5f20\u4e09 \u5bf9\u5e94\u7684\u4e3b\u952e id<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u62ff\u4e3b\u952e id \u56de\u805a\u7c07\u7d22\u5f15\u7684 B&#043; \u6811\u518d\u67e5\u4e00\u6b21<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u805a\u7c07\u7d22\u5f15\u53f6\u5b50\u76f4\u63a5\u53d6\u51fa\u6574\u884c\u6570\u636e<\/p>\n<p><\/span><\/p>\n<p>\u8fd9\u5c31\u662f&#034;\u56de\u8868&#034;&#xff1a;\u4e8c\u7ea7\u7d22\u5f15\u67e5\u5230\u7684\u662f\u4e3b\u952e&#xff0c;\u8fd8\u8981\u62ff\u4e3b\u952e\u518d\u8d70\u4e00\u904d\u805a\u7c07\u7d22\u5f15\u624d\u80fd\u62ff\u5230\u6574\u884c\u3002\u4e24\u6b21 B&#043; \u6811\u67e5\u627e\u3002<\/p>\n<p>\u600e\u4e48\u907f\u514d\u56de\u8868&#xff1f; \u8986\u76d6\u7d22\u5f15\u2014\u2014\u8981\u67e5\u7684\u5217\u90fd\u5728\u4e8c\u7ea7\u7d22\u5f15\u91cc&#xff0c;\u5c31\u4e0d\u7528\u56de\u8868\u4e86&#xff1a;<\/p>\n<p><span class=\"token comment\">&#8212; name \u548c phone \u90fd\u5728 idx_name \u7684&#034;\u8054\u5408\u7d22\u5f15&#034;\u91cc\u65f6&#xff0c;\u8fd9\u4e2a\u67e5\u8be2\u65e0\u9700\u56de\u8868<\/span><br \/>\n<span class=\"token keyword\">SELECT<\/span> name<span class=\"token punctuation\">,<\/span> phone <span class=\"token keyword\">FROM<\/span> <span class=\"token keyword\">user<\/span> <span class=\"token keyword\">WHERE<\/span> name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;\u5f20\u4e09&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u53ea\u8981\u67e5\u8be2\u7684\u5217\u5168\u5728\u7d22\u5f15\u91cc&#xff0c;\u4e8c\u7ea7\u7d22\u5f15\u7684\u53f6\u5b50\u5c31\u591f\u7528\u4e86&#xff0c;\u76f4\u63a5&#034;\u8986\u76d6&#034;\u3002\u8fd9\u662f\u4f18\u5316\u9ad8\u9891\u67e5\u8be2\u6700\u5b9e\u7528\u7684\u4e00\u62db&#xff1a;\u628a\u8981\u67e5\u7684\u5217\u52a0\u8fdb\u7d22\u5f15&#xff0c;\u8ba9 SQL&#034;\u5728\u76ee\u5f55\u9875\u5c31\u62ff\u5230\u7b54\u6848&#xff0c;\u4e0d\u7528\u7ffb\u6b63\u6587&#034;\u3002<\/p>\n<h4>3.3 \u8054\u5408\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00<\/h4>\n<p>\u8054\u5408\u7d22\u5f15 KEY idx_name_phone (name, phone)&#xff1a;\u5148\u6309 name \u6392&#xff0c;name \u76f8\u540c\u7684\u518d\u6309 phone \u6392\u3002<\/p>\n<p>\u6700\u5de6\u524d\u7f00\u89c4\u5f8b&#xff1a;\u67e5\u8be2\u6761\u4ef6\u53ea\u8981\u5305\u542b\u8054\u5408\u7d22\u5f15\u7684&#034;\u6700\u5de6\u5217&#034;&#xff08;\u6216\u6700\u5de6\u8fde\u7eed\u524d\u7f00&#xff09;&#xff0c;\u5c31\u80fd\u547d\u4e2d\u7d22\u5f15&#xff1a;<\/p>\n<table>\n<tr>\u67e5\u8be2\u662f\u5426\u8d70 idx_name_phone\u539f\u56e0<\/tr>\n<tbody>\n<tr>\n<td>WHERE name &#061; \u2018\u5f20\u4e09\u2019<\/td>\n<td>\u2705 \u8d70<\/td>\n<td>\u5305\u542b\u6700\u5de6\u5217 name<\/td>\n<\/tr>\n<tr>\n<td>WHERE name &#061; \u2018\u5f20\u4e09\u2019 AND phone &#061; \u2018138\u2026\u2019<\/td>\n<td>\u2705 \u8d70<\/td>\n<td>\u5b8c\u6574\u524d\u7f00<\/td>\n<\/tr>\n<tr>\n<td>WHERE phone &#061; \u2018138\u2026\u2019<\/td>\n<td>\u274c \u4e0d\u8d70<\/td>\n<td>\u6ca1\u6709 name&#xff0c;\u65e0\u6cd5\u4ece\u6700\u5de6\u5f00\u59cb\u5339\u914d<\/td>\n<\/tr>\n<tr>\n<td>WHERE name LIKE \u2018\u5f20%\u2019<\/td>\n<td>\u2705 \u8d70<\/td>\n<td>\u524d\u7f00\u5339\u914d&#xff08;\u8303\u56f4&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>WHERE name LIKE \u2018%\u4e09\u2019<\/td>\n<td>\u274c \u4e0d\u8d70<\/td>\n<td>\u540e\u7f00\u5339\u914d\u65e0\u6cd5\u5b9a\u4f4d\u8d77\u70b9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3a\u4ec0\u4e48&#xff1f; \u7d22\u5f15\u7684\u987a\u5e8f\u662f\u5b57\u5178\u5f0f\u7684&#xff1a;\u5148\u6309\u7b2c\u4e00\u5217\u6392\u3002\u4f60\u53ea\u77e5\u9053\u7b2c\u4e8c\u5217\u7684\u503c&#xff0c;\u7b49\u4e8e&#034;\u53ea\u77e5\u9053\u59d3\u4f46\u4e0d\u77e5\u9053\u540d\u8fd8\u53bb\u67e5\u7535\u8bdd\u672c\u6309\u540d\u6392\u5e8f\u7684\u533a&#034;\u2014\u2014\u6ca1\u6cd5\u5b9a\u4f4d\u3002<\/p>\n<h4>3.4 \u8054\u5408\u7d22\u5f15\u5b57\u6bb5\u987a\u5e8f\u600e\u4e48\u6392<\/h4>\n<p>\u987a\u5e8f\u9519\u4e86\u7d22\u5f15\u5c31\u5e9f\u4e86\u4e00\u534a&#xff0c;\u4e09\u6761\u539f\u5219&#xff1a;<\/p>\n<li>\u533a\u5206\u5ea6\u9ad8\u7684\u653e\u524d\u9762&#xff08;\u9009\u62e9\u6027&#xff09;&#xff1a;gender&#xff08;\u7537\u5973\u4e8c\u503c&#xff0c;\u533a\u5206\u5ea6\u4f4e&#xff09;\u653e\u524d\u9762\u4f1a\u5148\u7b5b\u51fa\u4e00\u534a&#xff0c;\u6d6a\u8d39&#xff1b;email&#xff08;\u51e0\u4e4e\u5168\u552f\u4e00&#xff09;\u653e\u524d\u9762\u76f4\u63a5\u5b9a\u4f4d<\/li>\n<li>\u6700\u5e38\u5355\u72ec\u67e5\u7684\u5b57\u6bb5\u653e\u6700\u5de6&#xff1a;\u5982\u679c name \u7ecf\u5e38\u5355\u72ec WHERE name &#061; ?&#xff0c;name \u5fc5\u987b\u653e\u6700\u5de6&#xff0c;\u5426\u5219\u5355\u72ec\u67e5\u8d70\u4e0d\u4e86\u7d22\u5f15<\/li>\n<li>\u67e5\u8be2\u6700\u9891\u7e41\u7684\u7ec4\u5408\u4f18\u5148&#xff1a;(a, b) \u5efa\u4e86&#xff0c;a \u5355\u72ec\u67e5\u4e5f\u80fd\u8d70&#xff0c;\u5c31\u4e0d\u8981\u518d\u5355\u72ec\u5efa a \u7684\u7d22\u5f15&#xff08;\u8986\u76d6&#xff09;<\/li>\n<h4>3.5 \u7d22\u5f15\u5931\u6548\u7684\u7ecf\u5178\u573a\u666f<\/h4>\n<table>\n<tr>\u573a\u666f\u4e3a\u4ec0\u4e48\u5931\u6548\u793a\u4f8b<\/tr>\n<tbody>\n<tr>\n<td>\u9690\u5f0f\u7c7b\u578b\u8f6c\u6362<\/td>\n<td>\u5b57\u6bb5\u662f varchar&#xff0c;\u6761\u4ef6\u4f20\u6570\u5b57&#xff0c;MySQL \u5bf9\u5b57\u6bb5\u505a\u51fd\u6570\u8f6c\u6362<\/td>\n<td>WHERE phone &#061; 138&#8230;&#xff08;phone \u662f varchar&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5bf9\u7d22\u5f15\u5217\u7528\u51fd\u6570<\/td>\n<td>\u51fd\u6570\u7834\u574f\u4e86\u6709\u5e8f\u6027<\/td>\n<td>WHERE YEAR(create_time) &#061; 2024<\/td>\n<\/tr>\n<tr>\n<td>like \u2018%xx\u2019<\/td>\n<td>\u540e\u7f00\u5339\u914d\u627e\u4e0d\u5230\u8d77\u70b9<\/td>\n<td>WHERE name LIKE &#039;%\u4e09&#039;<\/td>\n<\/tr>\n<tr>\n<td>or \u6761\u4ef6\u542b\u975e\u7d22\u5f15\u5217<\/td>\n<td>\u6709\u4e00\u8def\u8981\u8d70\u5168\u8868&#xff0c;\u4f18\u5316\u5668\u5e72\u8106\u5168\u8868<\/td>\n<td>WHERE name &#061; &#039;a&#039; OR age &#061; 18&#xff08;age \u65e0\u7d22\u5f15&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8054\u5408\u7d22\u5f15\u6ce8\u610f&#xff1a;WHERE name &#061; &#039;\u5f20\u4e09&#039; AND phone &#061; &#039;138&#8230;&#039; \u8d70\u6700\u5de6\u6ca1\u95ee\u9898&#xff1b;\u4f46 WHERE phone &#061; &#039;138&#8230;&#039; \u5355\u72ec\u67e5\u5c31\u5931\u6548\u2014\u2014\u8fd9\u5c31\u662f&#034;\u8054\u5408\u7d22\u5f15\u5b57\u6bb5\u987a\u5e8f&#034;\u91cd\u8981\u7684\u539f\u56e0\u3002<\/p>\n<h4>3.6 Explain \u600e\u4e48\u770b<\/h4>\n<p>\u6392\u67e5 SQL \u6027\u80fd&#xff0c;EXPLAIN SELECT &#8230; \u770b\u56db\u5217\u5c31\u591f&#xff1a;<\/p>\n<table>\n<tr>\u5217\u770b\u4ec0\u4e48\u597d\u574f<\/tr>\n<tbody>\n<tr>\n<td>type<\/td>\n<td>\u8bbf\u95ee\u7c7b\u578b<\/td>\n<td>const\/eq_ref \u6700\u597d&#xff0c;ref \u597d&#xff0c;range \u53ef\u63a5\u53d7&#xff0c;ALL &#061; \u5168\u8868\u626b\u63cf\u8981\u4f18\u5316<\/td>\n<\/tr>\n<tr>\n<td>key<\/td>\n<td>\u5b9e\u9645\u7528\u7684\u7d22\u5f15<\/td>\n<td>\u4e3a NULL &#061; \u6ca1\u8d70\u7d22\u5f15<\/td>\n<\/tr>\n<tr>\n<td>rows<\/td>\n<td>\u9884\u4f30\u626b\u63cf\u884c\u6570<\/td>\n<td>\u8d8a\u5c0f\u8d8a\u597d<\/td>\n<\/tr>\n<tr>\n<td>Extra<\/td>\n<td>\u9644\u52a0\u4fe1\u606f<\/td>\n<td>\u51fa\u73b0 Using filesort&#xff08;\u6392\u5e8f\u6ca1\u7528\u7d22\u5f15&#xff09;\u3001Using temporary&#xff08;\u4e34\u65f6\u8868&#xff09;\u8981\u8b66\u60d5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u56db\u3001\u68b3\u7406\u6210\u4e00\u4e2a\u77e5\u8bc6\u70b9<\/h3>\n<p>#mermaid-svg-KgXbSIhzzwL4mD8Z{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-KgXbSIhzzwL4mD8Z .error-icon{fill:#552222;}#mermaid-svg-KgXbSIhzzwL4mD8Z .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-KgXbSIhzzwL4mD8Z .marker{fill:#333333;stroke:#333333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .marker.cross{stroke:#333333;}#mermaid-svg-KgXbSIhzzwL4mD8Z svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-KgXbSIhzzwL4mD8Z p{margin:0;}#mermaid-svg-KgXbSIhzzwL4mD8Z .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .cluster-label text{fill:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .cluster-label span{color:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .cluster-label span p{background-color:transparent;}#mermaid-svg-KgXbSIhzzwL4mD8Z .label text,#mermaid-svg-KgXbSIhzzwL4mD8Z span{fill:#333;color:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .node rect,#mermaid-svg-KgXbSIhzzwL4mD8Z .node circle,#mermaid-svg-KgXbSIhzzwL4mD8Z .node ellipse,#mermaid-svg-KgXbSIhzzwL4mD8Z .node polygon,#mermaid-svg-KgXbSIhzzwL4mD8Z .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .rough-node .label text,#mermaid-svg-KgXbSIhzzwL4mD8Z .node .label text,#mermaid-svg-KgXbSIhzzwL4mD8Z .image-shape .label,#mermaid-svg-KgXbSIhzzwL4mD8Z .icon-shape .label{text-anchor:middle;}#mermaid-svg-KgXbSIhzzwL4mD8Z .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .rough-node .label,#mermaid-svg-KgXbSIhzzwL4mD8Z .node .label,#mermaid-svg-KgXbSIhzzwL4mD8Z .image-shape .label,#mermaid-svg-KgXbSIhzzwL4mD8Z .icon-shape .label{text-align:center;}#mermaid-svg-KgXbSIhzzwL4mD8Z .node.clickable{cursor:pointer;}#mermaid-svg-KgXbSIhzzwL4mD8Z .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .arrowheadPath{fill:#333333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-KgXbSIhzzwL4mD8Z .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-KgXbSIhzzwL4mD8Z .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-KgXbSIhzzwL4mD8Z .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-KgXbSIhzzwL4mD8Z .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .cluster text{fill:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z .cluster span{color:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-KgXbSIhzzwL4mD8Z .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-KgXbSIhzzwL4mD8Z rect.text{fill:none;stroke-width:0;}#mermaid-svg-KgXbSIhzzwL4mD8Z .icon-shape,#mermaid-svg-KgXbSIhzzwL4mD8Z .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-KgXbSIhzzwL4mD8Z .icon-shape p,#mermaid-svg-KgXbSIhzzwL4mD8Z .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-KgXbSIhzzwL4mD8Z .icon-shape .label rect,#mermaid-svg-KgXbSIhzzwL4mD8Z .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-KgXbSIhzzwL4mD8Z .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-KgXbSIhzzwL4mD8Z .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-KgXbSIhzzwL4mD8Z :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7d22\u5f15 &#061; B&#043;\u6811<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u805a\u7c07: \u53f6\u5b50\u5b58\u6574\u884c<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4e8c\u7ea7: \u53f6\u5b50\u5b58\u4e3b\u952e<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u56de\u8868\u62ff\u6574\u884c<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8986\u76d6\u7d22\u5f15\u514d\u56de\u8868<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8054\u5408\u7d22\u5f15 \u6700\u5de6\u524d\u7f00<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5b57\u6bb5\u6392: \u533a\u5206\u5ea6\u9ad8\u5728\u524d<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5931\u6548\u573a\u666f: \u51fd\u6570\/\u9690\u5f0f\u8f6c\u6362\/like%x<\/p>\n<p><\/span><\/p>\n<p>\u77e5\u8bc6\u70b9&#xff1a;MySQL \u7d22\u5f15 &#061; B&#043; \u6811&#xff08;\u77ee\u80d6 &#043; \u53f6\u5b50\u94fe\u8868&#xff09;&#061; \u5c11\u91cf IO \u5b9a\u4f4d\u6570\u636e\u3002\u805a\u7c07\u7d22\u5f15\u53f6\u5b50\u5b58\u6574\u884c&#xff0c;\u4e8c\u7ea7\u7d22\u5f15\u53f6\u5b50\u5b58\u4e3b\u952e\u8981\u56de\u8868&#xff0c;\u628a\u67e5\u8be2\u5217\u585e\u8fdb\u7d22\u5f15&#xff08;\u8986\u76d6\u7d22\u5f15&#xff09;\u5c31\u80fd\u514d\u56de\u8868\u3002\u8054\u5408\u7d22\u5f15\u5fc5\u987b\u6ee1\u8db3\u6700\u5de6\u524d\u7f00&#xff0c;\u5b57\u6bb5\u987a\u5e8f\u6309&#034;\u533a\u5206\u5ea6\u9ad8 &#043; \u5e38\u5355\u67e5\u7684\u653e\u6700\u5de6&#034;\u6392&#xff1b;\u51fd\u6570\u3001\u9690\u5f0f\u7c7b\u578b\u8f6c\u6362\u3001\u540e\u7f00 like \u4f1a\u8ba9\u7d22\u5f15\u5931\u6548\u3002\u6027\u80fd\u6392\u67e5\u7528 Explain \u76ef type\/key\/rows\u3002<\/p>\n<p>\u53e3\u8bc0&#xff1a;\u805a\u7c07\u5b58\u884c\u4e8c\u5b58\u952e&#xff0c;\u56de\u8868\u4e00\u6b21\u53d8\u4e24\u6b21&#xff1b;\u8986\u76d6\u7d22\u5f15\u514d\u56de\u8868&#xff0c;\u6700\u5de6\u524d\u7f00\u5b9a\u751f\u6b7b&#xff1b;\u533a\u5206\u5ea6\u9ad8\u653e\u524d\u9762&#xff0c;\u51fd\u6570\u8f6c\u6362\u6bc1\u7d22\u5f15\u3002<\/p>\n<hr \/>\n<h3>\u8ffd\u95ee\u94fe<\/h3>\n<p>\u8ffd\u95ee 1&#xff1a;\u201cB&#043; \u6811\u5230\u5e95\u6bd4\u5e73\u8861\u4e8c\u53c9\u6811\u5f3a\u5728\u54ea&#xff1f;\u201d<br \/>\n\u2192 \u5f3a\u5728&#034;\u77ee&#034;\u548c&#034;\u987a\u5e8f&#034;\u3002\u5e73\u8861\u4e8c\u53c9\u6811\u6bcf\u4e2a\u8282\u70b9\u53ea\u80fd\u5206\u4e24\u4e2a\u53c9&#xff0c;\u6811\u9ad8\u662f log\u2082N&#xff08;1000 \u4e07\u884c\u8981 24 \u5c42&#xff09;&#xff1b;B&#043; \u6811\u6bcf\u4e2a\u8282\u70b9\u80fd\u5206\u51e0\u767e\u4e2a\u53c9&#xff0c;3-4 \u5c42\u3002\u78c1\u76d8 IO \u4e00\u6b21\u8bfb\u4e00\u5c42&#xff0c;24 \u6b21 IO vs 4 \u6b21 IO&#xff0c;\u9ad8\u4e0b\u7acb\u5224\u3002\u53f6\u5b50\u94fe\u8868\u5219\u8ba9\u8303\u56f4\u67e5\u8be2\u4e0d\u7528\u4e2d\u5e8f\u904d\u5386\u3002<\/p>\n<p>\u8ffd\u95ee 2&#xff1a;\u201c\u4e3a\u4ec0\u4e48\u4e0d\u5efa\u8bae\u7528 UUID \u5f53\u4e3b\u952e&#xff1f;\u201d<br \/>\n\u2192 \u805a\u7c07\u7d22\u5f15\u7684\u6570\u636e\u6309\u4e3b\u952e\u7269\u7406\u987a\u5e8f\u6392\u3002UUID \u65e0\u5e8f&#xff0c;\u63d2\u5165\u65f6\u6570\u636e\u8981\u9891\u7e41\u79fb\u52a8\/\u9875\u5206\u88c2&#xff0c;\u5199\u6027\u80fd\u5dee\u8fd8\u4ea7\u751f\u788e\u7247\u3002\u81ea\u589e\u4e3b\u952e\u4fdd\u8bc1\u63d2\u5165\u603b\u5728\u672b\u5c3e&#xff0c;\u987a\u5e8f\u5199\u6027\u80fd\u6700\u597d\u3002\u4e1a\u52a1\u4e0d\u66b4\u9732\u81ea\u589e id \u7528&#034;\u96ea\u82b1 id&#034;&#xff08;\u8d8b\u52bf\u9012\u589e&#xff09;&#xff0c;\u4e5f\u4e0d\u8981\u7528\u968f\u673a UUID \u5f53\u4e3b\u952e\u3002<\/p>\n<p>\u8ffd\u95ee 3&#xff1a;\u201c\u56de\u8868\u4e00\u5b9a\u6bd4\u5168\u8868\u5feb\u5417&#xff1f;\u201d<br \/>\n\u2192 \u4e0d\u4e00\u5b9a\u3002\u56de\u8868\u662f\u968f\u673a IO&#xff08;\u6bcf\u6b21\u62ff\u4e3b\u952e\u53bb\u805a\u7c07\u7d22\u5f15\u8df3\u7740\u8bfb&#xff09;\u3002\u5f53\u4e8c\u7ea7\u7d22\u5f15\u7b5b\u9009\u51fa\u7684\u884c\u6570\u5360\u6bd4\u5f88\u5927&#xff08;\u6bd4\u5982\u67e5\u51fa\u4e86 30% \u7684\u884c&#xff09;&#xff0c;\u56de\u8868 30% \u884c\u53ef\u80fd\u6bd4\u5168\u8868\u987a\u5e8f\u626b\u63cf\u8fd8\u6162\u2014\u2014\u4f18\u5316\u5668\u53ef\u80fd\u76f4\u63a5\u9009\u5168\u8868\u626b&#xff08;type&#061;ALL&#xff09;\u3002\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48&#034;\u533a\u5206\u5ea6\u4f4e&#034;\u7684\u5217\u4e0d\u9002\u5408\u5355\u72ec\u5efa\u7d22\u5f15\u3002<\/p>\n<p>\u8ffd\u95ee 4&#xff1a;\u201c\u7d22\u5f15\u8d8a\u591a\u8d8a\u597d\u5417&#xff1f;\u201d<br \/>\n\u2192 \u4e0d\u662f\u3002\u6bcf\u5efa\u4e00\u4e2a\u7d22\u5f15&#xff0c;\u5199\u5165&#xff08;INSERT\/UPDATE\/DELETE&#xff09;\u90fd\u8981\u540c\u6b65\u7ef4\u62a4\u8fd9\u68f5\u6811&#xff0c;\u7d22\u5f15\u8d8a\u591a\u5199\u8d8a\u6162&#xff1b;\u6bcf\u4e2a\u7d22\u5f15\u8fd8\u5360\u78c1\u76d8\u7a7a\u95f4\u3002\u5b9e\u8df5\u539f\u5219&#xff1a;\u53ea\u4e3a\u9ad8\u9891\u67e5\u8be2\u5efa\u7d22\u5f15&#xff0c;\u80fd\u7528\u8054\u5408\u7d22\u5f15\u8986\u76d6\u7684\u522b\u5efa\u591a\u4e2a\u5355\u5217\u7d22\u5f15\u3002<\/p>\n<p>\u8ffd\u95ee 5&#xff1a;\u201c\u6700\u5de6\u524d\u7f00\u91cc&#xff0c;\u8303\u56f4\u67e5\u8be2\u540e\u9762\u7684\u5b57\u6bb5\u8fd8\u7528\u5f97\u4e0a\u5417&#xff1f;\u201d<br \/>\n\u2192 \u7528\u4e0d\u4e0a&#xff08;\u6216\u90e8\u5206\u7528\u4e0d\u4e0a&#xff09;\u3002WHERE name &gt; &#039;\u5f20&#039; AND phone &#061; &#039;138&#039;&#xff1a;name \u8303\u56f4\u5b9a\u4f4d\u540e&#xff0c;phone \u7684\u7b49\u503c\u6761\u4ef6\u65e0\u6cd5\u7ee7\u7eed\u7528\u7d22\u5f15\u8fc7\u6ee4&#xff08;\u56e0\u4e3a\u8303\u56f4\u540e\u9762\u7684\u5217\u4e0d\u518d\u6709\u5e8f&#xff09;&#xff0c;\u53ea\u80fd\u56de\u8868\u540e\u518d\u8fc7\u6ee4\u3002\u6240\u4ee5\u8054\u5408\u7d22\u5f15\u8bbe\u8ba1\u65f6&#xff0c;\u628a\u7b49\u503c\u67e5\u8be2\u7684\u5217\u653e\u524d\u9762&#xff0c;\u8303\u56f4\u67e5\u8be2\u7684\u5217\u653e\u540e\u9762\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>InnoDB \u7d22\u5f15 &#061; B&#043; \u6811&#xff0c;\u805a\u7c07\u7d22\u5f15\u53f6\u5b50\u5b58\u6574\u884c&#xff08;\u8868\u6570\u636e\u6309\u4e3b\u952e\u6392&#xff09;&#xff0c;\u4e8c\u7ea7\u7d22\u5f15\u53f6\u5b50\u5b58\u4e3b\u952e\u503c\u9700\u56de\u8868&#xff0c;\u8986\u76d6\u7d22\u5f15\u628a\u67e5\u8be2\u5217\u585e\u8fdb\u4e8c\u7ea7\u7d22\u5f15\u514d\u56de\u8868\u3002\u8054\u5408\u7d22\u5f15\u8d70\u6700\u5de6\u524d\u7f00&#xff0c;\u5b57\u6bb5\u987a\u5e8f\u6309\u533a\u5206\u5ea6\u9ad8 &#043; \u7b49\u503c\u5217\u653e\u524d&#xff1b;\u51fd\u6570\u3001\u9690\u5f0f\u8f6c\u6362\u3001\u540e\u7f00 like \u8ba9\u7d22\u5f15\u5931\u6548\u3002Explain \u770b type \u662f\u5426 ALL\u3001key \u662f\u5426\u4e3a\u7a7a\u3002<\/p>\n<p>Agent \u7684\u8bb0\u5fc6\u3001\u4f1a\u8bdd\u3001\u7528\u6237\u6570\u636e\u6700\u7ec8\u90fd\u843d\u5728 MySQL\u2014\u2014\u7406\u89e3\u4e86\u805a\u7c07\u7d22\u5f15\u548c\u8986\u76d6\u7d22\u5f15&#xff0c;\u4f60\u5c31\u77e5\u9053\u4e3a\u4ec0\u4e48 Agent \u7684\u4f1a\u8bdd\u67e5\u8be2\u8981\u8bbe\u8ba1\u597d\u4e3b\u952e\u548c\u7d22\u5f15&#xff0c;\u800c\u4e0d\u662f\u65e0\u8111\u5168\u8868\u626b\u3002\u4e0b\u4e00\u7bc7\u8bb2\u7f13\u5b58\u5c42&#xff1a;Redis \u5206\u5e03\u5f0f\u9501\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u591a\u5751\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL \u7d22\u5f15\u8be6\u89e3&#xff1a;B \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00\u6570\u636e\u5e93\u539f\u7406\u91cc\u6700\u7ed5\u7684\u5c31\u662f\u7d22\u5f15&#xff1a;B \u6811\u548c B \u6811\u4ec0\u4e48\u533a\u522b&#xff1f;\u805a\u7c07\u7d22\u5f15\u548c\u4e8c\u7ea7\u7d22\u5f15\u5dee\u5728\u54ea&#xff1f;\\&#8221;\u6700\u5de6\u524d\u7f00\\&#8221;\u5230\u5e95\u600e\u4e48\u7406\u89e3&#xff1f;\u8054\u5408\u7d22\u5f15\u5b57\u6bb5\u987a\u5e8f\u600e\u4e48\u6392&#xff1f;\u8fd9\u4e9b\u6982\u5ff5\u62c6\u5f00\u90fd\u61c2&#xff0c;\u4e32\u8d77\u6765\u5c31\u4e71\u3002\u8fd9\u7bc7\u7528\u4e00\u6761\u4e3b\u7ebf\u2014\u2014\u201c\u4e00\u6761 SQL \u662f\u600e\u4e48\u901a\u8fc7\u7d22\u5f15\u627e\u5230\u6570\u636e\u7684\u201d\u2014\u2014\u628a\u6240\u6709\u7d22\u5f15\u6982\u5ff5\u4e32\u8d77\u6765\u3002\u4e00\u3001\u7ed3\u8bba\u5148\u884c<br \/>\nMySQL&#xff08;InnoDB&#xff09;\u7d22\u5f15\u7684\u672c\u8d28&amp;#xff<\/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":[99,114,100],"topic":[],"class_list":["post-100665","post","type-post","status-publish","format-standard","hentry","category-server","tag-java","tag-mysql","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00 - \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\/100665.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"MySQL \u7d22\u5f15\u8be6\u89e3&#xff1a;B \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00\u6570\u636e\u5e93\u539f\u7406\u91cc\u6700\u7ed5\u7684\u5c31\u662f\u7d22\u5f15&#xff1a;B \u6811\u548c B \u6811\u4ec0\u4e48\u533a\u522b&#xff1f;\u805a\u7c07\u7d22\u5f15\u548c\u4e8c\u7ea7\u7d22\u5f15\u5dee\u5728\u54ea&#xff1f;&quot;\u6700\u5de6\u524d\u7f00&quot;\u5230\u5e95\u600e\u4e48\u7406\u89e3&#xff1f;\u8054\u5408\u7d22\u5f15\u5b57\u6bb5\u987a\u5e8f\u600e\u4e48\u6392&#xff1f;\u8fd9\u4e9b\u6982\u5ff5\u62c6\u5f00\u90fd\u61c2&#xff0c;\u4e32\u8d77\u6765\u5c31\u4e71\u3002\u8fd9\u7bc7\u7528\u4e00\u6761\u4e3b\u7ebf\u2014\u2014\u201c\u4e00\u6761 SQL \u662f\u600e\u4e48\u901a\u8fc7\u7d22\u5f15\u627e\u5230\u6570\u636e\u7684\u201d\u2014\u2014\u628a\u6240\u6709\u7d22\u5f15\u6982\u5ff5\u4e32\u8d77\u6765\u3002\u4e00\u3001\u7ed3\u8bba\u5148\u884c MySQL&#xff08;InnoDB&#xff09;\u7d22\u5f15\u7684\u672c\u8d28&amp;#xff\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/100665.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-04T18:56:57+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=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100665.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/100665.html\",\"name\":\"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-04T18:56:57+00:00\",\"dateModified\":\"2026-09-04T18:56:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/100665.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/100665.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100665.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00\"}]},{\"@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":"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00 - \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\/100665.html","og_locale":"zh_CN","og_type":"article","og_title":"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"MySQL \u7d22\u5f15\u8be6\u89e3&#xff1a;B \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00\u6570\u636e\u5e93\u539f\u7406\u91cc\u6700\u7ed5\u7684\u5c31\u662f\u7d22\u5f15&#xff1a;B \u6811\u548c B \u6811\u4ec0\u4e48\u533a\u522b&#xff1f;\u805a\u7c07\u7d22\u5f15\u548c\u4e8c\u7ea7\u7d22\u5f15\u5dee\u5728\u54ea&#xff1f;\"\u6700\u5de6\u524d\u7f00\"\u5230\u5e95\u600e\u4e48\u7406\u89e3&#xff1f;\u8054\u5408\u7d22\u5f15\u5b57\u6bb5\u987a\u5e8f\u600e\u4e48\u6392&#xff1f;\u8fd9\u4e9b\u6982\u5ff5\u62c6\u5f00\u90fd\u61c2&#xff0c;\u4e32\u8d77\u6765\u5c31\u4e71\u3002\u8fd9\u7bc7\u7528\u4e00\u6761\u4e3b\u7ebf\u2014\u2014\u201c\u4e00\u6761 SQL \u662f\u600e\u4e48\u901a\u8fc7\u7d22\u5f15\u627e\u5230\u6570\u636e\u7684\u201d\u2014\u2014\u628a\u6240\u6709\u7d22\u5f15\u6982\u5ff5\u4e32\u8d77\u6765\u3002\u4e00\u3001\u7ed3\u8bba\u5148\u884c MySQL&#xff08;InnoDB&#xff09;\u7d22\u5f15\u7684\u672c\u8d28&amp;#xff","og_url":"https:\/\/www.wsisp.com\/helps\/100665.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-04T18:56:57+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/100665.html","url":"https:\/\/www.wsisp.com\/helps\/100665.html","name":"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-04T18:56:57+00:00","dateModified":"2026-09-04T18:56:57+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/100665.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/100665.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/100665.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"MySQL \u7d22\u5f15\u8be6\u89e3\uff1aB+ \u6811\u3001\u805a\u7c07\u7d22\u5f15\u4e0e\u6700\u5de6\u524d\u7f00"}]},{"@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\/100665","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=100665"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/100665\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=100665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=100665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=100665"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=100665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}