{"id":5914,"date":"2014-01-09T17:50:19","date_gmt":"2014-01-09T09:50:19","guid":{"rendered":"http:\/\/lucien.cc\/?p=5868"},"modified":"2014-01-09T17:50:19","modified_gmt":"2014-01-09T09:50:19","slug":"20131213-%e6%90%ad%e8%bc%89-mariadb-%e8%b3%87%e6%96%99%e5%ba%ab%e7%9a%84-red-hat-enterprise-linux-7-beta-%e7%89%88%e4%be%86%e4%ba%86","status":"publish","type":"post","link":"https:\/\/lucien.cc\/?p=5914","title":{"rendered":"20131213-\u642d\u8f09 MariaDB \u8cc7\u6599\u5eab\u7684 Red Hat Enterprise Linux 7 beta \u7248\u4f86\u4e86"},"content":{"rendered":"<p>\u9ec3\u90c1\u6587\uff0f\u7de8\u8b6f<\/p>\n<p>Red Hat \u8fd1\u65e5\u91cb\u51fa Red Hat Enterprise Linux (RHEL) \u7b2c 7\u00a0\u7248\u7684\u6e2c\u8a66\u7248\u672c\u3002\u6b64\u4e00\u7248\u672c\uff0c\u9664\u4e86\u5728\u865b\u64ec\u5316\u548c\u96f2\u7aef\u65b9\u9762\u589e\u52a0\u4e86\u65b0\u7684\u529f\u80fd\uff0c\u4e26\u9032\u4e00\u6b65\u52a0\u6df1\u7cfb\u7d71\u5b89\u5168\u6027\u5916\uff0c\u7d93\u7531\u6b64\u6b21\u91cb\u51fa\uff0cRed Hat \u4e00\u4f75\u5c07 RHEL \u9810\u8a2d\u4f7f\u7528\u7684\u8cc7\u6599\u5eab\uff0c\u8207\u8cc7\u6599\u5eab\u7ba1\u7406\u7cfb\u7d71 (database management system, DBMS)\uff0c\u5f9e Oracle \u7684 MySQL \u66f4\u63db\u6210 MariaDB\u3002<\/p>\n<p>\u9810\u8a08\u5728 2014 \u5e74\u521d\u91cb\u51fa\u7684 RHEL 7\uff0c\u5176\u57fa\u790e\u67b6\u69cb\u662f Red Hat \u7684 Linux \u793e\u7fa4\u7248\u672c Fedora 19\uff0c\u6838\u5fc3\u5247\u662f\u63a1\u7528 Linux kernel 3.10 \u7248\uff0c\u9019\u6a23\u7684\u642d\u914d\u525b\u597d\u547c\u61c9\u6700\u8fd1 Linux kernel \u958b\u767c\u8005\u6240\u8a00\uff0c\u5c07\u6703\u6301\u7e8c\u652f\u63f4 kernel 3.10 \u7248\u5728\u5546\u696d\u74b0\u5883\u7684\u61c9\u7528\u3002\u800c\u904e\u53bb\u9019\u5e7e\u500b\u6708\u4f86\uff0cRed Hat \u90fd\u5f88\u986f\u8457\u7684\u5728\u9032\u884c Fedora 19 \u7684\u7a69\u5b9a\u6027\u8207\u5b89\u5168\u6027\u5f37\u5316\u5de5\u4f5c\uff0c\u597d\u5728\u6b64\u4e00\u793e\u7fa4\u7248\u672c\u7684\u7814\u767c\u57fa\u790e\u4e0a\uff0c\u8b93\u672a\u4f86 RHEL 7 \u5728\u529f\u80fd\u8868\u73fe\u4e0a\u66f4\u52a0\u512a\u7570\uff0c\u5f8c\u8b93\u4f01\u696d\u4f7f\u7528\u6236\u7684\u5347\u7d1a\u7d93\u9a57\u80fd\u66f4\u70ba\u9806\u5229\u3002\u53e6\u5916\uff0c\u5982\u524d\u6240\u8ff0\uff0cRed Hat \u66f4\u5c07 DBMS \u5f9e\u904e\u53bb\u7684 MySQL\uff0c\u66f4\u63db\u6210\u8d8a\u4f86\u8d8a\u88ab\u5ee3\u6cdb\u4f7f\u7528\u7684 MariaDB\u3002\u4e0d\u904e\uff0cRed Hat \u6b64\u8209\u4e26\u975e\u5fb9\u5e95\u907a\u68c4 MySQL \u7684\u4f7f\u7528\u8005\uff0c\u64da\u8868\u793a\uff0c\u5176\u4ecd\u6703\u5728\u5305\u542b RHEL 6 \u7684\u9032\u968e\u7248\u672c\u4e2d\uff0c\u7e7c\u7e8c\u652f\u63f4 MySQL\uff0c\u4f46\u56e0\u61c9\u76ee\u524d\u78ba\u5be6\u6709\u8a31\u591a\u7684\u5546\u696d\u4f7f\u7528\u8005\uff0c\u5df2\u6f38\u4ee5 MariaDB \u53d6\u4ee3 MySQL \u7684\u4f7f\u7528\uff0c\u6545 RHEL \u4e5f\u5728\u73fe\u884c\u63a8\u51fa\u7684 beta \u7248\u672c\uff0c\u5148\u884c\u8a66\u9a57\u6b64\u4e00\u8f49\u63db\u7684\u53ef\u884c\u6027\uff0c\u8207\u4f7f\u7528\u8005\u7684\u63a5\u53d7\u5ea6\u3002<\/p>\n<p>RHEL 7 \u65b0\u589e\u529f\u80fd\u9084\u6709\u4f7f\u7528\u6700\u65b0\u7684 Linux Container \u6280\u8853\uff0c\u4f8b\u5982\u63a1\u7528 Docker \u9019\u6a23\u7684\u958b\u6e90\u5c08\u6848\uff0c\u4ee5\u8b93\u4f7f\u7528\u8005\u53ef\u4ee5\u66f4\u7c21\u4fbf\u5730\u5728\u7368\u7acb\u74b0\u5883\u4e2d\u958b\u767c\u914d\u7f6e\u7684\u61c9\u7528\u7a0b\u5f0f\uff0c\u6b64\u6642\u7cfb\u7d71\u8cc7\u6e90\u53ef\u4ee5\u88ab\u5206\u5272\u81f3\u5404\u500b\u61c9\u7528\u7a0b\u5f0f\u7684 container \u88e1\uff0c\u8b93\u6bcf\u500b\u61c9\u7528\u7a0b\u5f0f\u53ea\u7528\u5230\u6240\u9700\u7684\u8cc7\u6e90\uff0c\u4e14\u8f03\u4e0d\u6703\u6709\u76f8\u4f9d\u6027\u65b9\u9762\u7684\u554f\u984c\u3002\u6b64\u7a2e\u8cc7\u6e90\u7c21\u7701\u7684\u624b\u6bb5\uff0c\u662f\u50b3\u7d71 Linux \u6838\u5fc3\u4e0a\u865b\u64ec\u61c9\u7528\u74b0\u5883 (Linux Kernel-based Virtual Machine, KVM) \u6240\u8f03\u70ba\u4e0d\u8db3\u7684\u3002\u53e6\u5916\uff0cRHEL 7 \u63d0\u4f9b\u7684\u66f4\u65b0\u5de5\u5177\uff0c\u53ef\u5354\u52a9\u4f7f\u7528\u8005\u5c07 RHEL 6.5 \u7684\u7cfb\u7d71\uff0c\u8f49\u63db\u6210\u70ba RHEL 7\uff0c\u800c\u865b\u64ec\u6a5f\u5668\u65b9\u9762\uff0c\u4ea6\u53ef\u4ee5\u900f\u904e\u9019\u500b\u66f4\u65b0\u5de5\u5177\uff0c\u76f4\u63a5\u5f9e RHEL 6 host \u8f49\u63db\u6210 RHEL 7 host \u7684\u74b0\u5883\uff0c\u800c\u4e0d\u9700\u8981\u9032\u884c\u592a\u591a\u984d\u5916\u7684\u5347\u7d1a\u8abf\u6821\uff0c\u6216\u5728\u904e\u7a0b\u4e2d\u8b93\u865b\u64ec\u6a5f\u5668\u66ab\u505c\u904b\u4f5c\u3002<\/p>\n<p>\u5176\u4ed6\u7684\u66f4\u65b0\uff0c\u9084\u6709\u5c07\u9810\u8a2d\u7684\u6a94\u6848\u5132\u653e\u7cfb\u7d71\u7531 Ext 4 \u8f49\u63db\u6210 XFS\uff0c\u4ee5\u56e0\u61c9\u4f01\u696d\u8655\u7406\u5de8\u91cf\u8cc7\u6599\u7684\u8981\u6c42\uff0c\u9019\u6a23\u4e00\u4f86 RHEL 7 \u6240\u80fd\u7ba1\u7406\u7684\u5206\u5272\u5340\u5bb9\u91cf\u5c07\u53ef\u9054\u81f4 500 TeraBytes\uff0c\u800c\u80fd\u5920\u652f\u63f4\u7684\u500b\u5225\u6a94\u6848\u5927\u5c0f\uff0c\u4e5f\u5c07\u5f9e 16 TB \u63d0\u5347\u5230 50 TB\uff0c\u81f3\u65bc\u8cc7\u6599\u5132\u653e\u4e0a\u7684 block sizes \u5247\u53ef\u9054 1 MB\uff0c\u6b64\u8209\u5c07\u5927\u70ba\u6e1b\u5c11 block allocation \u5728\u914d\u7f6e\u4e0a\u6240\u9700\u7684\u6642\u9593\u3002\u4e0d\u904e\uff0cRed Hat \u4ecd\u6703\u6301\u7e8c\u652f\u63f4 Ext 4 \uff0c\u4e26\u4e00\u4f75\u652f\u63f4 Btrfs \u6a94\u6848\u7cfb\u7d71\uff0c\u4ee5\u5728\u8cc7\u6599\u76f8\u5bb9\u6027\u8207\u4fbf\u5229\u6027\u4e0a\uff0c\u80fd\u8207\u5c0d\u624b SUSE \u53ca Oracle \u6297\u8861\u3002\u7562\u7adf\uff0cBtrfs \u7684\u4f7f\u7528\u80fd\u6574\u5408\u57fa\u672c\u5132\u5b58\u5340\u7ba1\u7406\u3001\u652f\u63f4\u7cfb\u7d71\u72c0\u614b\u5feb\u7167 (snapshot)\uff0c\u4ee5\u53ca\u589e\u52a0\u8cc7\u6599\u5927\u5c0f\u6838\u5c0d (checksum) \u7684\u529f\u80fd\uff0c\u4ee5\u6574\u5408\u4e00\u822c\u8cc7\u6599\u8207 metadata \u7684\u5132\u653e\u904b\u7528\u3002\u6b64\u5916\uff0c RHEL 7 \u5728\u5132\u5b58\u5bb9\u91cf\u8a2d\u5b9a\u4e0a\u4e5f\u6709\u6539\u9032\uff0c\u5176\u66f4\u65b0\u4e86 NFS (Network File System) \u7684\u50b3\u8f38\u5354\u5b9a\uff0c\u4e26\u85c9\u6b64\u5f37\u5316\u4e86\u8cc7\u6599\u5206\u4eab\u8207\u5b58\u53d6\u4e4b\u969b\u7684\u7cfb\u7d71\u5b89\u5168\u6027\uff0c\u76f8\u95dc\u4f5c\u70ba\u5305\u62ec\u589e\u52a0\u7db2\u8def\u8cc7\u6599\u5b58\u53d6\u7684\u7ba1\u7406\u7a0b\u5f0f\u8207\u6307\u4ee4\u5217\u4ecb\u9762 (Command Line Interface )\uff0c\u4e26\u900f\u904e\u9019\u4e9b\u5f37\u5316\u529f\u80fd\u4f86\u7c21\u5316\u76f8\u7570\u5132\u5b58\u74b0\u5883\u7684\u7ba1\u7406\u6b65\u9a5f\u3002\u9032\u4e00\u6b65\uff0cRHEL 7 \u66f4\u76f4\u63a5\u642d\u914d Samba 4.1 \u7248\u672c\uff0c\u4f86\u9806\u66a2\u5176\u8207 Microsoft Windows \u4f3a\u670d\u5668\u4e4b\u9593\u7684\u8cc7\u6599\u4ea4\u63db\uff0c\u5c0d\u65bc\u5c08\u696d\u7684\u7ba1\u7406\u54e1\u800c\u8a00\uff0c\u751a\u81f3\u53ef\u4ee5\u76f4\u63a5\u900f\u904e\u7a0b\u5f0f\u8173\u672c (scripting) \u8207\u5ba2\u88fd\u5316 API \u4ecb\u9762\u7684\u65b9\u5f0f\uff0c\u4f86\u81ea\u52d5\u5316\u8de8\u5e73\u53f0\u7cfb\u7d71\u4e4b\u9593\u7684\u8cc7\u6599\u7ba1\u7406\u3002<\/p>\n<p>\u82e5\u5c0d RHEL 7 \u6240\u63cf\u7e6a\u7684\u8cc7\u8a0a\u7cfb\u7d71\u6846\u67b6\u6709\u8208\u8da3\u9032\u884c\u6df1\u5165\u77ad\u89e3\uff0c\u53ef\u53c3\u8003 RHEL-focused blog \u4e0a\u6240\u8f09\u7684\u76f8\u95dc\u8cc7\u8a0a\uff1a<a href=\"http:\/\/rhelblog.redhat.com\/\" target=\"_blank\">http:\/\/rhelblog.redhat.com\/<\/a>\uff0c\u81f3\u65bc\u6709\u610f\u6e2c\u8a66 RHEL 7 beta \u7248\u672c\u7684\u73a9\u5bb6\uff0c\u5247\u53ef\u900f\u904e\u53f3\u5217\u7db2\u5740\uff0c\u9032\u884c\u8a66\u7528\uff1a<a href=\"http:\/\/www.redhat.com\/promo\/partner-early-access\/\" target=\"_blank\">http:\/\/www.redhat.com\/promo\/partner-early-access\/<\/a>\u3002<\/p>\n<p>&#8212;-<\/p>\n<p>\u53c3\u8003\u7db2\u5740\uff1a<\/p>\n<p>1\u3001Red Hat Enterprise Linux 7 beta \u7248\u4ee5 MariaDB \u7576\u4f5c\u9810\u8a2d\u8cc7\u6599\u5eab<br \/>\n<a href=\"http:\/\/www.zdnet.com\/red-hat-enterprise-linux-7-beta-arrives-with-mariadb-as-its-default-database-7000024194\/\" target=\"_blank\">http:\/\/www.zdnet.com\/red-hat-enterprise-linux-7-beta-arrives-with-mariadb-as-its-default-database-7000024194\/<\/a><\/p>\n<p>2\u3001\u62d2\u7d55 Oracle &#8220;\u770b\u4f3c\u4e0d\u7834&#8221; \u7684\u7368\u9580\u7cfb\u7d71\uff0c\u8f49\u70ba\u652f\u6301\u8f03\u70ba\u958b\u653e\u591a\u5143\u7684 Red Hat Enterprise Linux \u5427\uff01<br \/>\n<a href=\"http:\/\/techrights.org\/2013\/12\/12\/red-hat-enterprise-linux\/\" target=\"_blank\">http:\/\/techrights.org\/2013\/12\/12\/red-hat-enterprise-linux\/<\/a><\/p>\n<p>3\u3001Red Hat Enterprise Linux 7 \u9032\u5165 Beta \u6e2c\u8a66\u968e\u6bb5<br \/>\n<a href=\"http:\/\/www.eweek.com\/enterprise-apps\/red-hat-enterprise-linux-7-enters-beta.html\/\" target=\"_blank\">http:\/\/www.eweek.com\/enterprise-apps\/red-hat-enterprise-linux-7-enters-beta.html\/<\/a><\/p>\n<p>4\u3001\u73fe\u5728\u9032\u884c\u5f0f &#8211; Google \u68c4 MySQL \u8f49\u5411 MariaDB<br \/>\n<a href=\"http:\/\/www.openfoundry.org\/tw\/foss-news\/9070--google-mysql-mariadb\" target=\"_blank\">http:\/\/www.openfoundry.org\/tw\/foss-news\/9070&#8211;google-mysql-mariadb<\/a><\/p>\n<p>5\u3001\u6beb\u7121\u7406\u7531\u4f7f\u7528 MySQL\uff1aMariaDB\u3001MySQL \u5275\u59cb\u8005 Michael Widenius \u7684\u8a2a\u8ac7<br \/>\n<a href=\"http:\/\/www.openfoundry.org\/tw\/foss-forum\/8974--mysqlmariadbmysql-michael-widenius-\" target=\"_blank\">http:\/\/www.openfoundry.org\/tw\/foss-forum\/8974&#8211;mysqlmariadbmysql-michael-widenius-<\/a><\/p>\n<p>6\u3001Wikipedia \u6f38\u63a1 MariaDB \u4f86\u4ee3\u63db MySQL<br \/>\n<a href=\"http:\/\/www.openfoundry.org\/tw\/foss-news\/8900-wikipedia--mariadb--mysql\" target=\"_blank\">http:\/\/www.openfoundry.org\/tw\/foss-news\/8900-wikipedia&#8211;mariadb&#8211;mysql<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9ec3\u90c1\u6587\uff0f\u7de8\u8b6f Red Hat \u8fd1\u65e5\u91cb\u51fa Red Hat Enterprise Linux (RHEL) \u7b2c 7&hellip; <a class=\"more-link\" href=\"https:\/\/lucien.cc\/?p=5914\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">20131213-\u642d\u8f09 MariaDB \u8cc7\u6599\u5eab\u7684 Red Hat Enterprise Linux 7 beta \u7248\u4f86\u4e86<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":5873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[3],"tags":[61,74,138,144,160,204,206,212,255],"class_list":["post-5914","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-writing","tag-databse","tag-ext4","tag-linux","tag-mariadb","tag-mysql","tag-red-hat","tag-rhel","tag-samba","tag-xfs"],"_links":{"self":[{"href":"https:\/\/lucien.cc\/index.php?rest_route=\/wp\/v2\/posts\/5914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucien.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucien.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucien.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lucien.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5914"}],"version-history":[{"count":0,"href":"https:\/\/lucien.cc\/index.php?rest_route=\/wp\/v2\/posts\/5914\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lucien.cc\/index.php?rest_route=\/wp\/v2\/media\/5873"}],"wp:attachment":[{"href":"https:\/\/lucien.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucien.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucien.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}