-
Hi, We are using Trino JDBC driver in a JVM application which also uses HikariCP for managing connections pool. We noticed issues with our application pooling and are about to investigate which setting to tune but I'm wondering if this even make sense at all to use connection pools with Trino? For the full context, we are using Trino with long running (in the minute order of magnitude) streaming queries, thus I expect we have some tuning to do anyway. Thanks for any feedback on this topic, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Trino JDBC Connection is lightweight, no point in pooling these. |
Beta Was this translation helpful? Give feedback.
-
However, a potential side-effect / benefit of using a connection pool can be application throttling. A pool of size N will prevent (typical) application from running more N queries at a time. |
Beta Was this translation helpful? Give feedback.
Trino JDBC Connection is lightweight, no point in pooling these.