주소록 private static final int BATCH_SIZE = 10000; private static final int THREAD_COUNT = 2;
private static final int BATCH_SIZE = 10000;
private static final int THREAD_COUNT = 2;
@f8a41b83206508537e13c101fcc660bf8d202a6a
--- src/main/java/itn/let/mjo/addr/service/impl/AddrServiceImpl.java
+++ src/main/java/itn/let/mjo/addr/service/impl/AddrServiceImpl.java
... | ... | @@ -62,11 +62,11 @@ |
| 62 | 62 |
private static final String PHONE_REGEX = "^(01[016789]-?\\d{3,4}-?\\d{4})$";
|
| 63 | 63 |
private static final Pattern PHONE_PATTERN = Pattern.compile(PHONE_REGEX); |
| 64 | 64 |
private static final Charset EUC_KR = Charset.forName("EUC-KR");
|
| 65 |
- private static final int BATCH_SIZE = 10000; |
|
| 66 | 65 |
// private static final int MAX_ADDR_CNT = 500000; |
| 67 | 66 |
//임시 500만개 |
| 68 | 67 |
private static final int MAX_ADDR_CNT = 5000000; |
| 69 |
- private static final int THREAD_COUNT = 1; // 적절한 스레드 수 설정 |
|
| 68 |
+ private static final int BATCH_SIZE = 10000; |
|
| 69 |
+ private static final int THREAD_COUNT = 2; |
|
| 70 | 70 |
|
| 71 | 71 |
|
| 72 | 72 |
public List<AddrVO> selectAddrList(AddrVO addrVO) throws Exception {
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?