Jump to content

Slow MySQL queries?


Azu

Recommended Posts

Would somebody please tell me why these MySQL queries are running so slow and how I can optimize them?

 

select count(*)

from Z where X not in (select 1 from a) and X not in (select 2 from b) and X not in (select 3 from c);

 

delete

from Z where X not in (select 1 from a) and X not in (select 2 from b) and X not in (select 3 from c);

Link to comment
https://forums.phpfreaks.com/topic/51584-slow-mysql-queries/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.