only pull 10000 recs at a time, better log info for debugging