I got two tables (one with 33k rows and another with 7k rows). I want to compare the two tables and delete the rows in which the two id\'s dont match. But when i send off th
I would do an explain so you can see what mysql does. This would give a good indication on what how many rows are used.
EXPLAIN SELECT * FROM likes LEFT OUTER JOIN uploads on likes.upload_id = uploads.upload_id WHERE uploads.upload_id IS NULL
you could also use another browser or another session to use show processlist to see how the query is executed.