Languages/Java2 JDBC 이슈 정리 문제점: 쿼리 속도는 빠른데 Java에서 처리하는 부분이 느림.원인: Statement 객체가 한개씩 데이터를 가져오기 때문.해결법: 한번에 많은 데이터를 가져오도록 하면 됨 (ex. statement.setFetchSize(100) ) 참고:https://stackoverflow.com/questions/36694911/extremely-slow-resultset-next-performancehttps://stackoverflow.com/questions/13882941/what-is-the-maximum-recognized-fetch-size-for-a-resultsethttps://cheese10yun.github.io/spring-batch-reader-performance-2/#google_vi.. 2025. 5. 14. Java 글 목록 https://velog.io/@skyni/series/%EC%9E%90%EB%B0%94 2023. 3. 14. 이전 1 다음