2
히카리 풀에서 연결을 사용할 때이 로그가 계속 표시됩니다.HikariCP에서 연결 재설정 (autoCommit)
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection [email protected]
그 의미는 무엇입니까? 이게 내가 걱정해야 할/고칠 수있는 것이거나 정상입니까? 나는 그곳에서 실제로 일어나는 일을 이해하려고 노력하고있다.
감사합니다. 내 경우에는, 그것은 전의 것입니다. 그래서 HikariCP가 자동 커밋을 기본값으로 바꾸는 것이 비용이 많이 든다면, 연결을 닫기 전에'autocommit = true'라고해야할까요? – Bee
1 질문하기. 위와 같이하면,'reset (nothing) on connection conn0'을 얻습니다. 그게 정상입니까? – Bee
이상적으로, 풀''autoCommit''는 여러분의 지속성이 * 자주 * * 수행하는 것과 일치하도록 구성되어야합니다. 지속성이 때로는''autoCommit = true'' 또는 때때로''autoCommit = false'' 인 경우 풀에 대한 연결을 직접 초기화할지 HikariCP로할지 여부는 비용이 동일합니다. 그러나 직접 작성하는 경우 적어도 디버그 로그 메시지는 피할 수 있습니다. ''Reset (nothing) ...''메시지는 더 이상 기록되지 않으므로 HikariCP를 업그레이드하는 것이 좋습니다. 그러나 그것은 무해하다. – brettw