Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は現在、実行ごとに 200,000 行ずつ 1,100 万のテーブルの 900 万行を削除しています。
テーブルとインデックスを手動で再構築する必要がありますか? それとも、削除するたびに自動的に再構築されますか?
はい、テーブルを手動で再構築する必要があります。次のように行うことができます。
ALTER TABLE database.table ENGINE=InnoDB;