I tried to add an index to a 192GB InnoDB table. There is 434GB available space on the server. There was very little going on in the database at the time.
Several hours later it was still going, so I tried to KILL it.
Now it’s in this state:
Id User Host/IP DB Time Cmd State Query
-- ---- ------- -- ---- --- ----- ----------
204997797 root localhost web_db 26586 Killed manage k alter table reports add key requisition_ix (requisition_id)
Is there a way to safely kill this?
Alternatively, is there a way to monitor the progress?
Would you like to clarify what you meant by service logic? When the command is in killed state it is still performing cleanup; the appropriate locks should be in place.