Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection pooling #265

Open
JelleVE opened this issue Jun 3, 2020 · 0 comments
Open

Connection pooling #265

JelleVE opened this issue Jun 3, 2020 · 0 comments

Comments

@JelleVE
Copy link

JelleVE commented Jun 3, 2020

I might have missed it, but I couldn't find anything in the documentation/issues: is connection pooling (through unixodbc) supported?
I am currently testing this through looping a simple query. Enabling pooling seems to have a positive effect on the speed with which the queries are being executed, but the number of active connections (as counted by the query below) doesn't increase above one.

SELECT
      s.login_name
    , s.host_name
    , s.program_name
    , s.host_process_id
    , COUNT(*) AS connection_count
FROM sys.dm_exec_sessions AS s
GROUP BY
      s.login_name
    , s.host_name
    , s.program_name
    , s.host_process_id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant