X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6BAFBD779C for ; Wed, 7 Sep 2005 09:30:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07679-09 for ; Wed, 7 Sep 2005 12:30:26 +0000 (GMT) Received: from fulfill-tech.com.ar (unknown [64.76.23.52]) by svr1.postgresql.org (Postfix) with ESMTP id 87010D768C for ; Wed, 7 Sep 2005 09:30:25 -0300 (ADT) Received: from maxi [200.82.98.40] by fulfill-tech.com.ar with ESMTP (SMTPD32-8.00) id A0D31F5300B6; Wed, 07 Sep 2005 09:45:07 -0300 From: "Maximiliano Di Rienzo" To: Subject: Re: Application bottlenecks Date: Wed, 7 Sep 2005 09:33:44 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0096_01C5B38F.41DB1820" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Thread-Index: AcWzoRX91cSZjS+OQUuQuiNstSevRQABquIA In-Reply-To: <20050907112416.98558.qmail@web53210.mail.yahoo.com> Message-Id: <20050907094500.SM00692@maxi> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.087 required=5 tests=[HTML_40_50=0.086, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200509/85 X-Sequence-Number: 5983 This is a multi-part message in MIME format. ------=_NextPart_000_0096_01C5B38F.41DB1820 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Carlos, we had the same problem with an application, with some = queries the response taked much more time to get to the cliente than it taked to execute on the server. Because we develop in Delphi we switch to postgresDAC, a commercial = product, and the problem was solved, that's why i suspect the problem is in the = ODBC driver instead of outside the server. Maybe you can send a sample table/query to the ODBC driver development group to analyze it... Regards. _____ =20 De: pgsql-odbc-owner@postgresql.org = [mailto:pgsql-odbc-owner@postgresql.org] En nombre de Carlos Henrique Reimer Enviado el: mi=E9rcoles, 07 de septiembre de 2005 8:24 Para: pgsql-odbc@postgresql.org Asunto: [ODBC] Application bottlenecks Hello, =20 We are using Cobol Microfocus and pgsqlODBC to access Postgresql.=20 =20 Originally these applications only accessed Oracle databases without = ODBC, only Procobol and now we=B4re migrating to Postgresql and ODBC. The application logic doesn=B4t changed, but some applications have higher response times than the Oracle version. We worked on database tunning = but even so, the response times are very different.=20 =20 I turned on logging sql statemants in the server (log_duration) and discovered that the sum of all SQL duration times gives only 30% of the total response time felt at the client. This gives me a suspect that the bottleneck is outside the server.=20 =20 Am I in the right way? =20 How can I discover the SQL duration times at the client? Is there some = tool I could use? =20 Thanks in advance! =20 Reimer=20 _____ =20 Yahoo! Messenger com voz: PROMO=C7=C3O VOC=CA PODE LEVAR UMA VIAGEM NA = CONVERSA. Participe! =20 ------=_NextPart_000_0096_01C5B38F.41DB1820 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Carlos, we had the same problem with an = application,=20 with some queries the response taked much more time to get to = the=20 cliente than it taked to execute on the server.
Because we develop in Delphi we switch to = postgresDAC,=20 a commercial product, and the problem was solved, that's why i suspect = the=20 problem is in the ODBC driver instead of outside the server. Maybe you = can send=20 a sample table/query to the ODBC driver development group = to analyze=20 it...
Regards.


De: pgsql-odbc-owner@postgresql.org=20 [mailto:pgsql-odbc-owner@postgresql.org] En nombre de Carlos = Henrique=20 Reimer
Enviado el: mi=E9rcoles, 07 de septiembre de 2005=20 8:24
Para: pgsql-odbc@postgresql.org
Asunto: [ODBC]=20 Application bottlenecks

Hello,
 
We are using Cobol Microfocus and pgsqlODBC to access Postgresql. =
 
Originally these applications only accessed Oracle databases = without ODBC,=20 only Procobol and now we=B4re migrating to Postgresql  and ODBC. = The=20 application logic doesn=B4t changed, but some applications have higher = response=20 times than the Oracle version. We worked on database tunning but even = so, the=20 response times are very different.
 
I turned on logging sql statemants in the server (log_duration) and = discovered that the sum of all SQL duration times gives only 30% of the = total=20 response time felt at the client. This gives me a suspect that the = bottleneck is=20 outside the server.
 
Am I in the right way?
 
How can I discover the SQL duration times at the client? Is there = some tool=20 I could use?
 
Thanks in advance!
 
Reimer 


Yahoo! Messenger com voz: PROMO=C7=C3O VOC=CA PODE LEVAR UMA VIAGEM NA = CONVERSA. Participe! ------=_NextPart_000_0096_01C5B38F.41DB1820--