You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Priyanka Bhoir (Jira)" <ji...@apache.org> on 2019/12/05 14:37:00 UTC

[jira] [Created] (DRILL-7466) Configurable number of connection in JDBC storage connection pool

Priyanka Bhoir created DRILL-7466:
-------------------------------------

             Summary: Configurable number of connection in JDBC storage connection pool
                 Key: DRILL-7466
                 URL: https://issues.apache.org/jira/browse/DRILL-7466
             Project: Apache Drill
          Issue Type: Improvement
          Components: Storage - JDBC
            Reporter: Priyanka Bhoir


Drill does not allow the number of connections in the pool to configured

When a JDBC storage plugin is created, it creates 8 connections per plugin which happen to be the default for dbcp connection pool. Currently, there is no way to configure these parameters using storage configuration. Max Idle is set to 8 leaving all connections open even when unused. This situation creates an unnecessary connection to DB.

These parameters must be made configuration in the JDBC storage plugin configuration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)