{"id":1564,"date":"2013-04-07T09:57:14","date_gmt":"2013-04-07T01:57:14","guid":{"rendered":"http:\/\/www.huzs.top\/?p=1564"},"modified":"2013-04-07T10:01:01","modified_gmt":"2013-04-07T02:01:01","slug":"%e4%bb%8e%e5%b0%8f%e5%9e%8b%e7%bd%91%e7%ab%99%e5%88%b0%e8%b6%85%e5%a4%a7%e8%a7%84%e6%a8%a1%e7%bd%91%e7%ab%99%e7%9a%84mysql%e5%8f%82%e8%80%83%e6%9e%b6%e6%9e%84","status":"publish","type":"post","link":"https:\/\/www.huzs.top\/?p=1564","title":{"rendered":"\u4ece\u5c0f\u578b\u7f51\u7ad9\u5230\u8d85\u5927\u89c4\u6a21\u7f51\u7ad9\u7684MySQL\u53c2\u8003\u67b6\u6784"},"content":{"rendered":"<p>Oracle\u53d1\u5e03\u4e86\u300a<a href=\"http:\/\/www.mysql.com\/why-mysql\/white-papers\/mysql-reference-architectures-for-scalable-web-infrastructure\/\" target=\"_blank\" rel=\"external nofollow\">\u9762\u5411\u5927\u89c4\u6a21\u53ef\u4f38\u7f29\u7f51\u7ad9\u57fa\u7840\u8bbe\u65bd\u7684MySQL\u53c2\u8003\u67b6\u6784<\/a>\u300b\u767d\u76ae\u4e66\uff0c\u9488\u5bf9\u5c06MySQL\u7528\u4f5c\u6570\u636e\u5b58\u50a8\u7684\u4e0d\u540c\u7c7b\u578b\u548c\u4e0d\u540c\u89c4\u6a21\u7684\u7f51\u7ad9\u7ed9\u51fa\u4e86\u63a8\u8350\u7684\u62d3\u6251\u7ed3\u6784\u3002<\/p>\n<p>\u6839\u636e\u4e0d\u540c\u7684\u670d\u52a1\u89c4\u6a21\uff1a\u7528\u6237\u548c\u4f1a\u8bdd\u7ba1\u7406\u3001\u7535\u5b50\u5546\u52a1\u3001\u5206\u6790\u7c7b\u5e94\u7528 (\u591a\u7ed3\u6784\u6570\u636e)\u548cCMS\uff08\u5143\u6570\u636e\uff09\uff0c\u8fd9\u4efd\u767d\u76ae\u4e66\u7ed9\u51fa\u4e864\u4e2a\u53c2\u8003\u67b6\u6784\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.huzs.top\/wp-content\/uploads\/2013\/04\/cbb3e11fc48dd7bb44ef157f6bebc440.png\" width=\"700\" height=\"273\" \/><\/p>\n<p>\u8bf7\u6ce8\u610f\uff0c\u8fd9\u91cc\u7ed9\u51fa\u7684\u6307\u5bfc\u65b9\u9488\u53ea\u662f\u57fa\u672c\u5efa\u8bae\uff0c\u5b9e\u9645\u5e94\u7528\u4e2d\u9700\u8981\u6839\u636e\u8bfb\u5199\u6a21\u5f0f\u3001\u8d1f\u8f7d\u5e73\u8861\u548c\u6240\u7528\u7684\u7f13\u5b58\u673a\u5236\u7b49\u56e0\u7d20\u8fdb\u884c\u8c03\u6574\u3002<!--more--><\/p>\n<h3>\u5c0f\u578b\uff08Small\uff09\u7f51\u7ad9\u53c2\u8003\u67b6\u6784<\/h3>\n<p>\u8fd9\u4e00\u53c2\u8003\u67b6\u6784\u53ef\u7528\u4e8e\u4e0a\u8ff04\u7c7b\u7f51\u7ad9\u7684\u6240\u6709\u5c0f\u578b\u5b9e\u73b0\u3002\u53ef\u4ee5\u4f7f\u7528MySQL Replication\u6765\u5236\u4f5c\u6570\u636e\u7684\u526f\u672c\u4ee5\u652f\u6301\u5907\u4efd\u548c\u5206\u6790\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/www.huzs.top\/wp-content\/uploads\/2013\/04\/5ad5508b47fff8d6f0ff495304196d08.png\" \/><\/p>\n<h3>\u4e2d\u578b\uff08Medium\uff09\u7f51\u7ad9\u53c2\u8003\u67b6\u6784<\/h3>\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u63a8\u8350\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6d3b\u52a8\u9009\u62e9\u72ec\u7acb\u7684\u57fa\u7840\u8bbe\u65bd\uff0c\u8003\u8651\u6bcf\u4e2aMySQL\u670d\u52a1\u5668\u6700\u591a\u652f\u63018\u4e2a\u5e94\u7528\u670d\u52a1\u5668\uff0c\u5982\u679c\u56e0\u4f38\u7f29\u6027\u9700\u6c42\u5e94\u7528\u670d\u52a1\u5668\u6570\u91cf\u589e\u52a0\uff0c\u5219\u6dfb\u52a0\u66f4\u591a\u7684MySQL\u4ece\u670d\u52a1\u5668\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.huzs.top\/wp-content\/uploads\/2013\/04\/703462b6b87de03623c095c3b1871b15.png\" width=\"703\" height=\"417\" \/><\/p>\n<p>\u4e3a\u6ee1\u8db3\u4f1a\u8bdd\u7ba1\u7406\u7f51\u7ad9\u548c\u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u7684\u9ad8\u53ef\u7528\u6027\u8981\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528<a href=\"http:\/\/en.wikipedia.org\/wiki\/Linux-HA\" target=\"_blank\" rel=\"external nofollow\">Linux\u5fc3\u8df3\uff08Heartbeat\uff09<\/a>\u548c\u534a\u540c\u6b65\u590d\u5236\u3002CMS\u7f51\u7ad9\u901a\u5e38\u5bf9\u8bfb\u64cd\u4f5c\u7684\u5411\u5916\u6269\u5c55\u6709\u66f4\u9ad8\u8981\u6c42\uff0c\u5047\u5b9a\u6bcf\u4e2aMySQL\u4ece\u670d\u52a1\u5668\u6700\u591a\u53ef\u4ee5\u5904\u74063000\u4e2a\u5e76\u53d1\u7528\u6237\uff0c\u767d\u76ae\u4e66\u5efa\u8bae\u4e3a\u6bcf\u4e2aMySQL\u4e3b\u670d\u52a1\u5668\u6dfb\u52a020-30\u4e2a\u4ece\u670d\u52a1\u5668\u3002CMS\u7cfb\u7edf\u53ef\u5c06\u6570\u636e\u4fdd\u5b58\u5728\u4e00\u4e2aSAN\u4e2d\uff0c\u6216\u8005\u4fdd\u5b58\u5728\u8fde\u63a5\u5230\u8be5\u670d\u52a1\u5668\u7684\u5206\u5e03\u5f0f\u8bbe\u5907\u4e2d\u3002<\/p>\n<p>\u4f1a\u8bdd\u7ba1\u7406\u7f51\u7ad9\u548cCMS\u7f51\u7ad9\u63a8\u8350\u4f7f\u7528Memcached\uff0c\u8fd9\u6709\u52a9\u4e8e\u51cf\u8f7b\u5e94\u7528\u670d\u52a1\u5668\u548cMySQL\u670d\u52a1\u5668\u7684\u8d1f\u62c5\u3002<\/p>\n<p>\u5206\u6790\u7c7b\u7f51\u7ad9\u7684\u62d3\u6251\u7ed3\u6784\u7b80\u5355\u4e00\u4e9b\uff0c1\u4e2a\u4e3b\u670d\u52a1\u5668\u52a03\u4e2a\u4ece\u670d\u52a1\u5668\u5c31\u80fd\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<h3>\u5927\u89c4\u6a21\uff08Large\uff09\u7f51\u7ad9\u53c2\u8003\u67b6\u6784<\/h3>\n<p>\u9488\u5bf9\u5927\u89c4\u6a21\u7f51\u7ad9\uff0c\u767d\u76ae\u4e66\u63a8\u8350\u4f7f\u7528MySQL Geographic Replication\u6765\u8fdb\u884c\u8de8\u6570\u636e\u4e2d\u5fc3\u7684\u6570\u636e\u5e93\u590d\u5236\uff0c\u8fd9\u79cd\u65b9\u5f0f\u652f\u6301\u8de8\u8d8a\u5730\u7406\u4e0a\u5206\u79bb\u7684\u96c6\u7fa4\u8fdb\u884c\u5f02\u6b65\u590d\u5236\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.huzs.top\/wp-content\/uploads\/2013\/04\/fac281c9b9f08ad3d8d8cf7d57a15291.png\" width=\"700\" height=\"500\" \/><\/p>\n<p>\u4f1a\u8bdd\u7ba1\u7406\u7f51\u7ad9\u548c\u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u5e94\u8be5\u4f7f\u7528\u96c6\u7fa4\uff0c\u767d\u76ae\u4e66\u58f0\u79f0\u201c4\u4e2a\u6570\u636e\u8282\u70b9\uff0c1\u79d2\u53ef\u4ee5\u652f\u63016000\u4e2a\u4f1a\u8bdd\uff08\u9875\u9762\u70b9\u51fb\uff09\uff0c\u5176\u4e2d\u6bcf\u6b21\u9875\u9762\u70b9\u51fb\u751f\u62108\u201312\u4e2a\u6570 \u636e\u5e93\u64cd\u4f5c\u201d\u3002\u5927\u89c4\u6a21CMS\u7f51\u7ad9\u4f7f\u7528\u7684\u914d\u7f6e\u4e0e\u4e2d\u578b\u7f51\u7ad9\u7c7b\u4f3c\uff0c\u53ea\u662f\u5fc5\u8981\u65f6\u9700\u8981\u591a\u6dfb\u52a0\u4e00\u4e9b\u4ece\u670d\u52a1\u5668\u3002\u9488\u5bf9\u5206\u6790\u7c7b\u5e94\u7528\uff0c\u8fd9\u91cc\u5f15\u5165\u4e86\u4e00\u4e2a\u6570\u636e\u63d0\u70bc\uff08Data Refinery\uff09\u5355\u5143\uff0c\u7528\u4e8e\u6570\u636e\u7684\u6e05\u7406\u548c\u7ec4\u7ec7\u3002<\/p>\n<h3>\u8d85\u5927\u89c4\u6a21\uff08Extra Large\uff09\u7f51\u7ad9\u53c2\u8003\u67b6\u6784<\/h3>\n<p>\u9488\u5bf9\u793e\u4ea4\u7f51\u7ad9\uff0c\u767d\u76ae\u4e66\u4e5f\u7ed9\u51fa\u4e86\u76f8\u5e94\u5efa\u8bae\u3002\u5b83\u58f0\u79f0\u201c\u7f51\u7edc\u4e0a\u6d41\u91cf\u6700\u5927\u768410\u4e2a\u7f51\u7ad9\u67099\u4e2a\u90e8\u7f72\u4e86MySQL\uff0c\u5176\u4e2d\u5305\u62ecGoogle\u3001Facebook\u548cYouTube\u201d\uff0c\u4f46\u662f\u6ca1\u6709\u8bf4\u660e\u8fd9\u4e9b\u7f51\u7ad9\u7528MySQL\u5e72\u4ec0\u4e48\uff0c\u4e0d\u8fc7\u4f17\u6240\u5468\u77e5\u7684\u662f\uff0cLinkedIn\u6210\u529f\u5e94\u7528\u4e86MySQL\u3002<\/p>\n<p>\u793e\u4ea4\u7f51\u7ad9\u7684\u62d3\u6251\u7ed3\u6784\u5229\u7528\u4e86\u4e2d\u578b\u548c\u5927\u89c4\u6a21\u7f51\u7ad9\u4e2d\u5b9e\u73b0\u7684\u6982\u5ff5\uff0c\u5305\u62ec\u4e13\u7528\u5e94\u7528\u670d\u52a1\u5668\u3001Memcached\u548c\u6570\u636e\u63d0\u70bc\u5355\u5143, \u4f46\u4e3a\u652f\u6301\u5199\u64cd\u4f5c\u7684\u5411\u5916\u6269\u5c55\u5f15\u5165\u4e86\u5206\u7247\uff08Shard\uff09\u3002MySQL\u96c6\u7fa4\u88ab\u7528\u4e8e\u7528\u6237\u7684\u8ba4\u8bc1\u548c\u67e5\u627e\uff0c\u5f53\u201c\u7528\u4e8e\u67e5\u627e\u7684\u952e\uff08key\uff09\u4e0d\u6b621\u4e2a\u201d\u65f6\uff0c\u76f4\u63a5\u8bfb\u5199\u76f8\u5e94\u7684\u5206 \u7247\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.huzs.top\/wp-content\/uploads\/2013\/04\/383e06209753488e256f35519ae0bebc.png\" width=\"700\" height=\"500\" \/><\/p>\n<p>MySQL\u4e3b\u670d\u52a1\u5668\u548c\u4ece\u670d\u52a1\u5668\u7684\u63a8\u8350\u89c4\u683c\u5982\u4e0b\uff1a<\/p>\n<ul>\t<\/p>\n<li>8\u201316\u4e2ax86-64\u4f4dCPU\u6838\u5fc3\uff08MySQL 5.5\u53ca\u4ee5\u4e0a)\u3002<\/li>\n<p>\t<\/p>\n<li>4\u20138\u4e2ax86 -64\u4f4dCPU\u6838\u5fc3\uff08MySQL 5.1\u53ca\u66f4\u65e9\u7248\u672c\uff09\u3002<\/li>\n<p>\t<\/p>\n<li>\u6bd4\u6d3b\u52a8\u6570\u636e\u591a3\u201310\u500d\u7684\u5185\u5b58\u3002<\/li>\n<p>\t<\/p>\n<li>Linux\u3001Solaris\u6216Windows\u64cd\u4f5c\u7cfb\u7edf\u3002<\/li>\n<p>\t<\/p>\n<li>\u6700\u5c114\u5757\u78c1\u76d8\uff0c8\u201316\u5757\u78c1\u76d8\u80fd\u589e\u52a0I\/O\u5bc6\u96c6\u578b\u5e94\u7528\u7684\u6027\u80fd\u3002<\/li>\n<p>\t<\/p>\n<li>\u652f\u6301\u7535\u6c60\u4f9b\u7535\u9ad8\u901f\u7f13\u5b58\u7684\u786c\u4ef6RAID\u3002<\/li>\n<p>\t<\/p>\n<li>\u63a8\u8350\u4f7f\u7528RAID 10\u3002\u5982\u679c\u8d1f\u8f7d\u4e3a\u8bfb\u5bc6\u96c6\u578b\uff0cRAID 5\u4e5f\u662f\u5408\u9002\u7684\u3002<\/li>\n<p>\t<\/p>\n<li>2\u4e2a\u7f51\u5361\u548c2\u4e2a\u4f9b\u7535\u5355\u5143\u7528\u4f5c\u5197\u4f59\u3002<\/li>\n<p><\/ul>\n<p>\u53e6\u5916\uff0c\u767d\u76ae\u4e66\u8fd8\u6709\u4e00\u4e9b\u9488\u5bf9MySQL\u96c6\u7fa4\u548c\u6570\u636e\u5b58\u50a8\u8bbe\u5907\u7684\u5efa\u8bae\uff0c\u518d\u5c31\u662f\u7528\u4e8e\u76d1\u63a7\u3001\u5907\u4efd\u548c\u96c6\u7fa4\u7ba1\u7406\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u67e5\u770b\u82f1\u6587\u539f\u6587\uff1a<a href=\"http:\/\/www.infoq.com\/news\/2013\/03\/MySQL-Reference-Architectures\" target=\"_blank\" rel=\"external nofollow\">MySQL Reference Architectures for Small to Extra Large Websites<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle\u53d1\u5e03\u4e86\u300a\u9762\u5411\u5927\u89c4\u6a21\u53ef\u4f38\u7f29\u7f51\u7ad9\u57fa\u7840\u8bbe\u65bd\u7684MySQL\u53c2\u8003\u67b6\u6784\u300b\u767d\u76ae\u4e66\uff0c\u9488\u5bf9\u5c06MySQL\u7528\u4f5c\u6570\u636e\u5b58\u50a8\u7684\u4e0d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1564","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1564"}],"version-history":[{"count":0,"href":"https:\/\/www.huzs.top\/index.php?rest_route=\/wp\/v2\/posts\/1564\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huzs.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}