Re: Extremely Low performance with ODBC

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: Extremely Low performance with ODBC
Дата
Msg-id 396486430805230903k7f85f358va55fe8ab09a17eed@mail.gmail.com
обсуждение исходный текст
Ответ на Extremely Low performance with ODBC  ("Sebastian Rychter" <srychter@anvet.com.ar>)
Ответы Re: Extremely Low performance with ODBC  ("Sebastian Rychter" <srychter@anvet.com.ar>)
Список pgsql-sql
On Thu, May 22, 2008 at 11:29 AM, Sebastian Rychter
<srychter@anvet.com.ar> wrote:
> Hi, I'm executing a query through psql ODBC which is taking around 2 minutes
> to complete. When I run it from PgAdmin it takes less than 3 seconds.
>
> Any idea ?

1) turn off all ODBC query logging from both the ODBC driver and the
ODBC administrator.  This feature is a performance killer.  Only use
this feature if you are trying to debug a problem.
2) Some client programs try to perform the joins on the client side
rather than the server side. I would check if the client is actually
passing the actual SQL statement back to the server. If it is trying
to perform the join on the client, it could be a big performance
killer.

-- 
Regards,
Richard Broersma Jr.

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


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Extremely Low performance with ODBC
Следующее
От: "Sebastian Rychter"
Дата:
Сообщение: Re: Extremely Low performance with ODBC