{"id":74917,"date":"2026-02-10T23:06:01","date_gmt":"2026-02-10T15:06:01","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/74917.html"},"modified":"2026-02-10T23:06:01","modified_gmt":"2026-02-10T15:06:01","slug":"%e6%98%8e%e6%98%8e%e8%bf%98%e6%9c%89-10g-%e5%86%85%e5%ad%98%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88-mysql-%e8%bf%98%e6%98%af%e8%a2%ab-linux-%e6%9d%80%e6%8e%89%e4%ba%86%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/74917.html","title":{"rendered":"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260210150558-698b4956f3fa0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u51cc\u6668 4 \u70b9&#xff0c;\u76d1\u63a7\u62a5\u8b66&#xff1a;MySQL \u5b9e\u4f8b\u5b95\u673a\u3002<br \/>\n\u67e5\u770b Linux \u7cfb\u7edf\u65e5\u5fd7 (dmesg \/ \/var\/log\/messages)&#xff0c;\u8d6b\u7136\u5199\u7740&#xff1a;<br \/>\nOut of memory: Kill process 10086 (mysqld) score 950 or sacrifice child\u3002<br \/>\n\u4f60\u7684\u56f0\u60d1&#xff1a;<br \/>\n\u670d\u52a1\u5668\u7269\u7406\u5185\u5b58 32G\u3002<br \/>\n\u4f60\u660e\u660e\u628a innodb_buffer_pool_size \u8bbe\u7f6e\u4e3a\u4e86 20G\u3002<br \/>\n\u7406\u8bba\u4e0a\u7cfb\u7edf\u8fd8\u6709 12G \u7ed9 OS \u548c\u5176\u4ed6\u8fdb\u7a0b&#xff0c;\u600e\u4e48\u53ef\u80fd\u4e0d\u591f\u7528&#xff1f;<br \/>\n\u5230\u5e95\u662f\u8c01\u5077\u8d70\u4e86\u90a3 10G&#043; \u7684\u5185\u5b58&#xff1f;<br \/>\n\u7834\u6848\u5de5\u5177&#xff1a;<br \/>\n\u53ea\u8981 Performance Schema \u662f\u5f00\u542f\u7684&#xff08;\u9ed8\u8ba4\u5c31\u662f&#xff09;&#xff0c;MySQL \u65e9\u5c31\u628a\u6bcf\u4e00\u7b14\u5185\u5b58\u5f00\u9500\u90fd\u8bb0\u5728\u8d26\u4e0a\u4e86\u3002<br \/>\n\u4f60\u53ea\u9700\u8981\u67e5\u8be2 sys.memory_global_by_current_bytes\u3002<\/p>\n<hr \/>\n<h4>1. \u6838\u5fc3\u539f\u7406&#xff1a;MySQL \u7684\u5185\u5b58\u8d26\u672c<\/h4>\n<p>MySQL \u7684\u5185\u5b58\u5206\u914d\u4e3b\u8981\u5206\u4e3a\u4e24\u5927\u90e8\u5206&#xff1a;<\/p>\n<li>\u5168\u5c40\u5171\u4eab\u5185\u5b58 (Global Buffers): \u6240\u6709\u7ebf\u7a0b\u5171\u4eab\u7684&#xff0c;\u5982 InnoDB Buffer Pool\u3001Log Buffer\u3001Table Cache\u3002<\/li>\n<li>\u7ebf\u7a0b\u79c1\u6709\u5185\u5b58 (Thread Buffers): \u6bcf\u4e2a\u8fde\u63a5\u72ec\u4eab\u7684&#xff0c;\u5982 Sort Buffer\u3001Join Buffer\u3001Binlog Cache\u3002<\/li>\n<p>sys.memory_global_by_current_bytes \u89c6\u56fe\u57fa\u4e8e\u5e95\u5c42\u7684 performance_schema&#xff0c;\u5c06\u8fd9\u4e9b\u590d\u6742\u7684\u5185\u5b58\u5206\u914d\u4e8b\u4ef6&#xff08;Event&#xff09;\u805a\u5408\u3001\u6392\u5e8f&#xff0c;\u5e76\u8f6c\u6362\u6210\u4eba\u7c7b\u80fd\u8bfb\u61c2\u7684 KiB, MiB, GiB \u683c\u5f0f\u3002<\/p>\n<hr \/>\n<h4>2. \u5b9e\u6218\u6f14\u7ec3&#xff1a;\u8c01\u662f\u5185\u5b58\u7b2c\u4e00\u5927\u6237&#xff1f;<\/h4>\n<h5>\u67e5\u8be2\u8bed\u53e5&#xff1a;<\/h5>\n<p><span class=\"token keyword\">SELECT<\/span><br \/>\n    event_name<span class=\"token punctuation\">,<\/span><br \/>\n    current_alloc<span class=\"token punctuation\">,<\/span><br \/>\n    current_avg_alloc<span class=\"token punctuation\">,<\/span><br \/>\n    high_alloc<br \/>\n<span class=\"token keyword\">FROM<\/span> sys<span class=\"token punctuation\">.<\/span>memory_global_by_current_bytes<br \/>\n<span class=\"token keyword\">LIMIT<\/span> <span class=\"token number\">10<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h5>\u5178\u578b\u8f93\u51fa\u89e3\u6790&#xff1a;<\/h5>\n<table>\n<tr>event_namecurrent_alloccurrent_avg_allochigh_alloc<\/tr>\n<tbody>\n<tr>\n<td>memory\/innodb\/buffer_pool_chunk<\/td>\n<td>20.00 GiB<\/td>\n<td>128.00 MiB<\/td>\n<td>20.00 GiB<\/td>\n<\/tr>\n<tr>\n<td>memory\/innodb\/hash_index<\/td>\n<td>2.50 GiB<\/td>\n<td>\u2026<\/td>\n<td>3.00 GiB<\/td>\n<\/tr>\n<tr>\n<td>memory\/temptable\/physical_ram<\/td>\n<td>1.20 GiB<\/td>\n<td>\u2026<\/td>\n<td>5.00 GiB<\/td>\n<\/tr>\n<tr>\n<td>memory\/sql\/TABLE_SHARE<\/td>\n<td>800.00 MiB<\/td>\n<td>\u2026<\/td>\n<td>900.00 MiB<\/td>\n<\/tr>\n<tr>\n<td>memory\/performance_schema\/events\u2026<\/td>\n<td>500.00 MiB<\/td>\n<td>\u2026<\/td>\n<td>500.00 MiB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7834\u6848\u7ebf\u7d22&#xff1a;<\/p>\n<li>memory\/innodb\/buffer_pool_chunk:<\/li>\n<ul>\n<li>\u8fd9\u662f\u9884\u671f\u7684 20G&#xff0c;\u6b63\u5e38\u3002<\/li>\n<\/ul>\n<li>memory\/innodb\/hash_index (\u81ea\u9002\u5e94\u54c8\u5e0c\u7d22\u5f15 AHI):<\/li>\n<ul>\n<li>\u610f\u5916\u53d1\u73b0&#xff01; AHI \u7adf\u7136\u5360\u4e86 2.5G\u3002\u5982\u679c\u4f60\u6709\u5f88\u591a\u70ed\u70b9\u8bfb\u67e5\u8be2&#xff0c;InnoDB \u4f1a\u81ea\u52a8\u5efa\u7acb Hash \u7d22\u5f15\u3002<\/li>\n<li>\u5bf9\u7b56&#xff1a; \u5982\u679c\u5185\u5b58\u7d27\u5f20&#xff0c;\u53ef\u4ee5\u5173\u95ed innodb_adaptive_hash_index\u3002<\/li>\n<\/ul>\n<li>memory\/temptable\/physical_ram (\u4e34\u65f6\u8868):<\/li>\n<ul>\n<li>\u5173\u952e\u5acc\u7591\u4eba&#xff01; \u5f53\u524d\u5360\u4e86 1.2G&#xff0c;\u5386\u53f2\u6700\u9ad8&#xff08;high_alloc&#xff09;\u751a\u81f3\u8fbe\u5230\u8fc7 5G&#xff01;<\/li>\n<li>\u8fd9\u8bf4\u660e\u6709\u5927\u91cf\u7684\u590d\u6742\u67e5\u8be2&#xff08;GROUP BY \/ DISTINCT&#xff09;\u5bfc\u81f4 MySQL \u5728\u5185\u5b58\u4e2d\u521b\u5efa\u4e86\u5de8\u5927\u7684\u4e34\u65f6\u8868\u3002\u8fd9\u5c31\u662f\u5bfc\u81f4 OOM \u7684\u5143\u51f6\u3002<\/li>\n<\/ul>\n<hr \/>\n<h4>3. \u4e09\u5927\u5b9e\u6218\u573a\u666f<\/h4>\n<h5>\u573a\u666f\u4e00&#xff1a;\u4e34\u65f6\u8868\u98ce\u66b4 (Temp Table Explosion)<\/h5>\n<p>\u73b0\u8c61&#xff1a; \u5185\u5b58\u5468\u671f\u6027\u98d9\u5347&#xff0c;\u751a\u81f3 OOM\u3002<br \/>\n\u67e5\u8be2\u7ed3\u679c&#xff1a; memory\/temptable\/physical_ram \u6216 memory\/innodb\/row_log_buf \u6392\u540d\u6781\u9ad8\u3002<br \/>\n\u539f\u56e0&#xff1a;<br \/>\nMySQL 8.0 \u9ed8\u8ba4\u4f7f\u7528 TempTable \u5f15\u64ce\u5904\u7406\u5185\u5b58\u4e34\u65f6\u8868\u3002\u5982\u679c SQL \u70c2&#xff08;\u6bd4\u5982 SELECT * \u914d\u5408\u5de8\u5927\u7684 GROUP BY&#xff09;&#xff0c;\u5185\u5b58\u4f1a\u77ac\u95f4\u8017\u5c3d\u3002<br \/>\n\u89e3\u51b3&#xff1a;<\/p>\n<ul>\n<li>\u4f18\u5316 SQL&#xff0c;\u51cf\u5c11\u4e34\u65f6\u8868\u5927\u5c0f\u3002<\/li>\n<li>\u9650\u5236 temptable_max_ram&#xff08;\u8ba9\u5b83\u5c3d\u65e9\u8f6c\u5165\u78c1\u76d8&#xff0c;\u727a\u7272\u6027\u80fd\u4fdd\u547d&#xff09;\u3002<\/li>\n<\/ul>\n<h5>\u573a\u666f\u4e8c&#xff1a;\u8868\u5143\u6570\u636e\u7f13\u5b58\u8fc7\u5927 (Table Cache Overflow)<\/h5>\n<p>\u73b0\u8c61&#xff1a; \u8fd9\u662f\u4e00\u4e2a SaaS \u7cfb\u7edf&#xff0c;\u4e3a\u6bcf\u4e2a\u79df\u6237\u5efa\u4e86 100 \u5f20\u8868&#xff0c;\u603b\u5171\u6709 10 \u4e07\u5f20\u8868\u3002\u5185\u5b58\u5c45\u9ad8\u4e0d\u4e0b\u3002<br \/>\n\u67e5\u8be2\u7ed3\u679c&#xff1a; memory\/sql\/TABLE_SHARE \u548c memory\/innodb\/table_struct \u5360\u7528\u5f88\u9ad8\u3002<br \/>\n\u539f\u56e0&#xff1a;<br \/>\n\u6253\u5f00\u4e00\u5f20\u8868&#xff0c;MySQL \u5c31\u9700\u8981\u52a0\u8f7d\u8868\u7684\u5143\u6570\u636e&#xff08;Metadata&#xff09;\u5230\u5185\u5b58\u300210 \u4e07\u5f20\u8868\u4f1a\u5403\u6389\u51e0\u4e2a G \u7684\u5185\u5b58\u3002<br \/>\n\u89e3\u51b3&#xff1a;<\/p>\n<ul>\n<li>\u8c03\u5c0f table_definition_cache\u3002<\/li>\n<li>\u6e05\u7406\u4e0d\u7528\u7684\u8868\u3002<\/li>\n<\/ul>\n<h5>\u573a\u666f\u4e09&#xff1a;Performance Schema \u81ea\u8eab\u5f00\u9500<\/h5>\n<p>\u73b0\u8c61&#xff1a; \u8fd9\u662f\u4e00\u4e2a\u5c0f\u5185\u5b58\u673a\u5668&#xff08;2\u68384G&#xff09;&#xff0c;P_S \u5360\u4e86 500M&#043;\u3002<br \/>\n\u67e5\u8be2\u7ed3\u679c&#xff1a; memory\/performance_schema\/&#8230; \u9738\u699c\u3002<br \/>\n\u539f\u56e0&#xff1a;<br \/>\nPerformance Schema \u662f\u5168\u5185\u5b58\u7684&#xff0c;\u5f00\u542f\u7684\u76d1\u63a7\u9879\u8d8a\u591a&#xff0c;\u5403\u5185\u5b58\u8d8a\u72e0\u3002<br \/>\n\u89e3\u51b3&#xff1a;<\/p>\n<ul>\n<li>\u5728\u5c0f\u5185\u5b58\u673a\u5668\u4e0a&#xff0c;\u8003\u8651\u5173\u95ed\u90e8\u5206 Performance Schema \u76d1\u63a7\u9879&#xff0c;\u6216\u8005\u5b8c\u5168\u5173\u95ed P_S\u3002<\/li>\n<\/ul>\n<hr \/>\n<h4>4. \u907f\u5751\u6307\u5357&#xff1a;\u5b83\u4e0d\u662f\u4e07\u80fd\u7684<\/h4>\n<li>Thread Memory \u7684\u76f2\u533a&#xff1a;<br \/>\n\u8fd9\u4e2a\u89c6\u56fe\u5c55\u793a\u7684\u662f\u5168\u5c40\u805a\u5408\u6570\u636e\u3002\u5982\u679c\u662f\u67d0\u4e2a\u7279\u5b9a\u7684\u8fde\u63a5 Sort Buffer \u8bbe\u5f97\u592a\u5927&#xff08;\u6bd4\u5982 100M&#xff09;&#xff0c;\u5bfc\u81f4\u5e76\u53d1\u4e0a\u6765\u540e OOM&#xff0c;\u8fd9\u4e2a\u89c6\u56fe\u53ea\u80fd\u770b\u5230 memory\/sql\/sort_buffer \u603b\u91cf\u5f88\u9ad8&#xff0c;\u4f46\u770b\u4e0d\u51fa\u662f\u54ea\u4e2a\u7ebf\u7a0b\u5e72\u7684\u3002<\/li>\n<ul>\n<li>\u8fdb\u9636&#xff1a; \u9700\u8981\u7ed3\u5408 sys.memory_by_thread_by_current_bytes \u67e5\u770b\u3002<\/li>\n<\/ul>\n<li>OS \u5c42\u7684\u5f00\u9500&#xff1a;<br \/>\nMySQL \u53ea\u80fd\u76d1\u63a7\u81ea\u5df1\u7533\u8bf7\u7684\u5185\u5b58\u3002\u5982\u679c\u662f\u56e0\u4e3a Linux Page Cache \u6216\u8005\u5176\u4ed6 Agent \u8fdb\u7a0b\u5bfc\u81f4\u7684 OOM&#xff0c;\u8fd9\u91cc\u770b\u4e0d\u51fa\u6765\u3002<\/li>\n<hr \/>\n<h4>5. \u603b\u7ed3<\/h4>\n<p>sys.memory_global_by_current_bytes \u662f MySQL \u7684\u201c\u8d22\u52a1\u5ba1\u8ba1\u62a5\u8868\u201d\u3002<\/p>\n<p>\u4e0d\u8981\u518d\u53ea\u76ef\u7740 Buffer Pool \u770b\u4e86\u3002\u5f53\u5185\u5b58\u4e0d\u591f\u7528\u65f6&#xff0c;\u8bf7\u7b2c\u4e00\u65f6\u95f4\u6253\u5f00\u8fd9\u5f20\u8868&#xff0c;\u770b\u770b\u662f\u4e0d\u662f \u4e34\u65f6\u8868 (TempTable)\u3001\u81ea\u9002\u5e94\u54c8\u5e0c (AHI) \u6216\u8005 \u8868\u5143\u6570\u636e (Table Share) \u5728\u5077\u5077\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u51cc\u6668 4 \u70b9&#xff0c;\u76d1\u63a7\u62a5\u8b66&#xff1a;MySQL \u5b9e\u4f8b\u5b95\u673a\u3002<br \/>\n\u67e5\u770b Linux \u7cfb\u7edf\u65e5\u5fd7 (dmesg \/ \/var\/log\/messages)&#xff0c;\u8d6b\u7136\u5199\u7740&#xff1a;<br \/>\nOut of memory: Kill process 10086 (mysqld) score 950 or sacrifice child\u3002<br \/>\n\u4f60\u7684\u56f0\u60d1&#xff1a;<br \/>\n\u670d\u52a1\u5668\u7269\u7406\u5185\u5b58 32G\u3002<br \/>\n\u4f60\u660e\u660e\u628a innodb_buffer_pool_size \u8bbe\u7f6e\u4e3a\u4e86 20G\u3002<br \/>\n\u7406\u8bba<\/p>\n","protected":false},"author":2,"featured_media":74916,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,114,100],"topic":[],"class_list":["post-74917","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","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>\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f - \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\/74917.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u51cc\u6668 4 \u70b9&#xff0c;\u76d1\u63a7\u62a5\u8b66&#xff1a;MySQL \u5b9e\u4f8b\u5b95\u673a\u3002 \u67e5\u770b Linux \u7cfb\u7edf\u65e5\u5fd7 (dmesg \/ \/var\/log\/messages)&#xff0c;\u8d6b\u7136\u5199\u7740&#xff1a; Out of memory: Kill process 10086 (mysqld) score 950 or sacrifice child\u3002 \u4f60\u7684\u56f0\u60d1&#xff1a; \u670d\u52a1\u5668\u7269\u7406\u5185\u5b58 32G\u3002 \u4f60\u660e\u660e\u628a innodb_buffer_pool_size \u8bbe\u7f6e\u4e3a\u4e86 20G\u3002 \u7406\u8bba\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/74917.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-10T15:06:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260210150558-698b4956f3fa0.png\" \/>\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\/74917.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/74917.html\",\"name\":\"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-10T15:06:01+00:00\",\"dateModified\":\"2026-02-10T15:06:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/74917.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/74917.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/74917.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f\"}]},{\"@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":"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f - \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\/74917.html","og_locale":"zh_CN","og_type":"article","og_title":"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u51cc\u6668 4 \u70b9&#xff0c;\u76d1\u63a7\u62a5\u8b66&#xff1a;MySQL \u5b9e\u4f8b\u5b95\u673a\u3002 \u67e5\u770b Linux \u7cfb\u7edf\u65e5\u5fd7 (dmesg \/ \/var\/log\/messages)&#xff0c;\u8d6b\u7136\u5199\u7740&#xff1a; Out of memory: Kill process 10086 (mysqld) score 950 or sacrifice child\u3002 \u4f60\u7684\u56f0\u60d1&#xff1a; \u670d\u52a1\u5668\u7269\u7406\u5185\u5b58 32G\u3002 \u4f60\u660e\u660e\u628a innodb_buffer_pool_size \u8bbe\u7f6e\u4e3a\u4e86 20G\u3002 \u7406\u8bba","og_url":"https:\/\/www.wsisp.com\/helps\/74917.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-10T15:06:01+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260210150558-698b4956f3fa0.png"}],"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\/74917.html","url":"https:\/\/www.wsisp.com\/helps\/74917.html","name":"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-10T15:06:01+00:00","dateModified":"2026-02-10T15:06:01+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/74917.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/74917.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/74917.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u660e\u660e\u8fd8\u6709 10G \u5185\u5b58\uff0c\u4e3a\u4ec0\u4e48 MySQL \u8fd8\u662f\u88ab Linux \u6740\u6389\u4e86\uff1f"}]},{"@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\/74917","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=74917"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/74917\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/74916"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=74917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=74917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=74917"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=74917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}