그동안 잘못 알고 있었던 사실.DB에 최소한으로 접근하는 것이 항상 좋다.-> DB에 연결된 트랜잭션의 시간이 길어진다면, 전체적인 데이터베이스의 접근하는 속도가 저하된다. 사실 위 의미대로라면 분할로 업데이트하는 청크는 설명될 수 없다.NestJS, MySQL, Typeorm의 예를 들어보겠다. 1. 업데이트에 필요한 행만큼 쿼리문 실행async bulkMap(dto: BulkDto): Promise { let updatedCount: number = 0; await this.entityManager.transaction(async (em) => { for(const item of dto.items){ const result = await em..createQueryB..