MySQLã ã¨DELETEãã¨ã¦ãéãã§ãã10000件ç¨åº¦ãªãä½è£ã§ããã100000件ã1000000件ã«ããªãã¨æã®ã¤ãããããªãã¬ãã«ã§ãããã®éMyISAMã ã¨ãã¼ãã«ããã¯ããããããDELETEããããã¨ä»åº¦ã¯æçåãã¦OPTIMIZE TABLEã§ãããªãã¨é度ä½ä¸ãå§ã¾ãã¾ãã OPTIMIZE TABLEãALTER TABLEã¯ãã®ãããæéãããããã¨ããããã§ããããä»åDELETEãããã¨ãããã¼ãã«ã¯Webã§ã®è¡¨ç¤ºã«å¿ é ã®é¨åã§ãã¦ãã©ãããªãWebãã§ããã ãè½ã¨ããã«ãã£ã¦ã¿ããã¨ããææ¦ã§ããã ä»åDELETEããã®ã¯27000000件ãããã§ããç¡çã§ãã å¦çãä¸åº¦ã«ã§ããªãã¨è¸ãã ã®ã§ãDELETEãå¢å éããå¤ãLIMITã§èµ°ãããã°ã ãã ãã¨æ¸ã£ã¦ããã®ã§ã¯ãªããã¨èããå®è¡ã ããæ¼ãã§LIMITæå®ã§çµã£ãDELETEãèµ°ãããçµæ900
{{#tags}}- {{label}}
{{/tags}}