Also if ur performing huge dml activity commiting and then fetching again from with in the loop would result in "snap shot too" old error if your rollback segment is not configured properly.So take care whilc commiting with in the loop.

regards
anandkl