Re: PostGres ODBC too slow

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: vedant patel <vedantpatel297(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostGres ODBC too slow
Date: 2024-03-15 18:05:05
Message-ID: 0268e2ac-25bb-4e2b-909a-b6ea72dba01d@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 3/15/24 10:58 AM, vedant patel wrote:
> Thanks Adrian,
>
>
> I have been to the articles but it didn't help. Many of them have
> mentioned this type of issues but not the solution.

That is why you should ask over on the ODBC list, that is where the
folks who develop and use the driver hang out.

When you do you will need to provide more information, at a minimum:

1) Postgres version.

2) ODBC version.

3) Example code.

4) The benchmark results.

>
> And my main concern is if python library is able to perform fast
> operation why ODBC is too much slow. And I have to use ODBC for my
> application which is in power builder.
>
> Thanks,
>
> On Fri, 15 Mar, 2024, 11:09 pm Adrian Klaver,
> <adrian(dot)klaver(at)aklaver(dot)com> wrote:
>
>
> 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(dot)klaver(at)aklaver(dot)com
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2024-03-15 18:36:44 Re: Query on Postgres SQL transaction
Previous Message vedant patel 2024-03-15 17:58:01 Re: PostGres ODBC too slow