pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedApplication bottlenecks
7+ messages / 5 participants
[nested] [flat]
* Application bottlenecks
@ 2005-09-07 11:24 Carlos Henrique Reimer <carlosreimer@yahoo.com.br>
2005-09-07 12:33 ` Re: Application bottlenecks Maximiliano Di Rienzo <maxi@fulfill-tech.com>
2005-09-08 16:47 ` Re: Application bottlenecks Hasns-Juergen Schoenig <postgres@cybertec.at>
0 siblings, 2 replies; 7+ messages in thread
From: Carlos Henrique Reimer @ 2005-09-07 11:24 UTC (permalink / raw)
To: pgsql-odbc
Hello,
We are using Cobol Microfocus and pgsqlODBC to access Postgresql.
Originally these applications only accessed Oracle databases without ODBC, only Procobol and now we´re migrating to Postgresql and ODBC. The application logic doesn´t 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.
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.
Am I in the right way?
How can I discover the SQL duration times at the client? Is there some tool I could use?
Thanks in advance!
Reimer
---------------------------------
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe!
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Application bottlenecks
2005-09-07 11:24 Application bottlenecks Carlos Henrique Reimer <carlosreimer@yahoo.com.br>
@ 2005-09-07 12:33 ` Maximiliano Di Rienzo <maxi@fulfill-tech.com>
1 sibling, 0 replies; 7+ messages in thread
From: Maximiliano Di Rienzo @ 2005-09-07 12:33 UTC (permalink / raw)
To: pgsql-odbc
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.
_____
De: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org]
En nombre de Carlos Henrique Reimer
Enviado el: miércoles, 07 de septiembre de 2005 8:24
Para: pgsql-odbc@postgresql.org
Asunto: [ODBC] Application bottlenecks
Hello,
We are using Cobol Microfocus and pgsqlODBC to access Postgresql.
Originally these applications only accessed Oracle databases without ODBC,
only Procobol and now we´re migrating to Postgresql and ODBC. The
application logic doesn´t 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.
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.
Am I in the right way?
How can I discover the SQL duration times at the client? Is there some tool
I could use?
Thanks in advance!
Reimer
_____
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA.
Participe!
<http://us.rd.yahoo.com/mail/br/taglines/*http://br.yahoo.com/messenger/prom
ocao/>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Application bottlenecks
2005-09-07 11:24 Application bottlenecks Carlos Henrique Reimer <carlosreimer@yahoo.com.br>
@ 2005-09-08 16:47 ` Hasns-Juergen Schoenig <postgres@cybertec.at>
1 sibling, 0 replies; 7+ messages in thread
From: Hasns-Juergen Schoenig @ 2005-09-08 16:47 UTC (permalink / raw)
To: Carlos Henrique Reimer <carlosreimer@yahoo.com.br>; +Cc: pgsql-odbc
Reimer,
Did you use Windows XP or Windows 2000?
Best regards,
Hans
Am 07.09.2005 um 13:24 schrieb Carlos Henrique Reimer:
> Hello,
>
> We are using Cobol Microfocus and pgsqlODBC to access Postgresql.
>
> Originally these applications only accessed Oracle databases
> without ODBC, only Procobol and now we´re migrating to Postgresql
> and ODBC. The application logic doesn´t 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.
>
> 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.
>
> Am I in the right way?
>
> How can I discover the SQL duration times at the client? Is there
> some tool I could use?
>
> Thanks in advance!
>
> Reimer
>
> Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA
> CONVERSA. Participe!
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Application bottlenecks
@ 2005-09-08 12:17 Merlin Moncure <merlin.moncure@rcsonline.com>
2005-09-08 12:32 ` Re: Application bottlenecks Cleber Nardelli <clebernardelli@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Merlin Moncure @ 2005-09-08 12:17 UTC (permalink / raw)
To: Carlos Henrique Reimer <carlosreimer@yahoo.com.br>; +Cc: pgsql-odbc
Hi Carlos, I am working on project right now you might be interested in, namely a extfh interface to postgresql and a isam wrapper for libpq. I already have an isam bridge working direct to postgresql from AcuCobol without using odbc or a commercial driver. I just need to convert it to extfh and do a few other things to support microfocus.
Merlin
________________________________________
From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Carlos Henrique Reimer
Sent: Wednesday, September 07, 2005 7:24 AM
To: pgsql-odbc@postgresql.org
Subject: [ODBC] Application bottlenecks
Hello,
We are using Cobol Microfocus and pgsqlODBC to access Postgresql.
Originally these applications only accessed Oracle databases without ODBC, only Procobol and now we´re migrating to Postgresql and ODBC. The application logic doesn´t 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.
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.
Am I in the right way?
How can I discover the SQL duration times at the client? Is there some tool I could use?
Thanks in advance!
Reimer
________________________________________
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe!
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Application bottlenecks
2005-09-08 12:17 Re: Application bottlenecks Merlin Moncure <merlin.moncure@rcsonline.com>
@ 2005-09-08 12:32 ` Cleber Nardelli <clebernardelli@gmail.com>
0 siblings, 0 replies; 7+ messages in thread
From: Cleber Nardelli @ 2005-09-08 12:32 UTC (permalink / raw)
To: Merlin Moncure <merlin.moncure@rcsonline.com>; +Cc: pgsql-odbc
Hi Merlin...
We have an application that he uses one extfh that was modified by us
so that it has access Oracle bases natively through the use of
ProCobol. I am interested in its work, would like to get greaters
information.
We use Microfocus NetExpress 3.0.
Cleber.
2005/9/8, Merlin Moncure <merlin.moncure@rcsonline.com>:
> Hi Carlos, I am working on project right now you might be interested in, namely a extfh interface to postgresql and a isam wrapper for libpq. I already have an isam bridge working direct to postgresql from AcuCobol without using odbc or a commercial driver. I just need to convert it to extfh and do a few other things to support microfocus.
>
> Merlin
>
> ________________________________________
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Carlos Henrique Reimer
> Sent: Wednesday, September 07, 2005 7:24 AM
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Application bottlenecks
>
> Hello,
>
> We are using Cobol Microfocus and pgsqlODBC to access Postgresql.
>
> Originally these applications only accessed Oracle databases without ODBC, only Procobol and now we´re migrating to Postgresql and ODBC. The application logic doesn´t 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.
>
> 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.
>
> Am I in the right way?
>
> How can I discover the SQL duration times at the client? Is there some tool I could use?
>
> Thanks in advance!
>
> Reimer
> ________________________________________
> Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
--
Cleber Nardelli
IPM Automação e Consultoria
9998-8670
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Application bottlenecks
@ 2005-09-08 13:18 Merlin Moncure <merlin.moncure@rcsonline.com>
0 siblings, 0 replies; 7+ messages in thread
From: Merlin Moncure @ 2005-09-08 13:18 UTC (permalink / raw)
To: clebernardelli@gmail.com; +Cc: pgsql-odbc
> Hi Merlin...
>
> We have an application that he uses one extfh that was modified by us
> so that it has access Oracle bases natively through the use of
> ProCobol. I am interested in its work, would like to get greaters
> information.
>
> We use Microfocus NetExpress 3.0.
>
> Cleber.
>
> 2005/9/8, Merlin Moncure <merlin.moncure@rcsonline.com>:
> > Hi Carlos, I am working on project right now you might be interested
in,
> namely a extfh interface to postgresql and a isam wrapper for libpq.
I
> already have an isam bridge working direct to postgresql from AcuCobol
> without using odbc or a commercial driver. I just need to convert it
to
> extfh and do a few other things to support microfocus.
> >
> > Merlin
I have a project open on gborg called 'postisam'. Right now there is no
code and no information on it...but right now I am developing a COBOL
ERP which works with postgresql and AcuCobol. The reason why there is
no public code is that the AcuCobol file interface requires re-linking
the runtime and AcuCorp does not grant redistribution rights on the key
header files required to do that.
With version 7.0 AcuCorp now supports extfh file interfaces so I will
convert my current project to support extfh. In theory, this will allow
postisam to support any cobol compiler that supports extfh. Over the
next couple of weeks I am going to be updating the PostISAM site with
new information and sending in the code that was been reworked with all
the AcuCorp stuff removed and made more portable.
Merlin
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Application bottlenecks
@ 2005-09-08 17:07 Merlin Moncure <merlin.moncure@rcsonline.com>
0 siblings, 0 replies; 7+ messages in thread
From: Merlin Moncure @ 2005-09-08 17:07 UTC (permalink / raw)
To: Carlos Henrique Reimer <carlosreimer@yahoo.com.br>; +Cc: pgsql-odbc
Ideally the odbc driver would log driver time and sql time (optionally) for each statement execution. On windows this would mean rigging up the hardware counter to get accurate timing info. This facility does not exist right now so your best bet is to write a small C test app that interfaces directly with the libpq library and compare latencies with the odbc driver.
You also need to factor in latency from the odbc ISAM wrapper provided by micofocus.
Merlin
________________________________
From: Carlos Henrique Reimer [mailto:carlosreimer@yahoo.com.br]
Sent: Thursday, September 08, 2005 12:50 PM
To: Merlin Moncure
Subject: Re: [ODBC] Application bottlenecks
Merlin,
This will be very usefull. But we have a deadline and I´m not sure how much time we can wait. We must propose something to solve the worst cases at least.
But before that, I would like to be sure that our problem is the ODBC driver. Do you know how can I measure the ODBC overhead in our application?
Did you have similar problems?
Thanks,
Reimer
Merlin Moncure <merlin.moncure@rcsonline.com> escreveu:
> Hi Merlin...
>
> We have an application that he uses one extfh that was modified by us
> so that it has access Oracle bases natively through the use of
> ProCobol. I am interested in its work, would like to get greaters
> information.
>
> We use Microfocus NetExpress 3.0.
>
> Cleber.
>
> 2005/9/8, Merlin Moncure :
> > Hi Carlos, I am working on project right now you might be interested
in,
> namely a extfh interface to postgresql and a isam wrapper for libpq.
I
> already have an isam bridge working direct to postgresql from AcuCobol
> without using odbc or a commercial driver. I just need to convert it
to
> extfh and do a few other things to support microfocus.
> >
> > Merlin
I have a project open on gborg called 'postisam'. Right now there is no
code and no information on it...but right now I am developing a COBOL
ERP which works with postgresql and AcuCobol. The reason why there is
no public code is that the AcuCobol file interface requires re-linking
the runtime and AcuCorp does not grant redistribution rights on the key
header files required to do that.
With version 7.0 AcuCorp now supports extfh file interfaces so I will
convert my current project to support extfh. In theory, this will allow
postisam to support any cobol compiler that supports extfh. Over the
next couple of weeks I am going to be updating the PostISAM site with
new information and sending in the code that was been reworked with all
the AcuCorp stuff removed and made more portable.
Merlin
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
________________________________
Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR UMA VIAGEM NA CONVERSA. Participe! <http://us.rd.yahoo.com/mail/br/taglines/*http:/br.yahoo.com/messenger/promocao/;
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2005-09-08 17:07 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-07 11:24 Application bottlenecks Carlos Henrique Reimer <carlosreimer@yahoo.com.br>
2005-09-07 12:33 ` Maximiliano Di Rienzo <maxi@fulfill-tech.com>
2005-09-08 16:47 ` Hasns-Juergen Schoenig <postgres@cybertec.at>
2005-09-08 12:17 Re: Application bottlenecks Merlin Moncure <merlin.moncure@rcsonline.com>
2005-09-08 12:32 ` Cleber Nardelli <clebernardelli@gmail.com>
2005-09-08 13:18 Re: Application bottlenecks Merlin Moncure <merlin.moncure@rcsonline.com>
2005-09-08 17:07 Re: Application bottlenecks Merlin Moncure <merlin.moncure@rcsonline.com>
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