On Fri, May 23, 2008 at 2:45 PM, Sebastian Rychter
> 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
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 LABIDI||Date: 2008-05-25 21:51:06|
|Subject: I invite you to join my Ziki Network !|
|Previous:||From: Sebastian Rychter||Date: 2008-05-23 21:45:32|
|Subject: Re: Extremely Low performance with ODBC|