79170313

Date: 2024-11-08 13:59:43
Score: 0.5
Natty:
Report link

Increasing the maximum-pool-size in your connection pool allows for more concurrent database connections. However, to take advantage of this, you need to ensure that your inserts are processed in multiple threads. By default, Spring Data JPA runs saveAll() in a single thread, using only one database connection at a time, regardless of the connection pool size.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: valart