•
MySQL 8.0 Documentation : https://dev.mysql.com/doc/refman/8.0/en/insert-optimization.html
•
Connecting: (3)
•
Sending query to server: (2)
•
Parsing query: (2)
•
Inserting row: (1)
•
Inserting index: (1)
•
Closing: (1)
가능한 connection이 존재하지 않을 때
만약에 가능한 Connection이 존재하지 않으면 HandOffQueue를 Polling 하면서 다른 Thread가 Connection을 반납하기를 기다립니다. 이를 지정한 TimeOut 시간까지 대기하다가 시간이 만료되면 Exception을 던집니다.