Skip site navigation (1) Skip section navigation (2)

Re: Extremely Low performance with ODBC

From: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
To: "Sebastian Rychter" <srychter(at)anvet(dot)com(dot)ar>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Extremely Low performance with ODBC
Date: 2008-05-23 22:00:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
On Fri, May 23, 2008 at 2:45 PM, Sebastian Rychter
<srychter(at)anvet(dot)com(dot)ar> wrote:

> Thanks for your response. I did that in the first place and found that both
> explain reports where quite similar. I've got both reports: From pgadmin it
> took 7288 ms, and from VFP took 6446 ms (of course, that's the time
> calculated within the explain analyze, and not the real elapsed time).

actually it looks like 7.288ms and 6.446ms. ;)

> That's why I assume the ODBC driver is taking its own time for parsing or
> something like that- around 2 minutes actually :)

Checking the Postgresql logs would be really helpful here.

1) note the time that you issue the query from your client FE.
2) note the time in the pg server logs that the server gets the passed
query string.
2b) check for any disparity between 1) and 2).
3) check that the query is exactly the same as you've hand coded in pg-admin
4) also check the query duration when issued by ODBC in the postgresql
log to see if it is really taking 2 minutes.

It would be nice to see the snippet of the PG log showing this ODBC
query with associate duration times.

Richard Broersma Jr.

Visit the Los Angles PostgreSQL Users Group (LAPUG)

In response to


pgsql-sql by date

Next:From: Nacef LABIDIDate: 2008-05-25 21:51:06
Subject: I invite you to join my Ziki Network !
Previous:From: Sebastian RychterDate: 2008-05-23 21:45:32
Subject: Re: Extremely Low performance with ODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group