useful logging Reduce batch size to 16 to avoid sql errors try using multi inserts to overcome deadlock during batch update