ãã㯠MySQL Advent Calendar 2022 8 æ¥ç®ã®è¨äºã§ãã
ã¯ããã«
MySQL Server 8.0.29ã¯GAã§ããã«ãããããããä»ã¯ãã¦ã³ãã¼ããããã¨ãã§ãã¾ããã
(ãªããããèªä½éæ´å²ã®æå¾ã飾ã£ã¦ãè¯ã話ãªæ°ããã¦ããããã£ã¨èª°ããæ¸ãã ããï½)
ããã¯8.0.29ã§ALGORITHM=INSTANTã使ç¨ãã¦è¿½å ï¼åé¤ãå«ãï¼ãããã«ã©ã ãæã¤InnoDBãã¼ãã«ã®ãã¼ã¿ãæ£ãã解éãããªãã¨ããé大ãªåé¡ãããããã§ãã
å ·ä½çã«ã¯ã©ã®ãããªè©±ãªã®ã§ãããï¼
ãã°ã®è©³ç´°ã«ã¤ãã¦ã¯å¤ããã»ãã¥ãªãã£ã®ç¹ããéå ¬éã¨ãªã£ã¦ããã®ã§ãå ¬éããã¦ãããªãªã¼ã¹ãã¼ãçã§è¦ã¦ããã¾ãããã
ï¼ãªãªã¼ã¹ãã¼ãã®å訳ã«ã¤ãã¦ã¯DeepLã使ã£ã¦ãã®ã¾ã¾ã®ãã®ãè¨è¼ãã¦ã¾ãã
ããããã«ããããã¨è¨ã£ã¦ã©ããããã¨ãã説æããã¨æ¸ãã¦ã¯ãããªããã¨ã
ãæ¸ãã¦ãã¾ãããããã¾ããã®ã§ãç³ã訳ãªãã§ããè±èªã翻訳ããæãåã£ã¦ãã ããï¼
ãªãªã¼ã¹ãã¼ããçºãã
ç¾å¨ããªãªã¼ã¹ãã¼ãã¯8.0.29以éã§ã¯8.0.30ã8.0.31ã®ãã®ãåºã¦ãã¾ãã
8.0.30ã®ãªãªã¼ã¹ãã¼ããã
InnoDB: A TRUNCATE TABLE operation failed to remove data dictionary entries for columns that were dropped using ALGORITHM=INSTANT. Thanks to Marcelo Altmann for the contribution. (Bug #34302445)
訳ï¼TRUNCATE TABLEæä½ã§ãALGORITHM=INSTANTã使ç¨ãã¦åé¤ãããåã®ãã¼ã¿è¾æ¸ã¨ã³ããªã¼ãåé¤ã§ããªãã
ã¡ãªã¿ã«Marcelo Altmannã¯Oracle ACEã§Percona社ã®äººã§ãããã®8.0.29ã¨Percona XtraBackupã®éäºææ§ã®è¨äºãããã®ãã°ã«ã¤ãã¦ã®è©±ãæ¸ãã¦ã¾ããã
InnoDB: An incorrect nullable column calculation on tables with instantly added columns caused data to be interpreted incorrectly. (Bug #34243694)
訳ï¼å³åº§ã«è¿½å ãããã«ã©ã ãæã¤ãã¼ãã«ã§ãä¸æ£ãªNullableã«ã©ã ã®è¨ç®ãè¡ããããã¼ã¿ãä¸æ£ã«è§£éããããã¨ãããã¾ããã
InnoDB: After upgrading to MySQL 8.0.29, a failure occurred when attempting to access a table with an instantly added column. (Bug #34233264)
訳ï¼MySQL 8.0.29 ã«ã¢ããã°ã¬ã¼ãããå¾ãå³åº§ã«è¿½å ãããã«ã©ã ãæã¤ãã¼ãã«ã«ã¢ã¯ã»ã¹ãããã¨ããã¨å¤±æãããã¨ãããã¾ããã
InnoDB: Only the physical position of instantly added columns was logged, which was not sufficient for index recovery. The logical position of columns was also required. (Bug #34181432)
訳ï¼å³åº§ã«è¿½å ãããåã®ç©ççãªä½ç½®ã®ã¿ãè¨é²ãããã¤ã³ããã¯ã¹ã®å¾©å ã«ã¯ä¸ååã§ãã£ããã«ã©ã ã®è«çä½ç½®ãå¿ è¦ã§ãã£ãã
8.0.31ã®ãªãªã¼ã¹ãã¼ããã
InnoDB: After upgrading to a release that supports row versions for columns added or dropped using ALGORITHM-INSTANT, a failure occurred during an instant ADD COLUMN operation on a table with a nullable column and an instantly added column. (Bug #34488482)
訳ï¼ALGORITHM-INSTANT ã使ç¨ãã¦è¿½å ã¾ãã¯åé¤ãããåã®è¡ãã¼ã¸ã§ã³ããµãã¼ããããªãªã¼ã¹ã«ã¢ããã°ã¬ã¼ãããã¨ãNULL å¯è½ãªåã¨INSTANTã§è¿½å ãããåãæã¤ãã¼ãã«ã§ï¼ALGORITHMï¼INSTANT ADD COLUMN æä½ä¸ã«å¤±æãçºçãã¾ããã
InnoDB: A column added using ALGORITHM=INSTANT was visible in read views created before the DDL operation that added the column. (Bug #33937504)
訳ï¼ALGORITHM=INSTANT ã使ç¨ãã¦è¿½å ãããåããåã追å ãã DDL æä½ã®åã«ä½æãããèªã¿åããã¥ã¼ã«è¡¨ç¤ºããã¦ãã¾ããã
ä»åã®é¨åãåãã¦åå人ãæãäº
ããã¯ããã¾ã§å人çã«æã£ã¦ããã¨ã§ãä¼ç¤¾ã¯ä¸åé¢ä¿ç¡ããã§ããã®ã¨ããã ãã¯ãç解ãã ããã
æ©è½è¿½å ã¯ãã¤ãã¼ãã¼ã¸ã§ã³ã§ãããããããªã(å°ãªãã¨ãGAã«ãªã£ã¦ããã¯)
ä»åã®ãã¨ãããã¾ã§ã¯MySQLä½ã§ãããªã¢ããã°ã¬ã¼ãæã«æ©è½ã¶ã£ããã§ãããã ãï¼ãã°ãçã¾ãç¶ãããããã¼ãâ¦ã
ãªã©ã¨æãã¤ã¤ãã便å©ã«ãªãããªãä»æ¹ãªãã®ããªã¨ãæã£ã¦ããã§ãã
ã§ãããªãªã¼ã¹ãããã®ããã¦ã³ãã¼ãã§ããªãããã£ã¦è¨ãã®ã¯ãã¾ãã«ãã«ãã³æªãã
ãã¯ããæ©è½è¿½å ã¯ãã¤ãã¼ãã¼ã¸ã§ã³ã§ãããããããªããã§ããï¼ä»ã®RDBMSã§ã¯ãã¾ãè¦ãªãã§ãããï¼
ææ°ï¼Bestãããªããªã£ã
ãã®ããã§æ°è»½ã«ã¢ããã°ã¬ã¼ããã¦ãã ãããè¨ãã«ãããªãã¾ãããã
ãã¡ãããä»ã¯8.0.31ã¾ã§ãããã§ç¹å®ã®ãã°ã解æ¶ããæ¹æ³ãã¢ããã°ã¬ã¼ããããããªãããªãããããå§ããã¾ããã
ãããæ°æ©è½ã追å ããã¦ãããããã¤ã®ããã§ã¾ãä½ãèµ·ããããããªããã¨ã¦ã¼ã¶ã¼ã¯çå¿æ鬼ã«ãªãããåã¨ãã¦ã絶対ã«ç¡ãã¨ã¯è¨ããªãã®ã§ããã«ã¤ãã¦ã¯ã©ããããããªãã
ä¿¡ç¨ããã以ä¸å¤±ããªãããã«ãä»å¾ã¯æ°æ©è½è¿½å ã¨ãåå¼é¡ããããããããªã8.1ã ã¨ã9.0ã ã¨ãå¥ãã¼ã¸ã§ã³åã£ã¦ãã£ã¦æ¬²ããã§ããã
次ã®8.0.32ã¯1æé ã§ããããããããã§ãä½ããã®æ å ±ã¯ä¸ãã£ã¦ããããããã¾ããããæ¹è¯ã¯ãã¦ãæ°æ©è½è¿½å ã ãã¯åå¼ã
yoku0825ãããããªãã¯ãã³ãã«åãï¼
ãã®å è¦ã®æã¨éçã®åã«ä¸ã®é£¼è²å¡ãã¢ããã¬ã§ããã
ぼくらが選んだ次のMySQL 8.0 / MySQL80 Which We Choose - Speaker Deck
æå¾ã«
æå¤ã¨8.0.29ã使ã£ã¦ãã人ãååãã§è¦ããã¾ãã
ããã¯æ°·å±±ã®ä¸è§ã§ããµãã¼ãå¤ã®äººãã¡ãå«ãããç¸å½æ°ãªããããªããã¨æã£ã¦ã¾ãã
æ©æ¥ã«ã¢ããã°ã¬ã¼ããæ¤è¨ãããã¨ããå§ããã¾ãã
ããã«ã¯ã¢ããã°ã¬ã¼ããé£ãããã°ALGORITHM=INSTANT ã使ç¨ãã¦ã«ã©ã 追å ã¯é¿ãã¦ãã ããã
ææ¥ã¯ ãããªå è¦ã®æã¨éçã®åãæã¤ããç¾å½¹Oracle ACEãã® yoku0825 ããã§ãï¼