quickest way of deleting data from mysql

Posted by every_answer_gets_a_point on Stack Overflow See other posts from Stack Overflow or by every_answer_gets_a_point
Published on 2010-05-21T17:59:14Z Indexed on 2010/05/21 18:10 UTC
Read the original article Hit count: 102

Filed under:
|

i am doing this:

delete from calibration_2009 where rowid in
(SELECT rowid FROM `qcvalues`.`batchinfo_2009` where reporttime like "%2010%");

i need to have about 250k rows deleted.

why does it take such a long time? is there a quicker way to do this?

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql