SRE Group Managerããã¦ããåç°ã§ããä»åã®è¨äºã¯å½ç¤¾ã§ééããAmazon Aurora MySQLã®ä¸å ·åã®è©±ã«ãªãã¾ãã
3è¡ã¾ã¨ã
- Amazon Aurora MySQLã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸ãç°å¸¸ãªé度ã§æ¶è²»ãæ¯æ¸ãã¯ã¨ãªãå®è¡ããã¨ã¨ã©ã¼ãçºçããããã«ãªã£ã
- åå 調æ»ã¨AWSãµãã¼ãã¸ã®åãåããã®çµæãAurora MySQL 2.10.0 ã®ä¸å ·åã¨å¤æãã2.10.2ã¸ãã¼ã¸ã§ã³ã¢ããã§è§£æ¶
- Auroraã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã¯èªåæ¡å¼µãããªãã®ã§ãæ®å®¹éã®ç£è¦ããã¾ããã
äºè±¡çºçã¨è§£æ±ºã¾ã§ãæç³»åã§è¨è¼ã
2021å¹´10æãAuroraã«å¯¾ãã¦ã¯ã¨ãªãå®è¡åºæ¥ãªããªã
社å
ã¡ã³ãã¼ããBIãã¼ã«ããAurora MySQLã«å¯¾ãã¦ã®ã¯ã¨ãªãã¨ã©ã¼ã«ãªãã¨ã®ãã¨ã§ãã¯ã¨ãªã« limit 100
ãä»ããã¨å®è¡åºæ¥ã limit 1000
ã ã¨
Error writing file '/rdsdbdata/tmp/MYpt7CKC' (Errcode: 28 - No space left on device)
ã表示ããçµæãè¿ã£ã¦ãããä¸è¨ã¨ã©ã¼ã¡ãã»ã¼ã¸ã§æ¤ç´¢ããã¨ãAurora MySQLã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸ãæ¯æ¸ãã¦ããéã«çºçããã¨ã®ãã¨ã
幸ãã«ããã®æç¹ã§ã¯ãµã¼ãã¹ã§å©ç¨ãã¦ããã¯ã¨ãªã«ã¯å½±é¿ãåºã¦ããããBIãã¼ã«ã§å®è¡ããçµæã大ããã¯ã¨ãªã®ã¿äºè±¡ãçºçã
Aurora MySQLã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã¨ã¯
å ¬å¼ããã¥ã¡ã³ãããæç²
ã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ã«åºã¥ããã¯ã©ã¹ã¿ã¼å ã®å Aurora ã¤ã³ã¹ã¿ã³ã¹ã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸ããã®ã¹ãã¬ã¼ã¸ã¿ã¤ãã¨ãµã¤ãºã¯ã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ã«ãã¤ã³ãããã¦ããããã大ã㪠DB ã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ã«ç§»åãããã¨ã«ãã£ã¦ã®ã¿å¤æ´ã§ãã¾ããAurora for MySQL ã¯ãã¨ã©ã¼ãã°ãä¸è¬ãã°ãã¹ãã¼ã¯ã¨ãªãã°ãç£æ»ãã°ãããã³ InnoDB 以å¤ã®ä¸æãã¼ãã«ã®ä¿åã«ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã使ç¨ãã¾ãã
- ã¯ã©ã¹ã¿ããªã¥ã¼ã ã¨éãããã¼ã«ã«ã¹ãã¬ã¼ã¸ã¯èªåæ¡å¼µããªãã
ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã¯ã¤ã³ã¹ã¿ã³ã¹ãµã¤ãºã«ãã決ã¾ã£ã¦ãã¦ãããããæè¼ã¡ã¢ãªéã®2åã®ãµã¤ãºã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸ãã¤ã³ã¹ã¿ã³ã¹ã«å²ãå½ã¦ããã¦ããã
- ã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ãã¨ã®ãã¼ã«ã«ã¹ãã¬ã¼ã¸éã«é¢ããããã¥ã¡ã³ã
2021å¹´10æ åå 調æ»ã¨æ«å®å¯¾å¿
çºçãã¦ããã¨ã©ã¼å
容ããAWSã®ããã¥ã¡ã³ãã«è¾¿ãã¤ããmax_heap_table_size
㨠tmp_table_size
ã調æ´ãããã¨ã§ããã¼ã«ã«ãã£ã¹ã¯ã¸ã®æ¸ãè¾¼ã¿ãæå¶åºæ¥ãã¨ã®ãã¨ã ã£ãã®ã§ã²ã¨ã¾ããã¡ãã調æ´ãããããã¦ã¤ã³ã¹ã¿ã³ã¹ãµã¤ãºãr4.largeããr4.xlargeã«å¤æ´ããã¼ã«ã«ã¹ãã¬ã¼ã¸ã32GB => 80GBã«ãããã¨ã§å¯¾å¿ã
ãã¡ãã®å¯¾å¿ã§ä¸æ¦ãã¼ã«ã«ãã£ã¹ã¯ã®æ¶è²»ãåã¾ããBIãã¼ã«ããçºè¡ããã¯ã¨ãªãå®è¡åºæ¥ããã復æ§ã
åçºé²æ¢ã®ããDatadogã«ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã®å®¹éç£è¦ã追å ã
2022å¹´04æ å度ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã®æ¯æ¸ã®ã¢ã©ã¼ã
åå¹´åã«ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã80GBã«å¢ãããã¤ã³ã¹ã¿ã³ã¹ã§å度ããã¼ã«ã«ã¹ãã¬ã¼ã¸ã®æ¯æ¸ãçºçãåçºã ä»åã¯Datadogã®ç£è¦ã«ã¦ãµã¼ãã¹ãBIãã¼ã«ã«å½±é¿ãåºãåã«ãäºåã«ãã¼ã«ã«ãã£ã¹ã¯ã®æ®å®¹éã®ä½ä¸ãæ¤ç¥ã
æ¤ç¥ããæç¹ã§1æ¥ã«200ã300MBã»ã©ãã¼ã«ã«ã¹ãã¬ã¼ã¸ãæ¶è²»ãã¦ããããã¨2ã3é±éç¨åº¦ã§æ¯æ¸ããè¦è¾¼ã¿ã
å度 max_heap_table_size
㨠tmp_table_size
ã®èª¿æ´ã試ã¿ããæ¶è²»ã¹ãã¼ããå¤ãããã
åå ã¨ãªã£ã¦ããã¯ã¨ãªãªã©ãè¦å½ãããªããããåæ§ã®äºä¾ããªããAWSã®ãµãã¼ãã«åãåããã
2022å¹´04æ Auroraã®ä¸å ·åã«ãããã¼ã«ã«ã¹ãã¬ã¼ã¸ã®æ¶è²»
AWSãµãã¼ãã¸åæ§ã®äºä¾ããªããåãåãããããã¨ãããAuroraã®ä¸å ·åã«ããå¯è½æ§ãé«ãã®ã§ãDB ã¨ã³ã¸ã³ãã¼ã¸ã§ã³ Aurora MySQL 2.10.2ãä¸ãã¦æ¬²ããã¨ã®åç
該å½ã¢ãããã¼ãå 容
Fixed an issue which can cause excessive internal logging when attempting zero downtime patching and restart causing local storage to fill up.
2022å¹´05æ Aurora DB ã¨ã³ã¸ã³ãã¼ã¸ã§ã³ã¢ããã¨äºè±¡ã®è§£æ¶
ä»åã¯ã¯ã¨ãªãæã¦ãªããªãåã«æ¤ç¥åºæ¥ã¦ããããã¼ã«ã«ã¹ãã¬ã¼ã¸ã®æ¶è²»é度çã«2ã3é±éã¯ç¶äºããã£ãã®ã¨ã DBã¨ã³ã¸ã³ã®ãã¼ã¸ã§ã³ã¢ããã¨è¨ããã¨ã§ããã¼ã¸ã§ã³ã¢ããæ¤è¨¼ã¨ãµã¼ãã¹ã¸ã®å½±é¿ãå°ãªãæé帯ã§ã®ãµã¼ãã¹ã¡ã³ããã³ã¹ã®æ¥ç¨ã調æ´ãã ç¿æã«AWSãµãã¼ãã®åçã®éããDB ã¨ã³ã¸ã³ãã¼ã¸ã§ã³ã®ã¢ãããã¼ããå®æ½ã
DBã¨ã³ã¸ã³ã®ãã¼ã¸ã§ã³ã¢ããå¾ã¯ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã®æ¸å°èªä½ã解æ¶ã ä»åã¯å®è¡ãã¦ããã¯ã¨ãªãDBãã©ã¡ã¼ã¿ã®åé¡ã§ã¯ãªããAWSãµãã¼ãã®æ¹ããåçããã£ãã¨ããã å©ç¨ãã¦ããDB ã¨ã³ã¸ã³ãã¼ã¸ã§ã³ Aurora MySQL 2.10.0 ãåå ã§ãã£ãã
2022å¹´07æ ç¾å¨
DB ã¨ã³ã¸ã³ãã¼ã¸ã§ã³ãæ´æ°å¾ã¯ãã¼ã«ã«ã¹ãã¬ã¼ã¸ãæ¸å°ããåé¡ããªãå®å®ç¨¼åä¸ã 1åç®ã®äºè±¡ã®ãã¨ã«RIã1å¹´åè³¼å ¥ãã¦ãã¾ã£ããããr4.xlargeãå©ç¨ãã¦ãã¾ããã å ã ã®ãµã¤ãºã§ããr4.largeã«æ»ãã¦ãããã©ã¼ãã³ã¹çã«ã¯åé¡ããªãã®ã§ã RIæ´æ°ã®ã¿ã¤ãã³ã°ã§ã¤ã³ã¹ã¿ã³ã¹ãµã¤ãºãå ã«æ»ãäºå®ã§ãã
æè¨
- Aurora ãã¼ã«ã«ã¹ãã¬ã¼ã¸ã¯èªåæ¡å¼µãããªãã®ã§æ®å®¹éã®ç£è¦ãããã
- 社å 調æ»ã¨å¹³è¡ãã¦ãåæ§ã®äºä¾ããªããæ©ãã«AWSãµãã¼ãã¸ã®åãåãããããã