Re: Extremely Low performance with ODBC

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: Extremely Low performance with ODBC
Дата
Msg-id 396486430805231500i445a898ck870e297422fcc672@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Extremely Low performance with ODBC  ("Sebastian Rychter" <srychter@anvet.com.ar>)
Ответы Re: Extremely Low performance with ODBC
Список pgsql-sql
On Fri, May 23, 2008 at 2:45 PM, Sebastian Rychter
<srychter@anvet.com.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.

-- 
Regards,
Richard Broersma Jr.

Visit the Los Angles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Sebastian Rychter"
Дата:
Сообщение: Re: Extremely Low performance with ODBC
Следующее
От: Nacef LABIDI
Дата:
Сообщение: I invite you to join my Ziki Network !