{"id":9804,"date":"2023-11-20T10:50:06","date_gmt":"2023-11-20T02:50:06","guid":{"rendered":"https:\/\/www.orczhou.com\/?p=9804"},"modified":"2023-11-20T11:16:06","modified_gmt":"2023-11-20T03:16:06","slug":"mysql-5-7-eol-upgrade-to-8-0","status":"publish","type":"post","link":"https:\/\/www.orczhou.com\/index.php\/2023\/11\/mysql-5-7-eol-upgrade-to-8-0\/","title":{"rendered":"MySQL 5.7\u751f\u547d\u5468\u671f\u7ed3\u675f\uff0cRDS 5.7\u8fd8\u80fd\u4f7f\u7528\u5417\uff1f"},"content":{"rendered":"\n<p>MySQL\u5728\u4e0a\u4e2a\u6708\u6b63\u5f0fEOL\uff0c\u610f\u5473\u7740\u5b98\u65b9\u4e0d\u4f1a\u518d\u53d1\u5e03\u65b0\u7248\u672c\u53bb\u4fee\u590dBug\u6216\u8005\u5b89\u5168\u6f0f\u6d1e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u4e91\u5382\u5546\u5bf9\u8001\u7248\u672c\u652f\u6301\u8981\u66f4\u5c31\u4e00\u4e9b\uff0c\u90a3\u4e48\u4e00\u8d77\u6765\u770b\u770b\u5404\u4e2a\u4e91\u5382\u5546\u5bf95.7\u7684\u652f\u6301\u60c5\u51b5\u3002\u6982\u8ff0\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>AWS\uff1a<\/strong>\u9996\u5148\uff0cAWS RDS MySQL\u5c06\u63d0\u4f9b\u989d\u5916\u7684\u3001\u514d\u8d39\u7684\u534a\u5e74\u6807\u51c6\u652f\u6301\uff0c\u671f\u95f4\u63d0\u4f9bbug\u4fee\u590d\u3001\u6f0f\u6d1e\u4fee\u590d\u7b49\uff1b2024\u5e742\u6708\u540e\uff0cAWS RDS\u5c06\u63d0\u4f9b<strong>\u4ed8\u8d39<\/strong>\u7684\u6269\u5c55\u652f\u6301\u3002\u5c4a\u65f6\uff0c<strong>\u5982\u679c\u4e0d\u9009\u62e9\u4ed8\u8d39\u6269\u5c55\u652f\u6301\u7684\u5b9e\u4f8b\uff0c\u5c06\u4f1a\u81ea\u52a8\uff08\u53ef\u4ee5\u7406\u89e3\u4e3a\u201c\u5f3a\u5236\u201d\uff09\u88ab\u5347\u7ea7\u52308.0\u7248\u672c<\/strong>\uff0c\u201c\u4ed8\u8d39\u201d\u7684\u6269\u5c55\u652f\u6301\u5e94\u8be5\u6301\u7eed3\u5e74\u3002\uff08\u6ce8\uff1aAurora\u7684\u514d\u8d39\u652f\u6301\u65f6\u95f4\u4f1a\u66f4\u957f\u4e00\u4e9b\uff0c\u52302024\u5e7411\u6708\uff09<\/li>\n\n\n\n<li><strong>\u963f\u91cc\u4e91\uff1a<\/strong>\u76ee\u524d\uff0c\u5bf9\u4e8e5.7\u8fd8\u6ca1\u6709\u770b\u5230\u6b63\u5f0f\u7684\u8bf4\u660e\u3002\u4f46\uff0c\u5bf9\u4e8e5.6\u7248\u672c\uff0c\u963f\u91cc\u4e91\u6570\u636e\u5e93\u66fe\u53d1\u901a\u544a\uff0c\u5c06\u63d0\u4f9b\u989d\u5916\u7684\u4e09\u5e74\u7ef4\u62a4\u65f6\u95f4\u3002\u4e0d\u8fc7\u9274\u4e8e5.7\u5b9e\u4f8b\u4f53\u91cf\u5de8\u5927\uff08\u56e0\u4e3a8.0\u7248\u672c\u62d6\u7684\u65f6\u95f4\u592a\u957f\uff09\uff0c\u5bf9\u4e8e5.7\u7248\u672c\u652f\u6301\u7684\u65f6\u95f4\u53ef\u80fd\u4f1a\u66f4\u957f\u3002<\/li>\n\n\n\n<li><strong>\u5176\u4ed6\u4e91\u5382\u5546\uff1a<\/strong>\u76ee\u524d\u90fd\u6bd4\u8f83\u6a21\u7cca\uff0c\u53ef\u4ee5\u7406\u89e3\u4e3a\u4e0d\u4f1a\u6709\u4efb\u4f55\u52a8\u4f5c\uff0c\u7528\u6237\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">AWS\u5bf9MySQL 5.7\u7684\u652f\u6301<\/h4>\n\n\n\n<p>AWS\u6709Aurora MySQL 5.7\uff08\u5373Aurora 2.x\u7cfb\u5217\uff09\u3001RDS MySQL 5.7\u4e24\u4e2a\u7248\u672c\u3002\u5728Oracle MySQL\u5b98\u65b9\u5230\u8fbeEOL\u540e\uff0cAWS\u989d\u5916\u63d0\u4f9b\u4e86\u534a\u5e74\uff08Aurora\u7ea6\u4e00\u5e74\uff09\u7684\u514d\u8d39\u6807\u51c6\u652f\u6301\uff0c\u4ee5\u53ca\u4e09\u5e74\u7684\u4ed8\u8d39\u652f\u6301\u3002\u5373\uff0cAWS RDS\u5c06\u514d\u8d39\u652f\u63015.7\u52302024\u5e7402\u6708\u5e95\uff0cAurora\u52302024\u5e7411\u6708\u5e95\uff1b\u53e6\u5916\uff0c\u8fd8\u5c06\u63d0\u4f9b\u4e09\u5e74\u7684\u4ed8\u8d39\u652f\u6301\uff0c\u7ea6\u52302027\u5e74\u3002\u662f\u7684\uff0c\u8981\u6536\u8d39\u7684\uff08<a href=\"https:\/\/aws.amazon.com\/cn\/blogs\/database\/introducing-amazon-rds-extended-support-for-mysql-databases-on-amazon-aurora-and-amazon-rds\/\">\u53c2\u8003<\/a>\uff09\u3002\u8fd9\u6bb5\u65f6\u95f4\uff0cAWS\u5c06\u7ee7\u7eed\u63d0\u4f9b\u5b89\u5168\u76f8\u5173\u7684Bug\u4fee\u590d\u3001\u4ee5\u53ca\u91cd\u8981\u7684\u529f\u80fdBug\u4fee\u590d\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u6536\u8d39\u7b56\u7565\u5e94\u8be5\u662f\u5f00\u4e86\u4e91\u5382\u5546\u5bf9\u4e8e\u65e7\u7248\u672c\u6570\u636e\u5e93\u652f\u6301\u7684\u5148\u6cb3\u3002\u7ef4\u62a4\u8001\u7684\u7248\u672c\uff0c\u9700\u8981\u989d\u5916\u7684\u6280\u672f\u4eba\u5458\u6295\u5165\uff0c\u7ef4\u62a4\u4e00\u4e2a\u8fc7\u671f\u7684\u7248\u672c\u7684\u6295\u5165\u4ece\u957f\u65f6\u95f4\u6765\u770b\uff0c\u662f\u4f4e\u6548\u7684\uff0c\u6240\u4ee5\uff0c\u7528\u6237\u662f\u9700\u8981\u4e3a\u8fd9\u90e8\u5206\u670d\u52a1\u4ed8\u8d39\u7684\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">AWS \u6269\u5c55\u652f\u6301\u7684\u6536\u8d39\u65b9\u5f0f\u4e0e\u8d39\u7387<\/h4>\n\n\n\n<p>\u6536\u8d39\u65b9\u5f0f\u662f\u6309\u7167<code>vCPU * Hour<\/code> \u6216 <code>ACU * Hour<\/code>\u8ba1\u8d39\uff0c\u4e0d\u540c\u7684\u533a\u57df\u4f1a\u6709\u4e0d\u540c\uff0c\u4e0d\u540c\u7684\u65f6\u95f4\u4e5f\u4f1a\u4e0d\u540c\uff0c\u79bb\u5b98\u65b9EOL\u65f6\u95f4\u8d8a\u957f\uff0c\u8d39\u7528\u4f1a\u8d8a\u8d35\u3002\u4e0d\u8fc7\uff0c\u5728\u5b98\u65b9\u7248\u672c\u5230\u8fbeEOL\u4e4b\u540e\uff0cAWS\u9884\u7559\u4e864\u4e2a\u6708~\u4e00\u5e74\u7684\u514d\u8d39\u65f6\u95f4\uff0c\u8ba9\u7528\u6237\u5b89\u6392\u5347\u7ea7\u3002\u4ee5RDS MySQL 5.7\u4e3a\u4f8b\uff0c\u81ea2024\u5e742\u6708\u5e95\u4e4b\u540e\uff0c\u4ee5\u65b0\u52a0\u5761\u5730\u533a\u4e3a\u4f8b\uff0c\u524d\u4e24\u5e74\u4ed8\u8d39\u6269\u5c55\u652f\u6301\u4ef7\u683c\u4e3a<code> $0.12\/(vCPU * Hour)<\/code>\uff0c\u7b2c\u4e09\u5e74\u7684\u8d39\u7528\u4e3a<code>$0.24\/(vCPU * Hour)<\/code>\u3002\u4ee5\u4e00\u4e2a<code>4c16g(db.m5.xlarge)<\/code>\u7684\u5b9e\u4f8b\u8ba1\u7b97\uff0c\u4e00\u4e2a\u6708\u8d39\u6269\u5c55\u652f\u6301\u8d39\u7528\u7ea6\u4e3a<code>$345<\/code>\u3002\u800c\u8be5\u5b9e\u4f8b\u672c\u8eab\u7684\u4ef7\u683c\u7ea6\u4e3a\uff08\u4e24\u8282\u70b9\u9ad8\u53ef\u7528\uff09\uff1a<code>$677 = 0.47*24*30*2<\/code>\u3002\u6240\u4ee5\uff0cAWS\u7684\u7b56\u7565\u662f\uff0c\u4ef7\u683c\u6446\u5728\u8fd9\u91cc\u4e86\uff0c\u5347\u4e0d\u5347\u7ea7\uff0c\u7531\u7528\u6237\u81ea\u5df1\u5b9a\u593a\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"294\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-4-1024x294.png\" alt=\"\" class=\"wp-image-9806\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-4-1024x294.png 1024w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-4-300x86.png 300w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-4-768x220.png 768w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-4.png 1492w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"340\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-6.png\" alt=\"\" class=\"wp-image-9809\" style=\"aspect-ratio:3;width:573px;height:auto\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-6.png 1020w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-6-300x100.png 300w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-6-768x256.png 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">AWS\u6700\u7ec8\u5c06\u201c\u5f3a\u5236\u201d\u5347\u7ea75.7\u52308.0<\/h4>\n\n\n\n<p>\u6b64\u5916\uff0cAWS RDS\u4f7f\u75285.7\u7248\u672c\u7684\u7528\u6237\uff0c\u5728\u8fc7\u4e86\u514d\u8d39\u6269\u5c55\u652f\u6301\u9636\u6bb5\u540e\uff0c\u8981\u4e48\u9009\u62e9\u4ed8\u8d39\u6269\u5c55\u652f\u6301\uff0c\u5426\u5219AWS\u5c06\u4f1a\u201c\u81ea\u52a8\u201d\uff08\u5e94\u8be5\u7406\u89e3\u4e3a\u201c\u5f3a\u5236\u201d\uff09\u5c06\u5b9e\u4f8b\u5347\u7ea7\u5230\u6700\u65b0\u7684RDS MySQL 8.0\u3002\uff08If you don\u2019t opt in to RDS Extended Support for Amazon Aurora 2 or Amazon RDS for MySQL 5.7 before the RDS EoS date, your clusters or instances will automatically be upgraded to the latest supported minor release of Aurora MySQL 3 or RDS for MySQL 8.0.\uff09<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u653f\u7b56\u662f\u5f88\u6709\u6311\u6218\u7684\uff0c\u4e5f\u5f88\u5f3a\u786c\u3002\u4e0d\u8fc7\uff0c\u4e5f\u7b97\u662f\u7ed9\u884c\u4e1a\u6811\u7acb\u4e86\u6807\u6746\uff0c\u540e\u7eed\u89c2\u5bdf\u4e00\u4e0b\u5b9e\u65bd\u60c5\u51b5\u5427\u3002\u6bd5\u7adf\uff0c\u5f3a\u5236\u5347\u7ea75.7\u52308.0\uff0c\u5982\u679c\u5e94\u7528\u5c42\u4e0d\u505a\u9002\u914d\u7684\u8bdd\uff0c\u5f88\u5bb9\u6613\u4f1a\u5bfc\u81f4\u5e94\u7528\u5931\u8d25\u3002\u5982\u679c\u662f\u6838\u5fc3\u5e94\u7528\u7684\u8bdd\uff0c\u51e0\u4e4e\u4e00\u5b9a\u4f1a\u9047\u5230\u529f\u80fd\u548c\u6027\u80fd\u95ee\u9898\u3002\u4f46\u53e6\u4e00\u9762\uff0c\u5bf9\u4e8e\u4e91\u5382\u5546\u6765\u8bf4\uff0c\u5982\u679c\u4e00\u76f4\u5728\u7ebf\u4e0a\u7559\u7740\u4e00\u4e9b\u65e0\u4eba\u7ef4\u62a4\u7684MySQL 5.7\u6311\u6218\u4e5f\u5f88\u5927\uff0c\u4e09\u5e74\u4e94\u5e74\u8fd8\u597d\uff0c\u5982\u679c\u662f\u516b\u5e74\u3001\u5341\u5e74\u7684\u8bdd\uff0c\u968f\u7740OS\u3001\u8f6f\u4ef6\u73af\u5883\u548c\u786c\u4ef6\u73af\u5883\u7684\u5347\u7ea7\uff0c\u539f\u6765\u76845.7\u7248\u672c\u53ef\u80fd\u90fd\u65e0\u6cd5\u987a\u5229\u5b89\u88c5\uff0c\u90a3\u4e48\u5f53\u8fd9\u4e9b\u5b9e\u4f8b\u51fa\u73b0\u6545\u969c\u6216\u5931\u8d25\uff0c\u5904\u7406\u8d77\u6765\u5c31\u4f1a\u5f88\u590d\u6742\uff0c\u4f1a\u7ed9\u7cfb\u7edf\u7684\u53ef\u7ef4\u62a4\u6027\u5e26\u6765\u975e\u5e38\u5927\u7684\u6311\u6218\u3002<\/p>\n\n\n\n<p><strong>AWS RDS\u7684\u7b56\u7565\uff0c\u7b80\u5355\u6982\u62ec\uff1a\u5bf9\u4e8e\u8001\u7248\u672c\uff0c\u5f53\u524d\u8981\u4e48\u5347\u7ea7\uff0c\u8981\u4e48\u4ed8\u8d39\uff1b\u6700\u7ec8\u5219\u662f\u8981\u4e48\u4e3b\u52a8\u5347\u7ea7\u3001\u8981\u4e48\u88ab\u52a8\u5f3a\u5236\u5347\u7ea7\u3002<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"308\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-7.png\" alt=\"\" class=\"wp-image-9815\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-7.png 1024w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-7-300x90.png 300w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-7-768x231.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"303\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-8.png\" alt=\"\" class=\"wp-image-9816\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-8.png 1024w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-8-300x89.png 300w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/11\/image-8-768x227.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u963f\u91cc\u4e91 RDS MySQL<\/h4>\n\n\n\n<p>\u76ee\u524d\uff0c\u8fd8\u6ca1\u6709\u770b\u5230\u963f\u91cc\u4e91RDS\u6709\u6b63\u5f0f\u7684\u516c\u544a\u8bf4\u660e\u5bf95.7\u7684\u652f\u6301\u3002\u4e0d\u8fc7\uff0cRDS 5.6\u5b9e\u4f8b\u5728\u4e4b\u524d\uff0c\u662f\u5ba3\u79f0\u5728\u5b98\u65b9EOL\u7684\u57fa\u7840\u4e0a\u7ee7\u7eed\u7ef4\u62a4\u4e09\u5e74\uff0c\u5230\u5ef6\u957f\u4e09\u5e74\u81f32024\u5e7402\u6708\u3002\u7531\u4e8e5.7\u5b9e\u4f8b\u4f53\u91cf\u5de8\u5927\uff0c\u540e\u7eed\u7ef4\u62a4\u7684\u65f6\u95f4\u53ef\u80fd\u4f1a\u66f4\u957f\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5176\u4ed6\u4e91<\/h4>\n\n\n\n<p>Azure\uff1a\u4e3b\u8981\u8ddf\u968f\u793e\u533a\u7248\u672c\u7684\u652f\u6301\u653f\u7b56\uff0c\u5e76\u6ca1\u6709\u66f4\u591a\u7684\u8be6\u7ec6\u8bf4\u660e\u3002(&#8220;Each major version of MySQL is supported by Azure Database for MySQL from the date Azure begins supporting the version until the version is retired by the MySQL community, as provided in the versioning policy.&#8221;)<\/p>\n\n\n\n<p>GCP\uff1a\u5982\u679c\u4e0d\u518d\u63d0\u4f9b\u652f\u6301\u7684\u65f6\u5019\uff0c\u4f1a\u63d0\u524d12\u4e2a\u6708\u5411\u7528\u6237\u53d1\u9001\u901a\u77e5\uff0c\u4e5f\u6ca1\u6709\u66f4\u591a\u8bf4\u660e\u4e86\uff08<a href=\"https:\/\/cloud.google.com\/sql\/docs\/mysql\/db-versions#major_version_deprecation_plan\" data-type=\"link\" data-id=\"https:\/\/cloud.google.com\/sql\/docs\/mysql\/db-versions#major_version_deprecation_plan\">\u53c2\u8003<\/a>\uff09\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u6700\u540e<\/h4>\n\n\n\n<p>\u867d\u7136\uff0c\u4f3c\u4e4e\u5168\u7f51\u90fd\u5728\u50ac\u7740\u5927\u5bb6\u5347\u7ea7\uff0c\u4e0d\u8fc7\u56e0\u4e3a8.0\u6539\u52a8\u6bd4\u8f83\u5927\uff0c\u5e76\u4e14\u5230\u6700\u8fd1\u624d\u7b97\u662f\u771f\u6b63\u7a33\u5b9a\u4e0b\u6765\u3002\u6240\u4ee5\uff0c\u5bf9\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u6838\u5fc3\u6570\u636e\u5e93\u5347\u7ea7\uff0c\u6027\u80fd\u3001\u529f\u80fd\u90fd\u53ef\u80fd\u4f1a\u6709\u95ee\u9898\uff0c\u8fd8\u662f\u9700\u8981\u7ecf\u8fc7\u8f83\u4e3a\u5145\u5206\u7684\u9a8c\u8bc1\uff0c\u518d\u505a\u5347\u7ea7\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u8865\u5145\u66f4\u65b0\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u963f\u91cc\u4e91 RDS \u5bf9\u5927\u7248\u672c\u7684\u751f\u547d\u5468\u671f\u7ba1\u7406\u53ef\u4ee5\u53c2\u8003\uff1a<a href=\"https:\/\/help.aliyun.com\/zh\/rds\/apsaradb-rds-for-mysql\/major-version-lifecycle-description\" data-type=\"link\" data-id=\"https:\/\/help.aliyun.com\/zh\/rds\/apsaradb-rds-for-mysql\/major-version-lifecycle-description\">\u5927\u7248\u672c\u751f\u547d\u5468\u671f\u8bf4\u660e<\/a>\u3002\u5927\u539f\u5219\u662f\u5728\u5b98\u65b9\u7684\u57fa\u7840\u4e0a\uff0c\u5ef6\u957f\u4e00\u5e74\u7684\u652f\u6301\uff0c\u6240\u4ee5MySQL 5.7\u7684\u652f\u6301\u9884\u8ba12024\u5e7410\u6708\u7ed3\u675f\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL\u5728\u4e0a\u4e2a\u6708\u6b63\u5f0fEOL\uff0c\u610f\u5473\u7740\u5b98\u65b9\u4e0d\u4f1a\u518d\u53d1\u5e03\u65b0\u7248\u672c\u53bb\u4fee\u590dBug\u6216\u8005\u5b89\u5168\u6f0f\u6d1e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u4e91\u5382\u5546\u5bf9\u8001\u7248\u672c\u652f\u6301\u8981\u66f4\u5c31\u4e00\u4e9b\uff0c\u90a3\u4e48\u4e00\u8d77\u6765\u770b\u770b\u5404\u4e2a\u4e91\u5382\u5546\u5bf95.7\u7684\u652f\u6301\u60c5\u51b5\u3002\u6982\u8ff0\uff1a AWS\u5bf9MySQL 5.7\u7684\u652f\u6301 AWS\u6709Aurora MySQL 5.7\uff08\u5373Aurora 2.x\u7cfb\u5217\uff09\u3001RDS MySQL 5.7\u4e24\u4e2a\u7248\u672c\u3002\u5728Oracle MySQL\u5b98\u65b9\u5230\u8fbeEOL\u540e\uff0cAWS\u989d\u5916\u63d0\u4f9b\u4e86\u534a\u5e74\uff08Aurora\u7ea6\u4e00\u5e74\uff09\u7684\u514d\u8d39\u6807\u51c6\u652f\u6301\uff0c\u4ee5\u53ca\u4e09\u5e74\u7684\u4ed8\u8d39\u652f\u6301\u3002\u5373\uff0cAWS RDS\u5c06\u514d\u8d39\u652f\u63015.7\u52302024\u5e7402\u6708\u5e95\uff0cAurora\u52302024\u5e7411\u6708\u5e95\uff1b\u53e6\u5916\uff0c\u8fd8\u5c06\u63d0\u4f9b\u4e09\u5e74\u7684\u4ed8\u8d39\u652f\u6301\uff0c\u7ea6\u52302027\u5e74\u3002\u662f\u7684\uff0c\u8981\u6536\u8d39\u7684\uff08\u53c2\u8003\uff09\u3002\u8fd9\u6bb5\u65f6\u95f4\uff0cAWS\u5c06\u7ee7\u7eed\u63d0\u4f9b\u5b89\u5168\u76f8\u5173\u7684Bug\u4fee\u590d\u3001\u4ee5\u53ca\u91cd\u8981\u7684\u529f\u80fdBug\u4fee\u590d\u3002 \u8fd9\u4e2a\u6536\u8d39\u7b56\u7565\u5e94\u8be5\u662f\u5f00\u4e86\u4e91\u5382\u5546\u5bf9\u4e8e\u65e7\u7248\u672c\u6570\u636e\u5e93\u652f\u6301\u7684\u5148\u6cb3\u3002\u7ef4\u62a4\u8001\u7684\u7248\u672c\uff0c\u9700\u8981\u989d\u5916\u7684\u6280\u672f\u4eba\u5458\u6295\u5165\uff0c\u7ef4\u62a4\u4e00\u4e2a\u8fc7\u671f\u7684\u7248\u672c\u7684\u6295\u5165\u4ece\u957f\u65f6\u95f4\u6765\u770b\uff0c\u662f\u4f4e\u6548\u7684\uff0c\u6240\u4ee5\uff0c\u7528\u6237\u662f\u9700\u8981\u4e3a\u8fd9\u90e8\u5206\u670d\u52a1\u4ed8\u8d39\u7684\u3002 AWS \u6269\u5c55\u652f\u6301\u7684\u6536\u8d39\u65b9\u5f0f\u4e0e\u8d39\u7387 \u6536\u8d39\u65b9\u5f0f\u662f\u6309\u7167vCPU * Hour \u6216 ACU * Hour\u8ba1\u8d39\uff0c\u4e0d\u540c\u7684\u533a\u57df\u4f1a\u6709\u4e0d\u540c\uff0c\u4e0d\u540c\u7684\u65f6\u95f4\u4e5f\u4f1a\u4e0d\u540c\uff0c\u79bb\u5b98\u65b9EOL\u65f6\u95f4\u8d8a\u957f\uff0c\u8d39\u7528\u4f1a\u8d8a\u8d35\u3002\u4e0d\u8fc7\uff0c\u5728\u5b98\u65b9\u7248\u672c\u5230\u8fbeEOL\u4e4b\u540e\uff0cAWS\u9884\u7559\u4e864\u4e2a\u6708~\u4e00\u5e74\u7684\u514d\u8d39\u65f6\u95f4\uff0c\u8ba9\u7528\u6237\u5b89\u6392\u5347\u7ea7\u3002\u4ee5RDS MySQL 5.7\u4e3a\u4f8b\uff0c\u81ea2024\u5e742\u6708\u5e95\u4e4b\u540e\uff0c\u4ee5\u65b0\u52a0\u5761\u5730\u533a\u4e3a\u4f8b\uff0c\u524d\u4e24\u5e74\u4ed8\u8d39\u6269\u5c55\u652f\u6301\u4ef7\u683c\u4e3a $0.12\/(vCPU * Hour)\uff0c\u7b2c\u4e09\u5e74\u7684\u8d39\u7528\u4e3a$0.24\/(vCPU * Hour)\u3002\u4ee5\u4e00\u4e2a4c16g(db.m5.xlarge)\u7684\u5b9e\u4f8b\u8ba1\u7b97\uff0c\u4e00\u4e2a\u6708\u8d39\u6269\u5c55\u652f\u6301\u8d39\u7528\u7ea6\u4e3a$345\u3002\u800c\u8be5\u5b9e\u4f8b\u672c\u8eab\u7684\u4ef7\u683c\u7ea6\u4e3a\uff08\u4e24\u8282\u70b9\u9ad8\u53ef\u7528\uff09\uff1a$677 = 0.47*24*30*2\u3002\u6240\u4ee5\uff0cAWS\u7684\u7b56\u7565\u662f\uff0c\u4ef7\u683c\u6446\u5728\u8fd9\u91cc\u4e86\uff0c\u5347\u4e0d\u5347\u7ea7\uff0c\u7531\u7528\u6237\u81ea\u5df1\u5b9a\u593a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"a-temp-temp","format":"standard","meta":{"_eb_attr":"","inline_featured_image":false,"_tocer_settings":[],"footnotes":""},"categories":[6,4],"tags":[],"class_list":["post-9804","post","type-post","status-publish","format-standard","hentry","category-mysql","category-code-detail"],"_links":{"self":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/9804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/comments?post=9804"}],"version-history":[{"count":22,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/9804\/revisions"}],"predecessor-version":[{"id":9854,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/9804\/revisions\/9854"}],"wp:attachment":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/media?parent=9804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/categories?post=9804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/tags?post=9804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}