I was trying to read an excel file having 10000 rows. After reading each and every cell, my application should check whether the read value exist in database. This is working perfectly, but the issue is due to frequent database checking, the application seems to be very slow. Can any suggest a better alternative to this ? i'm using codeigniter framework with mysql.

Thanks and regards,

Tismon