X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 410079DCC86 for ; Mon, 6 Mar 2006 06:54:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88322-10 for ; Mon, 6 Mar 2006 06:54:18 -0400 (AST) X-Greylist: delayed 00:33:53.448766 by SQLgrey- Received: from geosys.fr (arianne.geosys.fr [195.115.79.21]) by postgresql.org (Postfix) with ESMTP id EA5689DCC4D for ; Mon, 6 Mar 2006 06:54:12 -0400 (AST) Received: from [192.168.1.60] tc@geosys.fr [195.115.79.20] by geosys.fr with NetMail SMTP Agent $Revision: 3.16 $ on Microsoft Windows; Mon, 06 Mar 2006 11:58:03 +0100 Message-ID: <440C14D2.8020106@geosys.com> Date: Mon, 06 Mar 2006 11:54:10 +0100 From: Thomas Chabaud Reply-To: tc@geosys Organization: Geosys User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Slow query over ADSL Line References: <440C0CDA.5010007@geosys.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/18 X-Sequence-Number: 7304 Adnan DURSUN a écrit : > ----- Original Message ----- >> From: "Thomas Chabaud" >> To: >> Sent: Monday, March 06, 2006 12:20 PM >> Subject: [ODBC] Slow query over ADSL Line > > >>> Hello, >>> >>> I'm using psql ODBC driver with ADO in a visual basic 6 application, >>> and I have some speed issues when I connect using an adsl line (8M >>> down/1M up) (it works perfectly well using an ethernet 100Mbps LAN). >>> >>> The application sends about 300 queries to server, and it takes 150 >>> seconds to fetch the results of all queries. I have also tested some >>> of the queries with pgAdmin, and it takes about 1.5s/2s for each query. >>> >>> The queries are all in the same simple form : "select >>> myfield1,myfield2,myfield3[...] from table where id=myid", >>> and they send back only 40/50 rows max. > > You must consider how amount of data your application gets from server ! > > Adnan DURSUN > ASRIN Bilisim Ltd. > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > > The total amount of data fetched from the server is approximately 500 ko.