{"id":4528,"date":"2015-10-08T16:13:25","date_gmt":"2015-10-08T07:13:25","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=4528"},"modified":"2015-10-14T20:46:05","modified_gmt":"2015-10-14T11:46:05","slug":"auroramariadbmysql","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/auroramariadbmysql\/","title":{"rendered":"Aurora\/MariaDB\/MySQL"},"content":{"rendered":"<p>AWS\u304b\u3089\u65b0\u30b5\u30fc\u30d3\u30b9\u306e\u767a\u8868\u304c\u591a\u6570\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u65e5\u306e\u767a\u8868\u3067\u306f\u5168\u304f\u65b0\u3057\u3044\u30b5\u30fc\u30d3\u30b9\u3068\u3044\u3046\u3088\u308a\u304b\u306f\u4eca\u307e\u3067\u306e\u30b5\u30fc\u30d3\u30b9\u3092<\/p>\n<p>\u3088\u308a\u4f7f\u3044\u3084\u3059\u304f\u6a5f\u80fd\u8ffd\u52a0\u3092\u3057\u305f\u5370\u8c61\u3067\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u306e\u58f0\u3092\u7b2c\u4e00\u306b\u8003\u3048\u3066\u306e\u3053\u3068\u3060\u3068\u4ef0\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u4f7f\u3044\u306b\u304f\u3044\u30fb<\/p>\n<p>\u3082\u3063\u3068\u3053\u3093\u306a\u6a5f\u80fd\u304c\u6b32\u3057\u3044\u3068\u3044\u3063\u305f\u8981\u671b\u3092\u30b5\u30dd\u30fc\u30c8\u306b\u4f1d\u3048\u308b\u3068\u5b9f\u73fe\u3057\u3066\u304f\u308c\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u65e5\u767a\u8868\u306e\u3042\u3063\u305fMariaDB\u3068\u3001\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u3067\u4f7f\u7528\u53ef\u80fd\u306b\u306a\u3063\u305fAurora\u3068\u65e2\u306b\u4f7f\u7528\u53ef\u80fd\u306a<\/p>\n<p>MySQL\u3068\u3067\u3001sysbench\u306b\u3066\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u53d6\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>Aurora,MariaDB\u5171\u306bMySQL\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u305f\u3081\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u65b9\u6cd5\u306f\u5168\u304f\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u6599\u91d1\u3067\u5408\u308f\u305b\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u30d0\u30e9\u30d0\u30e9\u3067\u4f55\u3068\u3082\u8a00\u3048\u306a\u3044\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306bAurora\u306e\u6700\u5c0f\u30b9\u30da\u30c3\u30af\u306fr3.large\u3068\u3061\u3087\u3063\u3068\u9ad8\u3081\u3067\u3059\u3002<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<ul>\n<li>Aurora\u00a0r3.large\u00a0$0.35 1\u30f6\u6708\u7d043\u4e07\u5186<\/li>\n<li>MariaDB\u00a0r3.large\u00a0$0.285 1\u30f6\u6708\u7d042.5\u4e07\u5186<\/li>\n<li>MySQL\u00a0t2.large\u00a0$0.382\u00a01\u30f6\u6708\u7d043.5\u4e07\u5186<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u7d50\u679c\u3092\u4e0b\u8a18\u306b\u8a18\u8f09\u3057\u307e\u3059\u304c\u3001Aurora\u304c\u4e00\u756a\u6027\u80fd\u826f\u3044\u3068\u3044\u3046\u7d50\u679c\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>MariaDB\u3068MySQL\u306f\u540c\u3058\u3088\u3046\u306a\u7d50\u679c\u3067\u3057\u305f\u304c\u3001MariaDB\u306e\u65b9\u304c\u6599\u91d1\u304c\u5b89\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3042\u304f\u307e\u3067\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u306e\u7d50\u679c\u306b\u3088\u308b\u6bd4\u8f03\u306a\u306e\u3067\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306e\u6027\u80fd\u306f\u81ea\u8eab\u3067\u8a66\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n[Aurora]\nOLTP test statistics:<br \/>\nqueries performed:<br \/>\nread: 1401078<br \/>\nwrite: 500184<br \/>\nother: 200077<br \/>\ntotal: 2101339<br \/>\ntransactions: 100000 (255.81 per sec.)<br \/>\ndeadlocks: 77 (0.20 per sec.)<br \/>\nread\/write requests: 1901262 (4863.59 per sec.)<br \/>\nother operations: 200077 (511.81 per sec.)<\/p>\n<p>Test execution summary:<br \/>\ntotal time: 390.9176s<br \/>\ntotal number of events: 100000<br \/>\ntotal time taken by event execution: 3908.7140<br \/>\nper-request statistics:<br \/>\nmin: 15.80ms<br \/>\navg: 39.09ms<br \/>\nmax: 157.98ms<br \/>\napprox. 95 percentile: 47.67ms<\/p>\n<p>Threads fairness:<br \/>\nevents (avg\/stddev): 10000.0000\/8.69<br \/>\nexecution time (avg\/stddev): 390.8714\/0.01<\/p>\n[MariaDB]\nOLTP test statistics:<br \/>\nqueries performed:<br \/>\nread: 1400336<br \/>\nwrite: 500061<br \/>\nother: 200024<br \/>\ntotal: 2100421<br \/>\ntransactions: 100000 (165.67 per sec.)<br \/>\ndeadlocks: 24 (0.04 per sec.)<br \/>\nread\/write requests: 1900397 (3148.43 per sec.)<br \/>\nother operations: 200024 (331.38 per sec.)<\/p>\n<p>Test execution summary:<br \/>\ntotal time: 603.6019s<br \/>\ntotal number of events: 100000<br \/>\ntotal time taken by event execution: 6035.2813<br \/>\nper-request statistics:<br \/>\nmin: 50.26ms<br \/>\navg: 60.35ms<br \/>\nmax: 211.54ms<br \/>\napprox. 95 percentile: 70.52ms<\/p>\n<p>Threads fairness:<br \/>\nevents (avg\/stddev): 10000.0000\/11.45<br \/>\nexecution time (avg\/stddev): 603.5281\/0.02<\/p>\n[MySQL]\nOLTP test statistics:<br \/>\nqueries performed:<br \/>\nread: 1400238<br \/>\nwrite: 500043<br \/>\nother: 200017<br \/>\ntotal: 2100298<br \/>\ntransactions: 100000 (164.83 per sec.)<br \/>\ndeadlocks: 17 (0.03 per sec.)<br \/>\nread\/write requests: 1900281 (3132.27 per sec.)<br \/>\nother operations: 200017 (329.69 per sec.)<\/p>\n<p>Test execution summary:<br \/>\ntotal time: 606.6785s<br \/>\ntotal number of events: 100000<br \/>\ntotal time taken by event execution: 6066.1762<br \/>\nper-request statistics:<br \/>\nmin: 48.54ms<br \/>\navg: 60.66ms<br \/>\nmax: 214.81ms<br \/>\napprox. 95 percentile: 72.23ms<\/p>\n<p>Threads fairness:<br \/>\nevents (avg\/stddev): 10000.0000\/8.97<br \/>\nexecution time (avg\/stddev): 606.6176\/0.02<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS\u304b\u3089\u65b0\u30b5\u30fc\u30d3\u30b9\u306e\u767a\u8868\u304c\u591a\u6570\u3042\u308a\u307e\u3057\u305f\u3002 \u4eca\u65e5\u306e\u767a\u8868\u3067\u306f\u5168\u304f\u65b0\u3057\u3044\u30b5\u30fc\u30d3\u30b9\u3068\u3044\u3046\u3088\u308a\u304b\u306f\u4eca\u307e\u3067\u306e\u30b5\u30fc\u30d3\u30b9\u3092 \u3088\u308a\u4f7f\u3044\u3084\u3059\u304f\u6a5f\u80fd\u8ffd\u52a0\u3092\u3057\u305f\u5370\u8c61\u3067\u3059\u3002 \u30e6\u30fc\u30b6\u306e\u58f0\u3092\u7b2c\u4e00\u306b\u8003\u3048\u3066\u306e\u3053\u3068\u3060\u3068\u4ef0\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u4f7f\u3044\u306b\u304f\u3044\u30fb &#8230;<\/p>\n","protected":false},"author":1,"featured_media":4526,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"4528","footnotes":""},"categories":[20,19,81],"tags":[],"class_list":{"0":"post-4528","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-aws","8":"category-19","9":"category-81","10":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/4528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=4528"}],"version-history":[{"count":5,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/4528\/revisions"}],"predecessor-version":[{"id":4539,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/4528\/revisions\/4539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/4526"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=4528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=4528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=4528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}