Unix Technical Forum

Re: psqlodbc-8.2.200

This is a discussion on Re: psqlodbc-8.2.200 within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Running latest release of PostgreSQL ODBC Driver (8.02.0200). Does the ODBC driver for Windows use connection pooling? I have ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:12 AM
Benjamin Krajmalnik
 
Posts: n/a
Default Re: psqlodbc-8.2.200

Running latest release of PostgreSQL ODBC Driver (8.02.0200).

Does the ODBC driver for Windows use connection pooling?

I have a Windows application which is using the driver.
I have connection pooling enabled, and the application notifies the
driver to use connection pooling (per the developer).

I saw a huge disparity when running the queries (a stored procedure
call) via psql locally and via the odbc driver (in this case, I am
referring to the statement duration as logged by postgresql). The call
being made is a "select * from sp_name(parameters)".
I have about an 8:1 performance degradation in the statement duration
when called via ODBC compared to directly in psql (as reported by the
postgres log file).

I have not tried running the query through pgAdmin to see what execution
speed I get.
However, when I turned connection loggin on, I noticed that every single
call to the stored procedure is creating a new connection (so it appears
it is not honoring the connection pooling, which I believe results in
quite a bit of overhead for each statement being called).

TIA,

Benjamin

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com