It spent about 40 seconds loading jdbc-driver after 1.6.0-patch3
AlexYangYu opened this issue · 2 comments
AlexYangYu commented
Describe the bug
I found the clickhouse jdbc driver spentd a lot of time(about 40 seconds) for loading after the version 1.6.0-patch3.
Steps to reproduce
- enable DEBUG level of log
- run springboot app using 1.6.0-patch3
2024-07-10 23:18:23.263 CST+08:00 DEBUG [main] [] c.clickhouse.jdbc.ClickHouseDriver - ClickHouse Driver 0.6.0.0(JDBC: 4.2.0.0) registered
2024-07-10 23:18:23.269 CST+08:00 DEBUG [main] [] o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'sqlSessionFactory' via factory method to bean named 'dataSource'
load quickly
- run springboot app using 1.6.0-patch4 or above
2024-07-10 23:24:51.714 CST+08:00 DEBUG [main] [] c.clickhouse.jdbc.ClickHouseDriver - ClickHouse Driver 0.6.0.0(JDBC: 4.2.0.0) registered
2024-07-10 23:25:33.799 CST+08:00 DEBUG [main] [] o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'sqlSessionFactory' via factory method to bean named 'dataSource'
spent about 40 seconds