pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: vedant patel <vedantpatel297@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: PostGres ODBC too slow
Date: Fri, 15 Mar 2024 10:39:20 -0700
Message-ID: <47c54070-cdc1-461c-9750-e9570a8ba2e4@aklaver.com> (raw)
In-Reply-To: <CAL4ovZqaPAKQNRe_2qfD-w3Opp04od_QwOrvSSytsyDHRxjz8A@mail.gmail.com>
References: <CAL4ovZqaPAKQNRe_2qfD-w3Opp04od_QwOrvSSytsyDHRxjz8A@mail.gmail.com>


On 3/15/24 3:40 AM, vedant patel wrote:
> Hello There,
>
> Recently, we've encountered some performance issues with the ODBC 
> driver provided by Postgres. Upon investigation, we noticed that 
> switching from the UNICODE to ANSI driver resulted in performance 
> improvements for some queries, albeit at the expense of others.
>
> To delve deeper into this matter, I conducted tests using a Python 
> script with the psycopg2 library, and the results were significantly 
> better. However, to address this issue comprehensively, I've explored 
> alternative ODBC drivers available in the market. While some minor 
> improvements were observed in a few queries with a different driver, 
> the overall performance remains a concern.
>
> Given your extensive experience in this area, I would greatly 
> appreciate your insights and recommendations on which ODBC driver 
> would be most suitable for our use case. Any advice or suggestions you 
> could offer would be immensely helpful in resolving this performance 
> issue.


This will probably get a better answer quicker over at the ODBC list:


https://www.postgresql.org/list/pgsql-odbc/


>
> Let me know in case of any questions or concerns.
>
> Thanks,

-- 
Adrian Klaver
adrian.klaver@aklaver.com

view thread (4+ messages)  latest in thread

Message-ID: <47c54070-cdc1-461c-9750-e9570a8ba2e4@aklaver.com>
Permalink:  ../47c54070-cdc1-461c-9750-e9570a8ba2e4@aklaver.com/
Also on:    postgresql.org/message-id/47c54070-cdc1-461c-9750-e9570a8ba2e4@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, vedantpatel297@gmail.com
  Subject: Re: PostGres ODBC too slow
  In-Reply-To: <47c54070-cdc1-461c-9750-e9570a8ba2e4@aklaver.com>
  References: <CAL4ovZqaPAKQNRe_2qfD-w3Opp04od_QwOrvSSytsyDHRxjz8A@mail.gmail.com> <47c54070-cdc1-461c-9750-e9570a8ba2e4@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox