[ https://issues.apache.org/jira/browse/KYLIN-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626223#comment-17626223 ]
liyang commented on KYLIN-5286: ------------------------------- The QueryConnection is a lightweight object by design. That means there is no need to manage its lifecycle. Just create it when needed, and throw it away after it's used. That's the best management (unless we start to see performance issue in it). > Improve QueryConnection.getConnection? > -------------------------------------- > > Key: KYLIN-5286 > URL: https://issues.apache.org/jira/browse/KYLIN-5286 > Project: Kylin > Issue Type: Wish > Components: Query Engine > Affects Versions: v4.0.1 > Reporter: Liu Zhao > Priority: Trivial > Attachments: image-2022-10-29-00-51-39-725.png, > image-2022-10-29-00-52-05-786.png > > > Is it possible to cache connections, similar to BasicDataSouce, etc. -- This message was sent by Atlassian Jira (v8.20.10#820010)