Optimized batch import of Event into database.