본문 바로가기

분류 전체보기141

[MySQL]대용량 데이터 처리 Option (innodb_buffer_pool_size) 업무에 대용량 데이터를 핸들링할 일이 생겼다. Query의 속도도 문제지만 해당 데이터를 불러와 loading해야 하는데 실행되지 않는다. 이때 innodb_buffer_pool_size를 조정, 문제를 해결 했다. # InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and # row data. The bigger you set this the less disk I/O is needed to # access data in tables. On a dedicated database server you may set this # parameter up to 80% of the machine physical memory size. Do not s.. 2021. 10. 16.
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port. 이번에는 Intellij를 통해 emq broker에 등록된 topic을 subscribe하는 sample을 실행, publish하는 sample을 실행하는 8080 port 중복 오류가 발생한다. 오류내용 Identify and stop the process that's listening on port 8080 or configure this application to listen on another port. application.properties에 server port를 변경해주는 방법이 있으나, 수행될 program은 server 역활이 없으므로 build.gradle에 아래 항목을 삭제 후 해결했다. implementation 'org.springframework.cloud:spring-clo.. 2021. 9. 28.
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. 최근 Intellij 를 통해 emq broker 등록된 topic을 지정 message publish하는 sample을 작성 중이다. 하지만, springboot를 console을 수행시 아래 오류가 발생하며 실행되지 않는다. Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loadded from a particular profile you may need to activate it (...) 구글링 결과 대부분 application.properties에 jdbc 연결 정보를 구성하여 해결하였.. 2021. 9. 28.
Mosquitto Broker 2.0.12 설치, Sub/Pub 테스트 그동안 사내에서 M2Mqtt Broker 1.6.12 사용했으나, 최근 Release된 M2Mqtt Broker 2.0.12 설치했으나 테스트중 localhost sub/pub 정상 수행했으나 remote접속시 연결 거부 오류가 발생한다. 이에 2.0.12 버전의 사용 과정을 정리해 둔다. 1.Mosquitto broker 다운로드 https://mosquitto.org/download/ Download Mosquitto Enhancements These projects can be used to add extra features to Mosquitto. Management Center: A web UI for managing Mosquitto instances. In particular, this of.. 2021. 9. 12.