photo by byte MySQLã¨ããã°ãå··ã§ã¯InnoDBã°ãã注ç®ãããMyISAMã®å°ä¸ã¢ã¤ãã«åãã«ããã«èªãããä»æ¥ãã®é ãçæ§ããããéããã§ããããã ã¾ãã«ã¸ã¥ã¢ã«ã«ã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ãå¤æããã ãã§æ¸ããªããç°¡åãªã®ã§ãã -- legacy_my_tableãInnoDBã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã«å¤æãã ALTER TABLE legacy_my_table ENGINE=InnoDB; ããçµãã£ãï¼ããã©ã³ãã¿ã¤ã ã ï¼ ã»ã»ã»ã¨çä»ãã¦ãã¦ãã¾ãã¨ãæ²åãèµ·ããããããã¾ããã(>o<;) ããã§ã¯æ¬æ¥ãMyISAMããInnoDBã¸ç§»è¡ãããªãç¥ã£ã¦ããããæå¤ãªè½ã¨ãç©´ã¨Tipsãç´¹ä»ãã¾ãã AUTO INCREMENTã®æåãéãè½ã¨ãç©´ 以ä¸ã«è©²å½ããã¯ã¨ãªãå©ç¨ãã¦ããå ´åã«ã¯ã注æãå¿ è¦ã§ããç§ã¯ãããã¾ããã INSERT IGNORE INTO
{{#tags}}- {{label}}
{{/tags}}