ã¡ã¢ã£ãã®ã§ãè²¼ä»ãã¦ããã¾ãã
ééãçããããããã¾ãããããã®å ´åã¯ããããªããã
- Auroraã¯ç¾å¨Previewä¸
- é »ç¹ã«ãããã¤ã»æ©è½å¤æ´ãè¡ããã¦ãã
- ä»æ¥ã®è©±ã®å 容ã¯6/2æç¹ã®ãã®
ãã«ããã¼ã¸ããªDB
- ãã¼ã¿ãã¼ã¹ãæ°åã§ä½æå¯è½
- èªåã§ãããã®é©ç¨
- 1ã¯ãªãã¯ã§ã¹ã±ã¼ã«ã¢ã¦ã
- S3ã¸ã®ç¶ç¶çããã¯ã¢ãã
Amazon Aurora
- AWSãã¯ã©ã¦ãæ代ã«RDBãä½ãã¨ããã¨ã©ããªããã1ããèãã
- ã¨ã³ã¿ã¼ãã©ã¤ãºã°ã¬ã¼ãã®å¯ç¨æ§ã¨OSSã¬ãã«ã®ã³ã¹ãã両ç«
- ç¾å¨ã¯Limited Preview
- Virginia/Oregon/Irelandãªã¼ã¸ã§ã³ã§åãã¦ãã
- 5/20ããpreviewããããã¯ã·ã§ã³ç°å¢ã¸ç§»è¡
- Betaç°å¢ã¯ã¯ãã¼ãº
Auroraã®Pricing
- ç¾å¨ã¯ãr3ã·ãªã¼ãºã®ã¿ã§ã®æä¾
- ã©ã¤ã»ã³ã¹æéã¯ä¸è¦
- MySQLã¨100%äºæãªã®ã§ãããã¯ã¤ã³ã¯ãªã
- ã¤ã³ã¹ã¿ã³ã¹åã®èª²éã«å ãã¦ãã¹ãã¬ã¼ã¸èª²éã¨IO課éããã
ç¹å¾´
- MySQL5.6ã¨ã®äºææ§ãä¿ã¤ããã«éçºããã¦ãã
- ã¹ãã¬ã¼ã¸ã10GBãã64TBã¾ã§ã·ã¼ã ã¬ã¹ã«æ¡å¼µ
- 3AZã«2ã¤ãã¤ãè¨6ã¤ã®ãã¼ã¿ã³ãã¼ãä¿æ
- S3ã«Streaming Backupãå®æ½
- VPCå ã«èµ·å
- 99.99%ã®å¯ç¨æ§ãå®ç¾ããããã«è¨è¨ããã¦ãã
ãªããAmazonãDBãåèããã
- ç¾å¨ã®ã¢ããªã·ãã¯ãªãã¼ã¿ãã¼ã¹ã§ã¯ãã¹ã±ã¼ã«ã¢ã¦ããããã¨ã³ã¹ãã»å¯ç¨æ§ã»æè»æ§ã®é¢ã§åé¡
- ä»ããã¼ã¿ãã¼ã¹ãå度å®è£
ãããªãã©ããããï¼
- 1970年代ã®æ¹æ³ã§ã¯å®è£ ããªã
- ãã¤ã¨ã³ããã¼ã¿ãã¼ã¹ã®è¦ãªã¹ãã¼ãã¨å¯ç¨æ§
- OSSãã¼ã¿ãã¼ã¹ã®ã·ã³ãã«ãã¨ã³ã¹ãå¹æã®é«ã
- å©ç¨ããåã ãæ¯æãã¢ãã«
Service Oriented Architecture
- ãã°ã¨ã¹ãã¬ã¼ã¸ã¬ã¤ã¤ãã·ã¼ã ã¬ã¹ã«ã¹ã±ã¼ã«ããã¹ãã¬ã¼ã¸ãµã¼ãã¹ã«ç§»å
- EC2, DynamoDB, SWFãªã©ã®AWSãµã¼ãã¹ã管çã³ã³ãã¼ãã³ãã«æ¡ç¨
- S3ãå©ç¨ãã¦é«ãå¯ç¨æ§ã§ã¹ããªã¼ãã³ã°ããã¯ã¢ãã
ãã£ãã·ã¥ã¬ã¤ã¤ã®åé¢
- ãã£ãã·ã¥ããã¼ã¿ãã¼ã¹ããã»ã¹å¤ã«ç§»åããã
- ãã¼ã¿ãã¼ã¹ããã»ã¹ã®ãªã¹ã¿ã¼ããçºçãã¦ããã£ãã·ã¥ãæ®ã£ãç¶æ ãç¶æå¯è½
Auroraã®ã¹ãã¬ã¼ã¸
- SSDãå©ç¨ããã·ã¼ã ã¬ã¹ã«ã¹ã±ã¼ã«ããã¹ãã¬ã¼ã¸
- æ¨æºã§HAãå®ç¾
- 3AZã«6ã¤ã®ã³ãã¼
- 2ãã£ã¹ã¯ãå©ç¨ä¸å¯ã§ãèªã¿æ¸ãå¯è½
- Log Structure Storage
- Auroraã6æ¬ã®ãã£ã¹ã¯ã¸ã®æ¸ãè¾¼ã¿ãå¾ ããã«ãå°ãªãã¨ã4ã¤ã«æ¸ãè¾¼ã¿ãå®äºãããããã«æ¬¡ã®å¦çãå®è¡
- ãããã¹ãããã®å½±é¿ãåãé¤ããé常ã«é«ã並å度ãå®ç¾
- ã¹ãã¬ã¼ã¸ã¯SSDãã¼ã¹ã®ãã£ã¹ã¯ã«10GBãã¤ã®ãããã¯å ã«åæ£ãã¦æ¸ãè¾¼ã¾ãã
ã¹ãã¬ã¼ã¸ã®ç¹å¾´
- ãªã¼ãã¬ããªã«ããã¹ã¿ã¨åãã¹ãã¬ã¼ã¸ãåç §
- ç¶ç¶çãªS3ã¸ã®å¢åããã¯ã¢ãã
- èªåã§åã¹ãã©ã¤ãã³ã°ããã©ã¼ä¿®å¾©ããããã¹ããã管çãæå·å
Log Structure Storage
- 追è¨åã®ã¹ãã¬ã¼ã¸ã·ã¹ãã
- 常ã«æ«å°¾ã«ãã¼ã¿ã追å ãã¦ããã ã
- GCã«ãããã¼ã¿ãå¹ççã«æ ¼ç´ãã
- ã·ã¼ã±ã³ã·ã£ã«ã«èªã¿åºãäºãåºæ¥ã
- 常ã«ææ°ã®ãã¼ã¿ãæ«å°¾ã«ãã
- ãããã®ç¹å¾´ã«ããS3ã¸ã®ç¶ç¶ããã¯ã¢ããã»æ¸ãè¾¼ã¿æ§è½ã®åä¸ãå®ç¾
ãã£ã¹ã¯é害ã®æ¤ç¥ã¨ä¿®å¾©
- 2ã¤ã®ã³ãã¼ã«é害ãèµ·ãã¦ããèªã¿æ¸ãã«å½±é¿ã¯ç¡ã
- 3ã¤ã®ã³ãã¼ã«é害ãããã¦ããèªã¿è¾¼ã¿ã¯å¯è½
- é害ãèµ·ãã¦ãèªåã§ä¿®å¾©
ã¬ããªã±ã¼ã·ã§ã³
- Consistency - ç°å¸¸ã修復
- Latency - åæ vs éåæã¬ããªã±ã¼ã·ã§ã³
- network I/Oãå¹ççã«è¡ã
- Binlogã«ããã¬ããªã±ã¼ã·ã§ã³ã§ã¯ãªã
- ãã¹ã¿ã¼ã¸ã®è² è·ãæå°éã«ãã¤ã¤ã15å°ã¾ã§ãªã¼ãã¬ããªã«ãä½æå¯è½
- 100ms以å ã®ã¬ããªã±ã¼ã·ã§ã³é 延
- ãã¹ã¿ã¨ãªã¼ãã¬ããªã«ã§åããã£ã¹ã¯ãå ±æãã¦ããããããã§ã¤ã«ãªã¼ãã¼ã§ãã¼ã¿ãã¹ãç¡ã
ã»ãã¥ãªãã£
- ãã¼ã¿ã®æå·å
- SSLãå©ç¨
- VPCã使ã£ããããã¯ã¼ã¯åé¢
- ãã¼ãã¸ã®ç´æ¥ã¢ã¯ã»ã¹ã¯ä¸å¯è½
DBã¯ã©ã¹ã¿
- ãã¹ã¿ã¨ãªã¼ãã¬ããªã«ãã²ã¨ã¾ã¨ãã«ãããã®
- ãã§ã¤ã«ãªã¼ãã¼ãçºçãã¦ãã常ã«ãã¹ã¿ãåç §ã§ããã¨ã³ããã¤ã³ãã1ã¤åå¨ãã
- DB Parameter Groupã¨DB Cluster Parameter Group(ã¯ã©ã¹ã¿å ã§å ±éè¨å®)ããã
ãã§ã¤ã«ãªã¼ãã¼ã¨ãªãã¬ã¼ã¹
- ãªã¼ãã¬ããªã«ãåå¨ããå ´åã¯ã1åç¨åº¦ã§ãã§ã¤ã«ãªã¼ãã¼
- ãªã¼ãã¬ããªã«ãåå¨ããªãå ´åã¯ã10åç¨
- ä»å¾ãéçºãé²ãã°ãã£ã¨ã¯ãããªããã
- åªå
çã«ãã§ã¤ã«ãªã¼ãã¼ããããã¼ãã1ã¤æå®å¯è½
- Multi-AZé ç½®ã¨ãã¦ãå¥AZã§èµ·åãã
- ãã¼ããªãã¬ã¼ã¹æã«æ°Auroraãã¼ããèµ·åããAZãæå®å¯è½
ã¯ã©ã¹ã¿ã¨ã³ããã¤ã³ã
- Writer/Readerã®ã»ãããã¯ã©ã¹ã¿ã¨å¼ã³ãã¯ã©ã¹ã¿ã§å¸¸ã«Writer(ãã¹ã¿)ãæãã¨ã³ããã¤ã³ããåå¨ãã
- åAuroraãã¼ãã¯ã¨ã³ããã¤ã³ããæã£ã¦ãã
- ã¯ã©ã¹ã¿ã®ã¨ã³ããã¤ã³ãã¯ãã®æã®ã¢ã¯ãã£ããªWriterã®CNAME
- åç §ã¯åReaderãåç §ãã
- é害ãèµ·ããã¨ãå¥ãã¼ããææ ¼ããã¨ã³ããã¤ã³ãã®æãå ãå¤ãã
é«éãªãã¼ã¿ä¿®å¾©
- Disk readã®ä¸ç°ã¨ãã¦ãªã³ããã³ãã§redo logã®é©ç¨ãè¡ã
- 並åãåæ£ãéåæã§è¡ããã
- MySQLã ã¨ã·ã³ã°ã«ã¹ã¬ãããªã®ã§æéãããã
Streaming Snapshotã¨PITR
- åã»ã°ã¡ã³ããã¨ã«S3ã¸ç¶ç¶çã«å¢åããã¯ã¢ãããåå¾
- ããã©ã¼ãã³ã¹ã«å½±é¿ãªã
- PITRã§5ååãããBackup Retention Periodã¾ã§ã®ä»»æã®ä½ç½®ã«ç§åä½ã§å¾©å å¯è½
é害ãã¹ã
- SQLã«ãããã¼ãã»ãã£ã¹ã¯ã»ãããã¯ã¼ã¯é害ãã·ãã¥ã¬ã¼ã·ã§ã³å¯è½
- æ¬ä¼¼çã«ãé害ãã·ãã¥ã¬ã¼ãã§ãã
ããã©ã¼ãã³ã¹ãå¼ãåºãããã«
- ã¯ã¨ãªä¸¦å度ã¯é«ãããã¼ã¿ãµã¤ãºã大ããã±ã¼ã¹ã§é«ä¾¡ãçºæ®
- ããã¯æ©æ§ãæ®ãè£ãã£ãã·ã¥ã«æãå
¥ãã¦æ§è½åä¸ãè¡ã£ã¦ãã
- write heavyãªç°å¢ã§ã¯offããããã
- CPUãå¹ççã«å©ç¨ããæ¹åãå ¥ãã¦ããã®ã§ãCPU使ç¨çãMySQLã¨æ¯è¼ãã¦é«ããªãããæ§è½ã¯è½ã¡ã«ãããªã£ã¦ãã
- æ§è½ã¯æ大5å
- re:Inventã§çºè¡¨ããããã®ã¯ã4ã¤ã³ã¹ã¿ã³ã¹ããr3.8xlargeã«Sysbenchã並åå®è¡ããã±ã¼ã¹
- TPC-Cãr3.8xlargeã«å®è¡ããå ´åã¯ã2.5åã®æ§è½ãè¨æ¸¬
ãã¤ã°ã¬ã¼ã·ã§ã³
- RDSããã®ãã¤ã°ã¬ã¼ã·ã§ã³ã¯ãã¯ãªãã¯1ã¤
- MyISAMã«å¯¾å¿ãã¦ããªã
- MyISAMãå«ã¾ãã¦ããå ´åã¯ãã³ã³ãã¼ããçºçããããã«ãã£ã¹ã¯å®¹éãå¿ è¦
- MySQLããã¬ããªã±ã¼ã·ã§ã³å¯è½
- Auroraããã®ã¬ããªã±ã¼ã·ã§ã³ã¯ãµãã¼ãããªã
使ãã©ãã
- ã¯ã¨ãªåæå®è¡æ°ããã¼ãã«ãµã¤ãºã大ããã±ã¼ã¹
- è¤æ°ã®ãµã¼ãã«ã·ã£ã¼ãã£ã³ã°ããã¦ãã
- é害æã®å½±é¿ã¯èæ ®
ã¾ã¨ã
ã¯ã©ã¦ãAMAZON EC2/S3ã®ãã¹ã¦ (ITpro BOOKs)
- ä½è : 並河ç¥è²´,å®éè¼é,ITpro/æ¥çµSYSTEMS
- åºç社/ã¡ã¼ã«ã¼: æ¥çµBP社
- çºå£²æ¥: 2009/11/05
- ã¡ãã£ã¢: åè¡æ¬
- è³¼å ¥: 4人 ã¯ãªãã¯: 372å
- ãã®ååãå«ãããã° (18件) ãè¦ã