i don't know why this query take 45 min to give me the result
table1= 831293 row
table2= 2000.000 row
SELECT ID, name FROM table1 WHERE name not IN (SELECT name FROM table2 )  LIMIT 831293
my.cnf file look like this :
max_allowed_packet  = 64M
innodb_buffer_pool_size = 8G
innodb_log_file_size    = 256M 
query_cache_type        = 1
query_cache_limit   = 1M
 
     
     
     
    