Hi Swathi,
I am afraid the best solution is to debug as suggested by Raman.
But I have one thing you can try to take a quick look, chances are that some tables used in the extraction have custom index added for performance reason, but they are not re-created after upgrade at source system.
So, you can try to make a quick scan to the code and compare the indexes on the tables used.
Regards
Bill