PZ: solve concurence issue by caching field mapping and avoding writing to db when counting error/success/identical of job context