From: Arnaud Lesauvage <thewild@free.fr>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Slow query through ODBC
Date: Wed, 25 Jan 2006 13:28:19 +0100
Message-ID: <43D76EE3.7060108@free.fr> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DAC0@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DAC0@ratbert.vale-housing.co.uk>
Dave Page a écrit :
>> From: Ludek Finstrle [mailto:luf@pzkagis.cz]
>> It seems to me I have to kick Dave to take a look at this :-)
>> Dave is pgAdmin developer so he could give a light on the problem.
>>
>> Dave: Could you take a look at this problem?
>
> Arnaud,
>
> When you are testing, please make sure that the psqlODBC's mylog and
> commlog are switched off, and that SQL Tracing is turned off in the ODBC
> control panel applet.
>
> Also, please note that pgAdmin has very lightweight data access classes
> written over libpq - much more lightweight than the ODBC driver. Most of
> the overhead in pgAdmin comes from rendering the data in the grid
> control.
>
> Regards, Dave.
Dave,
All logging is off when I run tests. I only turned them on on
Ludek's request for debugging purposes. Tracing is always off in
the ODBC pannel.
What looks strange to me is that while the query is running
(during the "open" method of the recordset), processor usage is 0%
on the server and the workstation. Network usage is very low :
~50kB on a 100Mbps connection, during the entire query.
In pgAdmin, the query is immediate and there is just a pike in the
network traffic when the data is received. That's what I was
expecting to see through psqlODBC also...
Regards
--
Arnaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: thewild@free.fr, dpage@vale-housing.co.uk, luf@pzkagis.cz
Subject: Re: Slow query through ODBC
In-Reply-To: <43D76EE3.7060108@free.fr>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DAC0@ratbert.vale-housing.co.uk> <43D76EE3.7060108@free.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox