473,473 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

performance of db2 7 on mainframe

hello,
I'm having a performance issue with a Windows CLI/ODBC application
that connects to a DB2 rel 7.1 on a mainframe of a bank.
I have to say I'm pretty new with this kind of environment.
The application is working, but it is much slower than when I run
against a DB2 7.1 on a poor Linux machine(using the same amount of
data in the tables used by the application).
I made some trace and I found the most noticeable difference is in the
time of the SQLExecute. Against the Linux is not relevant (the same
millisecond), against the mainframe it tooks an average of 2 cent of
sec.
This mainframe also has a long time in execution of SQLTables and
SQLColumns (almost 15 sec both), so that I've already fixed my
application to check for table existency and for information on the
columns, using a dummy select and SQLDescribeCol.
I'm now in dubt if:
-I have to reengineer the logic of the application or
-the fact it run faster on a poor Linux machine meas that there are
underlining problem with something outside of my app

thanks in advance to anyone who can answer
LD

Nov 19 '07 #1
2 1645
On Nov 19, 3:50 pm, luca.dev...@gmail.com wrote:
hello,
I'm having a performance issue with a Windows CLI/ODBC application
that connects to a DB2 rel 7.1 on a mainframe of a bank.
I have to say I'm pretty new with this kind of environment.
The application is working, but it is much slower than when I run
against a DB2 7.1 on a poor Linux machine(using the same amount of
data in the tables used by the application).
I made some trace and I found the most noticeable difference is in the
time of the SQLExecute. Against the Linux is not relevant (the same
millisecond), against the mainframe it tooks an average of 2 cent of
sec.
This mainframe also has a long time in execution of SQLTables and
SQLColumns (almost 15 sec both), so that I've already fixed my
application to check for table existency and for information on the
columns, using a dummy select and SQLDescribeCol.
I'm now in dubt if:
-I have to reengineer the logic of the application or
-the fact it run faster on a poor Linux machine meas that there are
underlining problem with something outside of my app

thanks in advance to anyone who can answer
LD
Do you have dynamic statement caching turned on the DB2 for z/OS? A
detailed performance trace on the mainframe side will indicate where
the time is being spent.

Norm
Nov 21 '07 #2
On Nov 19, 3:50 pm, luca.dev...@gmail.com wrote:
hello,
I'm having a performance issue with a Windows CLI/ODBC application
that connects to a DB2 rel 7.1 on a mainframe of a bank.
I have to say I'm pretty new with this kind of environment.
The application is working, but it is much slower than when I run
against a DB2 7.1 on a poor Linux machine(using the same amount of
data in the tables used by the application).
I made some trace and I found the most noticeable difference is in the
time of the SQLExecute. Against the Linux is not relevant (the same
millisecond), against the mainframe it tooks an average of 2 cent of
sec.
This mainframe also has a long time in execution of SQLTables and
SQLColumns (almost 15 sec both), so that I've already fixed my
application to check for table existency and for information on the
columns, using a dummy select and SQLDescribeCol.
I'm now in dubt if:
-I have to reengineer the logic of the application or
-the fact it run faster on a poor Linux machine meas that there are
underlining problem with something outside of my app

thanks in advance to anyone who can answer
LD
Your SQLTables and SQLColumns queries running long is typical in an
out-of-the-box usage. Many DB2 for z/OS single sub-systems have
thousands of tables and tens of thousands of columns. There are
parameters in the db2cli.ini that can be used to limit the amount of
schema information you download.

Missing statistics, bufferpool selection, no dynamic statement
caching, network latency, CPU busy, system paging etc. can lead to
poor performance outside of your application. Your local DBA should
be able to trace the problem. There's no reason you shouldn't get the
same or better performance on the DB2 for z/OS system.

Norm
Nov 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Erik-Jan Bakker | last post by:
Hi I am not a javascript expert and I have a problem that the guru's in this newsgroup probably can solve quickly. ;-) I've made a webpage with three frames: top, left and mainframe. I...
3
by: Prashant | last post by:
Hi , I would like to know if it is possible to have a Windows based client using ..net which can work with the DB2 database which is on a mainframe .. What would the architecture be like and...
9
by: David Schwartz | last post by:
For those of you who have used both VB6 and VB.Net, how would you say performance compares (specifically for Windows Forms apps)? I have found that forms display much more slowly in VB.Net. I'm...
4
by: karpagam | last post by:
Since WebServices are a standardized way to invoke a method of another application over the internet, is there a way to integrate two different applications running on different platforms (Say a...
1
by: uli2003wien | last post by:
Dear group, i am a seasoned DB2-veteran (6 years exp.) on the Windows- and Linux-Server platform. Once in a while i had a look into DB2 on the mainframe but mostly only watching other people do...
1
by: Thureen | last post by:
I just started using the mainframe (z/OS) 2 days ago, so I am very inexperienced in it. However, I need to write c++ programs for mainframe. Right now, the other mainframe programmers have showed...
3
by: dinoo | last post by:
Hi, I need help here. I am converting an vb application to c#. The existing application connects to the mainframe server using FTP and downloads a file (dataset). Is it possible in .NET to...
5
by: Markus Ernst | last post by:
Hello A class that composes the output of shop-related data gets some info from the main shop class. Now I wonder whether it is faster to store the info in the output class or get it from the...
6
by: R. Vince | last post by:
I'm been roped into a techical discussion next week as to whether our Java applet / php site can run on a "mainframe." (I know not what kind of "mainframe" or OS). Is this kind of thing even...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.