delete taking really long time! 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-21T20:48:42Z Indexed on 2010/05/21 20:50 UTC
Read the original article Hit count: 111

Filed under:
|

i am doing this:

delete calibration_2009 from
calibration_2009 join batchinfo_2009
on calibration_2009.rowid = batchinfo_2009.rowid
where batchinfo_2009.reporttime like '%2010%';

both tables have about 500k lines of data i suspect that 250k match the criteria to be deleted

so far it has been running for 2 hours!!! is there something wrong?

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql