I had to kill an alter table (copy to tmp table) process, because my server was running low on disk space. My ibdata file is now 40 GB big and there are just 8 GB disk space left (no, I can't add disk space atm and I can't use a ram disk, since the server only has 8 GB ram).
From my understanding even I killed the alter table process MySQL will try to complete it as soon as there's enough disk space available.
According to "show status like '%tmp%';" there are 0 tmp tables and 5 tmp files.
According to "SHOW ENGINE INNODB STATUS;" there is just one "transaction 0, not started" entry (and a few file I/O ones).
According to the information schema my table is approx. 20 GB and my ibdata file is 40 GB (I just have a single InnoDB table on this database).
Is there a way to flush all pending changes and/or delete all tmp tables (even show status does not list one)?
I also wondering why my innodb_buffer_pool_size is set to 8 GB (on a 8 GB ram server). I did not alter any InnoDB settings and there are actually none in my my.cnf file, so this seems to be some default value?
Thanks: Lars