ããã«ã¡ã¯ãDBAã§ãã MySQL5.6ã®ãªã³ã©ã¤ã³ALTER TABLEã§ããã£ãæã®ãã¯ãªãã§ãã 5.6ã«ã¯ãªã³ã©ã¤ã³ALTER TABLEé¢é£ã®ãã©ã¡ã¼ã¿ã¼ã«Â innodb_sort_buffer_size ã¨ãããã®ã追å ããã¦ãã(5.5以åã¯fast index creationãå¹ãæã«ä½¿ããããã©ã¡ã¼ã¿ã¼ã¨ãã¦å é¨çã«1Mã§ãã¼ãã³ã¼ãããã¦ãããã®ããè¨å®å¯è½ã«ãªã£ã)ãåã«ãã£ãã試ããã¨ãã 大ããããã°ä¸å¿ãããªãã®æ©æµã¯åããããããªã®ã§å¤§ãããããã§ããã æ¯æ¥ã®å®æãããã§ç大ã«InnoDBã®ãã¼ãã«ã«ãã«ã¯ã¤ã³ãµã¼ãããããå¾ã«ALTER TABLEã§ã¤ã³ããã¯ã¹ããã£ã¤ãã¦RENAME TABLEã§ãã¼ãã«ãåãæ¿ããâ¦ãªãã¦ãã¨ããã£ã¦ãããµã¼ãã¹ã«ã¯æã£ã¦ã¤ãã ã¨æã£ãããã§ãï¼ãããããã®ããæ¹ã®åæªã«ã¤ã㦠ãã㦠DBA㯠èãããã¨ãæ¢ãã
{{#tags}}- {{label}}
{{/tags}}