I know this sounds weird, but apparently one of my columns is locked.
select * from table where type_id = 1 and updated_at < '2010-03-14' limit 1;
select * from table where type_id = 3 and updated_at < '2010-03-14' limit 10;
the first one would not finish running even in a few hours, while the second one completes smoothly. the only difference is the type_id between the 2 queries.
a bit of background, the first statement screwed up before which i had to kill manually.
Thanks in advance for your help - i have an urgent data job to finish, and this problem is driving me crazy