ãŸãŒãžã»ã©ãã€ã³ã
ããã«ã¡ã¯ãHabrïŒ ç§ã®ååã¯ãªã¬ã°ãšãã£ã¢ãã§ããç§ã¯BadooããŒã ããã©ãããã©ãŒã ãã§åããŠãããåçããµãŒãã¹ã€ã³ã¿ãŒãã§ãŒã¹ãªã©ãä¿åããã¿ã¹ã¯ã«åŸäºããŠããŸãã
ãµãŒããŒãã¯ãããžãŒã«é¢ããŠãBadooã¯ããªãä¿å®çãªäŒç€Ÿã ãšããè³ã«ããŸãã ããã¯éšåçã«ã¯çå®ã§ãããå®éã«ã¯ãå€ãã®è¥ãããã°ã©ãã³ã°èšèªãæ°ããããŒã«ããã¯ãããžãŒã䜿çšããŠããŸãã ãã®1ã€ãRocksDBã§ãããã«åºã¥ããŠFacebookãMySQLã¹ãã¬ãŒãžãšã³ãžã³ã§ããMyRocksãäœæããŸããã Facebookããã®ããŒã¿ããŒã¹ã®1ã€ãInnoDBããMyRocksã«ã©ã®ããã«ç§»è¡ãããã«ã€ããŠã®æçš¿ãç§ã¯ããªãã®ããã«ç¿»èš³ãããã£ãã
æšå¹Žãæ°ããMySQLããŒã¿ããŒã¹ãšã³ãžã³ã§ããMyRocks ãå°å ¥ããŸãããããã¯ãå§çž®ãããInnoDBãããå¹ççã«ãã©ã€ããèšé²ããã³äœ¿çšã§ããããã«èšèšãããŠããŸãã ã¡ã€ã³ããŒã¿ããŒã¹ïŒUDBïŒã®1ã€ãå§çž®ãããInnoDBããMyRocksã«ç§»è¡ããã¹ãã¬ãŒãžã®ãµã€ãºãšäœ¿çšãããµãŒããŒã®æ°ãååã«ããããšã«ããŸããã FacebookãœãŒã·ã£ã«ã°ã©ãããŒã¿ã管çããUDBããŒã¿ããŒã¹ã®ç§»è¡ã¯ãæ éã«èšç»ããã³å®è£ ãããŸããã å æäœæ¥ãå®äºããã¹ãã¬ãŒãžãååã«æžãããŸããã ãã®æçš¿ã§ã¯ã移è¡ã®æºåãšå®è£ ãããã³åŠãã æèšã«ã€ããŠèª¬æããŸãã
UDBã¯ã¹ãã¬ãŒãžã«ãã£ãŠå¶éãããŠããŸãã
æ°å¹Žåãç§ãã¡ã¯ããã€ãã®ããã©ãŒãã³ã¹ã®åé¡ã解決ããããã«ãUDBãå®è¡ããããŒããŠã§ã¢ãFlashcacheããçŽç²ãªFlashã«çœ®ãæããŸããã InnoDBãå«ãMySQLãã³ãã«ã¯è¿ éãã€ç¢ºå®ã«æ©èœããŸããããåãè² è·ãšããŒã¿éãåŠçããããã«äœ¿çšãããµãŒããŒã®æ°ãæžãããããšèããŸããã çŽç²ãªãã©ãã·ã¥ã¹ãã¬ãŒãžã䜿çšããå ŽåãUDBã®ç¯å²ã¯å¶éãããŠããŸããã ãŸããInnoDBã§å§çž®ã䜿çšããŸããããããã»ããµãªãœãŒã¹ãšã©ã³ãã I / Oã®åž¯åå¹ ã¯éå°ã§ããããInnoDBã«äœ¿çšãããã£ã¹ã¯ã¹ããŒã¹ãå°ãªãããããšã¯ã»ãšãã©ã§ããŸããã§ããã
InnoDBã¯ç©ºããã£ã¹ã¯å®¹éã«ãã£ãŠå¶éãããCPU / IOãªãœãŒã¹ã¯ã¢ã€ãã«ç¶æ ã§ããã ããã¯ããã©ãã·ã¥ã¹ãã¬ãŒãžã䜿çšããå Žåã®äžè¬çãªç¶æ³ã§ãã
ããã¯ãMyRocksïŒMySQLçšã®RocksDBã¹ãã¬ãŒãžãšã³ãžã³ïŒãäœæããåæ©ã®1ã€ã§ããã InnoDBã«ã¯ããã€ãã®æ©èœãå®è£ ãããŠãããããŒã¿ããŒã¹ã®ãµã€ãºãã¯ããã«å€ãã®RAMã§ããïŒ
- ã¯ã©ã¹ã¿ãŒåã€ã³ããã¯ã¹ã
- ãã©ã³ã¶ã¯ã·ã§ã³ïŒååæ§ãã©ã€ã³ããã¯ãMVCCãå埩å¯èœèªã¿åã/èªã¿åãã³ããããbinlogãšRocksDBéã®2PCïŒ;
- ç Žæã«åŒ·ãã¹ã¬ãŒããšãã¹ã¿ãŒã
- SingleDelete ïŒã»ã«ã³ããªã€ã³ããã¯ã¹ã®å¹æçãªåé€ïŒ;
- ããŒã¿ã®é«éããŒããã€ã³ããã¯ã¹ã®è¿ éãªäœæãããŒãã«ã®è¿ éãªåé€ã
åæã®å®éšã§ã¯ãMyRocksã¯å§çž®ãããInnoDBãšæ¯èŒããŠãCPUæ¶è²»éãšI / Oæäœã®æ°ãå€§å¹ ã«å¢å ãããããšãªãã䜿çšããã¹ããŒã¹ãååã§ããããšã瀺ãããŸããã ãã®ãããUDBãInnoDBããMyRocksã«å®å šã«ç§»è¡ããããšã«ããŸããã
MyRocksã«MyRocksã®ããã«ããŒãã ããã»ããµãªãœãŒã¹ãšI / Oæäœã®äºçŽã¯ãŸã ãããŸãã
InnoDBããMyRocksãžã®ç§»è¡ãç°¡çŽ åãã
ãŠãŒã¶ãŒãããŒã¿ããŒã¹ã«çŽæ¥ã¢ã¯ã»ã¹ãããµãŒãã¹ã®å Žåããã®ãããªç§»è¡ã¯å°é£ãªäœæ¥ã«ãªãå¯èœæ§ããããŸãã äžè¬ã«ãæ¢åã®OLTPããŒã¿ããŒã¹ã®å Žåãããã¯ããµãŒãã¹ãåæ¢ããããšãªããåŸ ã¡æéãå¢ãããŠã¹ã«ãŒããããäœäžãããããšãªãã誀ã£ãããŒã¿ãè¿ãããã¯ãŒã¯ããŒãã«åœ±é¿ãäžããããšãªãå®è¡ã§ããŸãã
MyRocksã«ã¯ãä»ã®ããŒã¿ããŒã¹ã«æ¯ã¹ãŠç¬èªã®å©ç¹ããããŸããMySQLã¹ãã¬ãŒãžãšã³ãžã³ãåããŠãããããInnoDBããã®ç§»è¡ãå€§å¹ ã«ä¿é²ãããŸãã ç¹ã«ïŒ
- MySQLã¯ã©ã€ã¢ã³ãã®ãããã³ã«ãšã¹ããŒãã®å®çŸ©ã¯åãã§ãããããã¢ããªã±ãŒã·ã§ã³ã«å€æŽãå ããå¿ èŠã¯ãããŸããã§ããïŒå®éãã®ã£ããããã¯ãªã©ã®ããããªéãããããŸãããããããèæ ®ããã®ã¯æ¯èŒçç°¡åã§ããïŒã
- MySQLã®ç®¡çããŒã«ã¯InnoDBãšMyRocksã®äž¡æ¹ããµããŒãããŠããŸãã
- MyRocksã¯InnoDBããè€è£œã§ããŸããMyRocksã®ã€ã³ã¹ã¿ã³ã¹ãè¿œå ããŠãèªã¿åãå°çšã¹ã¬ãŒãã®1ã€ãšããŠèµ·åã§ããŸãã
- InnoDBã¯MyRocksããè€è£œããããšãã§ããŸããInnoDBãæŸæ£ããããšãªãMyRocksããã¹ã¿ãŒã«ãããã€ã§ããŸããããã«ãããåé¡ãçºçãããšãã«ãã¹ã¿ãŒãåãæ¿ããããšã§MyRocksããInnoDBã«åãæ¿ããããšãã§ããŸãã
- ã°ããŒãã«ãã©ã³ã¶ã¯ã·ã§ã³èå¥åïŒGTIDïŒãå«ããã€ããªãã°ã䜿çšãããšãé·ãã¬ããªã±ãŒã·ã§ã³åæ¢ïŒ1ç§æªæºïŒãè¡ãããšãªããInnoDBã€ã³ã¹ã¿ã³ã¹ãšMyRocksã€ã³ã¹ã¿ã³ã¹éã®ããŒã¿ã®æŽåæ§ã確èªã§ããŸãã
ããŒã¿ã®æŽåæ§ãã§ãã¯
MyRocks / RocksDBã¯æ°ãããã¯ãããžãŒã§ãããããããŒã¿ããŒã¹ã«æ°ãããã°ãåºçŸããã®ãé²ãããã«ãå æ¬çãªäžè²«æ§ãã§ãã¯ã«é Œããªããã°ãªããŸããã§ããã æ€èšŒã¯ã移è¡äžãšæ¬çªç°å¢ã§ã®èµ·ååŸã®äž¡æ¹ã§åžžã«å®è¡ãããŸãã
äž»ããŒãšå¯ããŒã®æŽåæ§ã®æ€èšŒã åããŒãã«ã¯ãäž»ããŒåãšå¯ããŒåã®è¡æ°ãšãã§ãã¯ãµã ãæ¯èŒããŸãã ããšãã°ãããŒãã«T1ã«ã¯åïŒidãvalue1ãvalue2ïŒãšã»ã«ã³ããªã€ã³ããã¯ã¹ïŒvalue1ïŒããããŸãã 次ã«ãvalue1ã«å¯ŸããŠãã©ã€ããªããŒãšã»ã«ã³ããªããŒãã¹ãã£ã³ãããè¡æ°ãšãã§ãã¯ãµã ãæ¯èŒãããŸãã ããŒã®1ã€ãç ŽæããŠããå Žåããã§ãã¯ãµã ã¯åæããŸããã
2ã€ã®ã€ã³ã¹ã¿ã³ã¹ã®äžè²«æ§ã確èªããŸãã 1ã€ã®ã¬ããªã«ã»ããïŒãã¹ã¿ãŒãšã¹ã¬ãŒãã®ãã¢ïŒã§ã2ã€ã®ç°ãªãã€ã³ã¹ã¿ã³ã¹ïŒMyRocksãšInnoDBïŒãè¡æ°ãšäž»ããŒã®ãã§ãã¯ãµã ã«ãã£ãŠæ¯èŒãããŸãã GTIDã®ãããã§ãäž¡æ¹ã®ã€ã³ã¹ã¿ã³ã¹ã§åãGTIDã®äžè²«ããã¹ãããã·ã§ããã§ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ã§ããŸãã åŸç¶ã®SELECTã¹ããŒãã¡ã³ãïŒè¡ã«ãŠã³ããšãã§ãã¯ãµã ãè¿ãïŒã¯ãäž¡æ¹ã®ã€ã³ã¹ã¿ã³ã¹ã§äžè²«ããŠããå¿ èŠããããŸãã
2ã€ã®ã³ããŒã«å¯ŸããèŠæ±ã®æ£ç¢ºæ§ã®ã·ã£ããŠãã§ãã¯ã MySQLã«ã¯ãå®è¡ãããèŠæ±ãç»é²ã§ããç£æ»ãã©ã°ã€ã³ãšåŒã°ããæ©èœããããŸãã ãããã®ã¯ãšãªãè€æ°ã®ã€ã³ã¹ã¿ã³ã¹ã§ç¹°ãè¿ãã·ã£ããŒããçµæãæ¯èŒããããŒã«ãäœæããŸããã ããã«ãããInnoDBãšMyRocksã®ã¯ãšãªã§åãçµæãåŸãããããã«ãªããŸããã
移è¡æ®µé
移è¡ã¯ä»¥äžã«èª¬æããæ¹æ³ã§è¡ãããInnoDBãšMyRocksã®éã§ã¬ããªã±ãŒã·ã§ã³ãæ§æã§ãããããç°¡åã«ãªããŸããã
1ïŒ æåã®ã¹ã¬ãŒãMyRocksãå±éããŸããã äžçäžã®å°åã®ã¬ããªã«ã»ããããšã«ã1ã€ã®ãã¹ã¿ãŒãš4ã€ã®ã¹ã¬ãŒãããããŸããã åã¬ããªã«ã»ããã§ãåããªãŒãžã§ã³ã®InnoDBããã®ãã³ãïŒmysqldumpïŒã䜿çšããŠæåã®MyRocksã€ã³ã¹ã¿ã³ã¹ãäœæããŸããã ã¢ããããŒãããã³ããŠã³ããŒãäžã«ãå ã®InnoDBã¹ã¬ãŒãã€ã³ã¹ã¿ã³ã¹ã®ã¬ããªã±ãŒã·ã§ã³ãåæ¢ããŠã移è¡ãé«éåããã³ç°¡çŽ åããŸããã ãŸããã¢ããããŒãããã³ããŠã³ããŒãäžã«ããã¹ãŠã®èªã¿åãèŠæ±ãInnoDBã®ä»ã®å©çšå¯èœãªã¹ã¬ãŒãã€ã³ã¹ã¿ã³ã¹ã«ãªãã€ã¬ã¯ããããŸããã
MyRocksã¯ããŒã¿ã®ããŒããšã»ã«ã³ããªã€ã³ããã¯ã¹ã®äœæã«æé©åãããŠãããããã¢ããããŒããšããŠã³ããŒãã«ããã»ã©æéã¯ããããŸããã§ããïŒãšã³ãžã³ã¯InnoDBãã1æéãããæ°çŸã®ã¬ãã€ããã³ããŒã§ããŸãïŒã ã¬ããªã±ãŒã·ã§ã³ãè¿œãã€ããããŒã¿ã®äžè²«æ§ããã§ãã¯ãããåŸãåããªãŒãžã§ã³ã®InnoDBãåé€ããŸããã
2ïŒ 2çªç®ã®ã¹ã¬ãŒãMyRocksããããã€ããŸãã ã MyRocksã®åäžã®ã€ã³ã¹ã¿ã³ã¹ãæäœããªãããã«ãããã£ãã®ã¯ããã®æ倱ãåã¢ããããŒããšããŠã³ããŒãã®å¿ èŠæ§ã«ã€ãªãã£ãããã§ãã 2ã€ã®ã€ã³ã¹ã¿ã³ã¹ã®1ã€ã倱æããåŸã2ã€ã®ã€ã³ã¹ã¿ã³ã¹ãæäœããå ŽåãMyRocksã®ãã€ããªãªã³ã©ã€ã³ã³ããŒïŒmyrocks_hotbackupïŒã䜿çšããŠå埩ã§ããŸããããã¯ãã¢ããããŒããšããŠã³ããŒãã«æ¯ã¹ãŠã¯ããã«ç°¡åã§ãã MyRocksãå±éããåã«ãã¬ããªã«ã»ããããšã«5ã€ã®InnoDBã€ã³ã¹ã¿ã³ã¹ããããŸããã
åå°åã§ãInnoDBã®2ã€ã®ã€ã³ã¹ã¿ã³ã¹ãåé€ããåŸãMyRocksã®2ã€ã®ã€ã³ã¹ã¿ã³ã¹ãè¿œå ããŸããã çµæã¯ãInnoDBã®3ã€ã®ã€ã³ã¹ã¿ã³ã¹ãšãã¬ããªã«ã®åã»ããã®MyRocksã®2ã€ã§ãã MyRocksã¯ããŒã¿ãããé«éã«ããŒããããããInnoDBã«ã³ããŒãããããã¢ããããŒããã¯ããã«ç°¡åã§ããã ããã«ããã移è¡äžã§ãã£ãŠããç©çãµãŒããŒã®æ°ãå¢ããããšãªã移è¡ã§ããŸããã
3ïŒ ã¹ã¬ãŒãMyRocksããã¹ã¿ãŒã«ããŸããã ãã¹ã¿ãŒã€ã³ã¹ã¿ã³ã¹ã¯æžã蟌ã¿èŠæ±ãšèªã¿åãèŠæ±ã®äž¡æ¹ãåŠçã§ããããããã¹ã¿ãŒã®å±éã¯ã¹ã¬ãŒããããã¯ããã«å°é£ã§ããã ããšãã°ããã¹ã¿ãŒã§ã¯æžã蟌ã¿æäœãåãè¡ã§åæã«å®è¡ããããããè¡ããã¯ã®æ£ããåŠçãå®è£ ããå¿ èŠããããŸãã äžè²«æ§ã®äžååãªå®è£ ã¯ãå€ãã®ãšã©ãŒã«ã€ãªããå¯èœæ§ããããŸãã
4ïŒ ãã¹ãŠã®ãªãŒãžã§ã³ã§ã圌ãã¯MyRocksãã³ããŒããInnoDBã®ãã¹ãŠã®ã€ã³ã¹ã¿ã³ã¹ãåé€ããŸãã ã æåŸã®ã¹ãããã¯ãMyRocksãã³ããŒããŠInnoDBãåé€ããããšã§ããã ããã§ãã¬ããªã«ã»ãããInnoDBããMyRocksã«å®å šã«ç§»è¡ãããŸããã
å®çšŒåç°å¢ã§ã¯ãæåã«ãã¹ãŠã®UDBã¬ããªã«ã»ããã«å¯ŸããŠæåã®2ã€ã®ã¹ããããå®è¡ããŸããã ãã®åŸãã»ãšãã©ã®ã»ããã§ã3çªç®ã®æ®µéãå®äºããæåŸã«æåŸã®æ®µéãå®äºããŸããã æãé£ããã®ã¯ãã¹ã¿ãŒããããã€ããããšã ã£ãã®ã§ãå ã«é²ãåã«å€ãã®ãã¹ããè¡ããŸããã ã¯ãšãªè€è£œããŒã«ã䜿çšããŠããã¹ã¿ãŒã®ãã©ãã£ãã¯ããã§ãã¯ãããã¹ã¿ãŒãéçšç°å¢ã«å±éããåã«äžè²«æ§ã®ãã°ãä¿®æ£ã§ããããã«ããŸããã
ãã®ä»ã®æè¡çãã€ã³ã
InnoDBã§ã¯çŽæ¥I / Oã䜿çšããŸããããMyRocks / RocksDBã§ã¯ãµããŒããå¶éãããŠããããããããã¡ãŒI / Oã䜿çšããŸããã å€ãLinuxã«ãŒãã«ã§ã¯ããããã¡ãªã³ã°ãããæäœãã¢ã¯ãã£ãã«äœ¿çšããŠãããšãã«ãã£ã¹ã¯ããã®ã¹ã¯ããã³ã°ãéå§ãããä»®æ³ã¡ã¢ãªã®å²ãåœãŠãé£ãããªããšããæ¢ç¥ã®åé¡ããããŸãã Linuxã«ãŒãã«ããŒã ã¯ãLinux 4.6ã®ä»®æ³ã¡ã¢ãªã®å²ãåœãŠã«é¢ããåé¡ãä¿®æ£ãã移è¡åã«ã«ãŒãã«ããã®ããŒãžã§ã³ã«ã¢ããã°ã¬ãŒãããŸããã
ãŸããåãã·ã³ã§MySQLã®ããã€ãã®ã€ã³ã¹ã¿ã³ã¹ãå®è¡ããŸããã åã€ã³ã¹ã¿ã³ã¹ã®ãµã€ãºã¯5TBã®ãã©ãã·ã¥ã¹ãã¬ãŒãžã®å®¹éãããã¯ããã«å°ãããããŒã¿ããŒã¹ã®æäœãæ¹åããã®ã«åœ¹ç«ã¡ãŸãããããã¯ã¢ããã埩å ãã¬ããªã«ã®äœæãã¬ããªã±ãŒã·ã§ã³ã©ã°ã®é²æ¢ã§ãã 移è¡äžãInnoDBã€ã³ã¹ã¿ã³ã¹ã®åé€ã«ç¶ããŠãMyRocksã€ã³ã¹ã¿ã³ã¹ãåŸã ã«äœæããŸããã ãã©ãã·ã¥ã¹ãã¬ãŒãžã§ã¯ãã¢ã¯ãã£ããªãã¡ã€ã«ã®åé€ã«ãããæ倧æ°åç§ã®é·ãTRIMé 延ãçºçããŸãã ãã®å¶éãç¥ã£ãŠããããã¡ã€ã«ãå°ããã€ãã£ããåé€ããç°¡åãªããŒã«ãäœæããŸããã ãrmãã³ãã³ãã䜿çšããŠ100ã®ã¬ãã€ãã®InnoDBãã¡ã€ã«ãåé€ãã代ããã«ã圌ã¯å€§ããªãã¡ã€ã«ãããããçŽ64 MBã®ãã£ã³ã¯ã«åå²ããåãã¡ã€ã«ãçæéã§åé€ããŸããã åé€é床ãçŽ128 MB /ç§ã«äœäžãããŸããã
åŠãã æèš
æ¥åã«ãšã£ãŠå¹çã¯éèŠã§ãããæ¬çªç°å¢ã§åé¡ãåŒãèµ·ããããšãªãè¿ éã«ç§»è¡ã§ããããšãå¬ããæããŸããã ãããããã®éçšã§ãããã€ãã®éèŠãªæèšãåŠã³ãŸããã
- æ©åšãéžæããéã®äž»ãªåºæºã®1ã€ã¯ãäºæž¬ããã移è¡æéã§ãã ããšãã°ã移è¡ãçµäºãããŸã§æ°ããæ©åšãè³Œå ¥ãç¶ããå¿ èŠãããããã移è¡ããã1幎ã§ã¯ãªã5幎ãšãããšãã¹ãã¬ãŒãžã®ç¯çŽéãæžå°ããå¯èœæ§ããããŸãã ãã¹ãã®èªååãšç°¡çŽ åã«ãããããã»ã¹ã容æã«ãªããŸããäŸïŒ
- ã·ã£ããŠèªã¿åã/æžã蟌ã¿ãã©ãã£ãã¯ãéä¿¡ããéçšç°å¢ã§ã®ååž°ãç£èŠããŸãïŒç¹ã«ãšã©ãŒãšããªãŒãºã®æ°ãé 延ã®ã¬ãã«ïŒã
- InnoDBãšMyRocksã®ããŒã¿ã®äžè²«æ§ã確èªããŠãã ããã
- MyRocksã®ã¹ã¬ãŒãããã³ãã¹ã¿ãŒã€ã³ã¹ã¿ã³ã¹ãæå³çã«ã¯ã©ãã·ã¥ãããå埩ããèœåããã¹ãããŸãã
- ã¿ãŒã²ãããµãŒãã¹ã®äœ¿çšæ¹æ³ãç解ããå¿ èŠããããŸãã MyRocksã«æåã«è¿œå ããæ©èœã決å®ããããšãéèŠã§ããã 移è¡ã容æã«ããããã«ãã®ã£ããããã¯ã䜿çšãããªã¯ãšã¹ãã®å®çŸ©ããã«ã¯ããŒããRead Committedåé¢ã¬ãã«ãªã©ãããã€ãã®éèŠãªæ©èœãè¿œå ããŸããã é©åãªåªå é äœä»ãã«ããã移è¡ãç°¡çŽ åããã³é«éåãããŸãã
- å°ããå§ããŸãã çæ³çã«ã¯ãæåã«ãå¿ èŠã«å¿ããŠããŒã«ããã¯ã§ããéåžžã«å°ããªèªã¿åãå°çšã€ã³ã¹ã¿ã³ã¹ã«æ°ãããœãããŠã§ã¢ãå±éããå¿ èŠããããŸãã ãµã€ãã®åæ»ãªéçšãæ åœãããšã³ãžãã¢ã¯ãæ§æãã¡ã€ã«ãä»ããŠãµãŒãã¹å šäœãåãæ¿ããŠã¯ãªããããã¹ãŠãæ©èœããããšãæåŸ ããŠãã ããã
- MyRocksã¯ãä»ã®è£œåãšé£æºããŠæ°ããæ©èœãäœæãããããã°ãèŠã€ããŠä¿®æ£ãããã§ãããªãŒãã³ãœãŒã¹ã®ããŒã«ã§ãã
ä»åŸã®èšç»
ã³ã¢ããŒã¿ããŒã¹ãInnoDBããMyRocksã«ç§»è¡ãããšã䜿çšããã¹ãã¬ãŒãžã®éãååã«ãªããŸããã MyRocksãšRoââcksDBã®æ¹åãç¶ç¶ããä»ã®ã¿ã¹ã¯ã®ããã«ã€ã³ã¹ã¿ã³ã¹ãããç©æ¥µçã«ç¡æãµãŒããŒã«çµ±åããããšãå«ããŸãã ãŸããããŸããŸãªãšã³ãžã³ã®ãµããŒãã«ãåãçµãã§ããŸãã MyRocksã¯ã¹ãã¬ãŒãžã¹ããŒã¹ãç¯çŽããèšé²ãããããŒã¿ã®æé·ãé ãããããã«æé©åãããŠããŸãããInnoDBã¯èªã¿åãçšã«æé©åãããŠãããã®ã£ããããã¯ãå€éšããŒããã«ããã¹ãã空éã€ã³ããã¯ã¹ãªã©ã®é«åºŠã«ç¹æ®åãããæ©èœãåããŠããŸãã
MyRocksã®çŸåšã®éçºã¯ããããããã®ã®å°å ¥ãæå³ãããã®ã§ã¯ãããŸããããããã€ãã®ãšã³ãžã³ã«ä¿¡é Œæ§ã®é«ããµããŒããæäŸããäºå®ã§ãã InnoDBãšMyRocksãåæã«äœ¿çšãããšãInnoDBãå°ãããŠã¢ã¯ãã£ãã«èªã¿åãå¯èœãªããŒãžã«äœ¿çšããMyRocksãä»ã®ãã¹ãŠã«äœ¿çšã§ããŸãïŒãã®æ©èœãå®è£ ããèŠæ±ãããè³ã«ããŸãïŒã æåŸã«ãä»åŸã®MySQL 8.0ã®MyRocksãµããŒãã«åãçµã¿ãŸãã