I have an InnoDB table that continually refreshes with a new set of data.
So, I do a delete from table (everything) and then insert the new set of data.
However the table can never be Without a data set, so I do the above in a transaction.
Everything is wonderful functionally, but the deletes is getting dangerously slow.
Does anyone know of a non-DDL way of speeding up deletes ?
I wonder if creating a second table “nextdataset” and then renaming it would work, I’ve never tried this. http://dev.mysql.com/doc/refman/5.0/en/rename-table.html