{"id":11634,"date":"2024-05-12T19:04:59","date_gmt":"2024-05-12T11:04:59","guid":{"rendered":"https:\/\/www.orczhou.com\/?p=11634"},"modified":"2024-12-18T15:14:46","modified_gmt":"2024-12-18T07:14:46","slug":"oracle-cloud-mysql-e3-vs-e4-performance-benchmark","status":"publish","type":"post","link":"https:\/\/www.orczhou.com\/index.php\/2024\/05\/oracle-cloud-mysql-e3-vs-e4-performance-benchmark\/","title":{"rendered":"Oracle\u4e91\u7b2c\u4e09\u3001\u56db\u4ee3\u89c4\u683c\u7684MySQL\u6027\u80fd\u5dee\u5f02"},"content":{"rendered":"\n<p class=\"has-text-color has-link-color wp-elements-c0bd6e055594a613b86afdd65aacd74f\" style=\"color:#706868;font-size:0.75em\">\u672c\u95ee\u662f\u4e00\u4e2a\u7cfb\u5217\u6587\u7ae0\u7684\u4e00\u90e8\u5206<em>\uff0c\u8be5\u7cfb\u5217\u8f83\u4e3a\u5b8c\u6574\u7684\u5bf9\u5404\u4e2a\u4e91\u5382\u5546\u7684RDS MySQL\u8fdb\u884c\u4e86\u6d4b\u8bd5\uff0c\u5305\u62ec\u4e86\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u3001\u534e\u4e3a\u4e91\u3001\u767e\u5ea6\u4e91\u3001AWS\u3001Azure\u3001GCP\u3001Oracle Cloud\u7b49\uff0c\u66f4\u591a\u53c2\u8003\uff1a<a href=\"https:\/\/www.orczhou.com\/index.php\/cloud-database-performance-rds-mysql\/\">\u4e91\u6570\u636e\u5e93RDS MySQL\u7684\u6027\u80fd<\/a>\u3002<\/em><\/p>\n\n\n\n<p>\u5728Oracle Cloud Infrastructure\uff08\u7b80\u79f0OCI\uff0c\u4e5f\u5c31\u662fOracle\u4e91\uff09\u4e0a\u8d2d\u4e70MySQL\u5b9e\u4f8b\uff0c\u4e5f\u4f1a\u6709\u7b2c\u4e09\u4ee3CPU\u548c\u7b2c\u56db\u4ee3CPU\u89c4\u683c\u7684\u9009\u62e9\uff0c\u5206\u522b\u662f\uff1a<code>MySQL.VM.Standard.E4.2.32GB<\/code>\u548c<code>MySQL.VM.Standard.E3.2.32GB<\/code>\u3002\u672c\u6587\u5bf9\u6bd4\u4e24\u4e2a\u7248\u672c\u89c4\u683c\u7684\u4ef7\u683c\u4e0e\u6027\u80fd\uff0c\u4ee5\u4f9b\u53c2\u8003\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7ed3\u8bba\u6982\u8ff0<\/h3>\n\n\n\n<p>E4\uff08AMD EPYC 7J13\uff09\u3001E3\uff08<code><a href=\"https:\/\/www.amd.com\/en\/products\/cpu\/amd-epyc-7742\">AMD EPYC 7742<\/a><\/code>\uff09\u540c\u5c5e\u4e8eAMD\u7cfb\u5217\u7684CPU\uff0cE4\u4f3c\u4e4e\u4e3b\u8981\u662f\u5728OCI\u5e73\u53f0\uff0cE3\u8f83\u4e3a\u901a\u7528\u3002\u4ece\u6027\u80fd\u6d4b\u8bd5\u4e0a\uff0c<strong>\u53ef\u4ee5\u770b\u5230\uff0cE4\u76f8\u6bd4\u4e8eE3\u6709\u7740\u8f83\u4e3a\u660e\u663e\u7684\u6027\u80fd\u4f18\u52bf\uff0c\u4ee5\u5e38\u89c1\u768416\u5e76\u53d1\u65f6\u6570\u636e\u4e3a\u53c2\u8003\uff0c\u5219E4\uff08<code>MySQL.VM.Standard.E4.2.32GB<\/code>\uff09\u76f8\u6bd4\u4e8eE3\uff08<code>MySQL.VM.Standard.E3.2.32GB<\/code>\uff09\u6027\u80fd\u8981\u9ad811%\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u8fd9\u4e5f\u4e0e\u4e4b\u524d\u7684\uff0c\u201c\u65b0\u4e00\u4ee3CPU\u603b\u662f\u6709\u7740\u66f4\u9ad8\u7684\u6027\u80fd\u201d\u7684\u7ed3\u8bba\u4e00\u81f4\u3002<\/strong><\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">MySQL.VM.Standard.E4 vs E3<\/h3>\n\n\n\n<p>\u6839\u636eOracle\u5b98\u65b9\u6587\u6863\uff08\u53c2\u8003\uff1a<a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/Compute\/References\/computeshapes.htm#vmshapes\">Virtual Machine (VM) Shapes@Compute Shapes<\/a> \uff09\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VM.Standard.E4\u7684\u5904\u7406\u5668\u662f<code>AMD EPYC 7J13<\/code>\uff0c\u57fa\u7840\u4e3b\u9891\u4e3a<code>2.55 GHz<\/code>\uff0c\u6700\u5927\u4e3a<code>3.5 GHz<\/code><\/li>\n\n\n\n<li>VM.Standard.E3\u7684\u5904\u7406\u5668\u662f<code><a href=\"https:\/\/www.amd.com\/en\/products\/cpu\/amd-epyc-7742\">AMD EPYC 7742<\/a><\/code>\uff0c\u57fa\u7840\u4e3b\u9891\u4e3a<code>2.55 GHz<\/code>\uff0c\u6700\u5927\u4e3a<code>3.4 GHz<\/code><\/li>\n\n\n\n<li>VM.Standard3 \u662f<code>Intel Xeon Platinum 8358<\/code>\uff0c\u57fa\u7840\u4e3b\u9891<code>2.6 GHz<\/code>\uff0c\u6700\u5927\u4e3a<code>3.4 GHz<\/code><\/li>\n\n\n\n<li>VM.Optimized3 \u662f<code>Intel Xeon 6354<\/code>,\u57fa\u7840\u4e3b\u9891\u4e3a<code>3.0 GHz<\/code>\uff0c\u6700\u5927\u4e3a<code>3.6 GHz<\/code><\/li>\n<\/ul>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u4e24\u8005(E4 vs E3)\u5728CPU\u4e3b\u9891\u4e0a\u5dee\u8ddd\u5e76\u4e0d\u5927\uff0c\u90a3\u4e48\u518d\u6765\u770b\u770b\u4e24\u8005\u5728MySQL\u4e0a\u7684\u6027\u80fd\u5bf9\u6bd4\u5982\u4f55\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"619\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2024\/05\/image-5-1024x619.png\" alt=\"\" class=\"wp-image-11658\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2024\/05\/image-5-1024x619.png 1024w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2024\/05\/image-5-300x181.png 300w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2024\/05\/image-5-768x464.png 768w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2024\/05\/image-5-1536x928.png 1536w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2024\/05\/image-5.png 1784w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6027\u80fd\u539f\u59cb\u6570\u636e<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\"><div><h5>2024-04-13@Performance of MySQL on ECPU vs OCPU<\/h5>\n<pre style=\"font-size:0.6em;\">host : mysql_on_2_ocpu_E4 \nsub_dir : 10.0.0.214 \nshape : MySQL.VM.Standard.E4.2.32GB \nha_type : Multi-FD \npreferred_ad : AP-TOKYO-1-AD-1 \nregion : tokyo \nstorage_size : 100 \n<\/pre><pre style=\"font-size:0.6em;\">sysbench for host :10.0.0.214\nthreads|transactions| queries| time |avg\/Latency|95%\/Latency\n      4|       57867| 1041606|300.01|      20.74|      22.28 \n      8|       97378| 1752804|300.01|      24.65|      26.20 \n     16|      137017| 2466306|300.02|      35.03|      36.24 \n     32|      140269| 2524842|300.04|      68.44|      80.03 \n     48|      131308| 2363544|300.05|     109.68|     235.74 \n     64|      136938| 2464884|300.08|     140.23|     427.07 \n     96|      134370| 2418677|300.10|     214.37|     549.52 \n    128|      137043| 2466791|300.09|     280.24|     623.33 \n    192|      132473| 2384514|300.16|     434.93|     719.92 \n    256|      136375| 2454767|300.24|     563.39|     893.56 \n    384|      129291| 2327238|300.36|     891.57|    3982.86 \n    512|      133804| 2408472|300.50|    1149.22|    5033.35 \n<\/pre><pre style=\"font-size:0.6em;\">host : mysql_on_2_ocpu_E3 \nsub_dir : 10.0.0.183 \nshape : MySQL.VM.Standard.E3.2.32GB \nha_type : Multi-FD \npreferred_ad : AP-TOKYO-1-AD-1 \nregion : tokyo \nstorage_size : 100 \n<\/pre><pre style=\"font-size:0.6em;\">sysbench for host :10.0.0.183\nthreads|transactions| queries| time |avg\/Latency|95%\/Latency\n      4|       61804| 1112472|300.01|      19.42|      22.28 \n      8|       87418| 1573524|300.04|      27.46|      33.72 \n     16|      123006| 2214108|300.02|      39.02|      44.17 \n     32|      115733| 2083194|300.04|      82.95|     112.67 \n     48|      124566| 2242188|300.05|     115.61|     397.39 \n     64|      122256| 2200608|300.05|     157.06|     520.62 \n     96|      121769| 2191842|300.08|     236.54|     682.06 \n    128|      134745| 2425410|300.18|     285.11|     657.93 \n    192|      128387| 2310983|300.17|     448.79|     831.46 \n    256|      129263| 2326734|300.20|     594.36|    1032.01 \n    384|      127210| 2289780|300.28|     906.08|    3982.86 \n    512|      132445| 2384010|300.84|    1161.79|    5033.35 \n<\/pre><\/div><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u53c2\u8003\u94fe\u63a5<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code><a href=\"https:\/\/www.amd.com\/en\/products\/cpu\/amd-epyc-7742\">AMD EPYC 7742<\/a><\/code><\/li>\n\n\n\n<li><a href=\"https:\/\/docs.oracle.com\/en-us\/iaas\/Content\/Compute\/References\/computeshapes.htm#vmshapes\">Virtual Machine (VM) Shapes@Compute Shapes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cpubenchmark.net\/compare\/4493vs4300vs3547\/Intel-Xeon-Platinum-8358-vs-AMD-EPYC-7J13-vs-AMD-EPYC-7742\">Intel Xeon Platinum 8358 @ 2.60GHz vs AMD EPYC 7J13 vs AMD EPYC 7742<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u95ee\u662f\u4e00\u4e2a\u7cfb\u5217\u6587\u7ae0\u7684\u4e00\u90e8\u5206\uff0c\u8be5\u7cfb\u5217\u8f83\u4e3a\u5b8c\u6574\u7684\u5bf9\u5404\u4e2a\u4e91\u5382\u5546\u7684RDS MySQL\u8fdb\u884c\u4e86\u6d4b\u8bd5\uff0c\u5305\u62ec\u4e86\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u3001\u534e\u4e3a\u4e91\u3001\u767e\u5ea6\u4e91\u3001AWS\u3001Azure\u3001GCP\u3001Oracle Cloud\u7b49\uff0c\u66f4\u591a\u53c2\u8003\uff1a\u4e91\u6570\u636e\u5e93RDS MySQL\u7684\u6027\u80fd\u3002 \u5728Oracle Cloud Infrastructure\uff08\u7b80\u79f0OCI\uff0c\u4e5f\u5c31\u662fOracle\u4e91\uff09\u4e0a\u8d2d\u4e70MySQL\u5b9e\u4f8b\uff0c\u4e5f\u4f1a\u6709\u7b2c\u4e09\u4ee3CPU\u548c\u7b2c\u56db\u4ee3CPU\u89c4\u683c\u7684\u9009\u62e9\uff0c\u5206\u522b\u662f\uff1aMySQL.VM.Standard.E4.2.32GB\u548cMySQL.VM.Standard.E3.2.32GB\u3002\u672c\u6587\u5bf9\u6bd4\u4e24\u4e2a\u7248\u672c\u89c4\u683c\u7684\u4ef7\u683c\u4e0e\u6027\u80fd\uff0c\u4ee5\u4f9b\u53c2\u8003\u3002 \u7ed3\u8bba\u6982\u8ff0 E4\uff08AMD EPYC 7J13\uff09\u3001E3\uff08AMD EPYC 7742\uff09\u540c\u5c5e\u4e8eAMD\u7cfb\u5217\u7684CPU\uff0cE4\u4f3c\u4e4e\u4e3b\u8981\u662f\u5728OCI\u5e73\u53f0\uff0cE3\u8f83\u4e3a\u901a\u7528\u3002\u4ece\u6027\u80fd\u6d4b\u8bd5\u4e0a\uff0c\u53ef\u4ee5\u770b\u5230\uff0cE4\u76f8\u6bd4\u4e8eE3\u6709\u7740\u8f83\u4e3a\u660e\u663e\u7684\u6027\u80fd\u4f18\u52bf\uff0c\u4ee5\u5e38\u89c1\u768416\u5e76\u53d1\u65f6\u6570\u636e\u4e3a\u53c2\u8003\uff0c\u5219E4\uff08MySQL.VM.Standard.E4.2.32GB\uff09\u76f8\u6bd4\u4e8eE3\uff08MySQL.VM.Standard.E3.2.32GB\uff09\u6027\u80fd\u8981\u9ad811%\u3002 \u8fd9\u4e5f\u4e0e\u4e4b\u524d\u7684\uff0c\u201c\u65b0\u4e00\u4ee3CPU\u603b\u662f\u6709\u7740\u66f4\u9ad8\u7684\u6027\u80fd\u201d\u7684\u7ed3\u8bba\u4e00\u81f4\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","inline_featured_image":false,"_tocer_settings":[],"footnotes":""},"categories":[138,6,4],"tags":[],"class_list":["post-11634","post","type-post","status-publish","format-standard","hentry","category-cloud-mysql-performance-benchmark","category-mysql","category-code-detail"],"_links":{"self":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/11634","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=11634"}],"version-history":[{"count":28,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/11634\/revisions"}],"predecessor-version":[{"id":11665,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/11634\/revisions\/11665"}],"wp:attachment":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/media?parent=11634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/categories?post=11634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/tags?post=11634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}