I sent an ALTER statement that took a long time and I killed some minutes after and then I noticed that CPU usage is almost 100% (98%, 99%, etc).
The process is still being listed with "Killed" status. Reading some answers here, I understand that a killed process can take a long time because it needs to do some rollbacks.
But I didn't get why the database is still running and responding to the application with almost 100% of CPU usage. There are some kind of prioritization on the database tasks?
Thanks
ALTER
statement? Which version of MySQL? Both can make a big difference in how to answer your question.