I was indexing a huge table today containing 2 billion records. I thought MySQL would eat away my 2TB drive… The disk consumption kept increasing to 400GB and then 500GB and then finally drops to 180GB and MySQL says successfully added the index. Why the space increase and what happened in the end? Can someone please give me some pointers?
Share
Incidentally yesterday I answered a question on how to make index creation faster in MySQL, and the following came out from my research: