I have two tables contains existing file names and downloaded file names. Theres 61k+ records on existing files table and 34k+ records on downloaded files table. Im using this query to find the file names which are not downloaded yet!
SELECT * FROM
filesWHEREfilename<> '' ANDfilenameNOT IN (SELECTfilenameFROMdownloads)
This was working fine when theres few records but its not working now, few days before, when there was 50k and 20k records, it was getting slow like getting result in 5/6mins, but now its showing this error:
Internal Server Error 500
No response from subprocess (php) with exit signal: 0
filename fields are file name fields(varchar 255) of tables and both fields are indexed. Any help plz?