数据库连接数量我设置了16384,最大值 ; 对于mysql8在设置一下这个 SET GLOBAL mysqlx_max_connections = ; 可以使用 命令查看自己的设置 SHOW variables like '%max_connections%'; 连接关闭时间https://blog.csdn.net/u013887008/article/details/79491433 每个连接默认是28800秒,没啥用,断开了重新连接就是了,节约性能,所以直接设置10秒 查看当前进程的连接
原帖 https://grokonez.com/hibernate/use-hibernate-lazy-fetch-eager-fetch-type-spring-boot-mysql In the tutorial, JavaSampleApproach will help you understand Hibernate Lazy Fetch Type and Eager Fetch Type by sample code with Spring Boot & MySql database