MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Performance tuning

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Vreddy
Beginner


Joined: 03 Feb 2003
Posts: 12
Topics: 5

PostPosted: Wed Feb 05, 2003 5:55 pm    Post subject: Performance tuning Reply with quote

Hi,

We converted the databse to Db2 and i ran one program in Db2 and in old database. In db2 it is taking 48 seconds and in other database it is taking 4 seconds. I saw the queries in Db2 and all queries are using key columns( full key). what could be the reason...
_________________
Thanks
Vreddy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Wed Feb 05, 2003 6:34 pm    Post subject: Reply with quote

Vreddy,

when was the last REORG on the DB2 table?? Reorg the table and recompile the program and run it .btw what is the other database you are talking about?

Thanks

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Feb 06, 2003 10:15 am    Post subject: Reply with quote

Try running a RUNSTATS to update the catalog and then re-bind the application plan.
Back to top
View user's profile Send private message
Vreddy
Beginner


Joined: 03 Feb 2003
Posts: 12
Topics: 5

PostPosted: Fri Feb 07, 2003 12:40 pm    Post subject: Reply with quote

Hi Kosulu,

The other database is Datacom/DB. I did run the Runstats and reorg and recompiled the programs. It is taking long time. We are testing in test environment. Is there any problem with buffer pools, sort files/ work files etc with in Db2 or do they need to do some thing in DB2 environment..
_________________
Thanks
Vreddy
Back to top
View user's profile Send private message
Vreddy
Beginner


Joined: 03 Feb 2003
Posts: 12
Topics: 5

PostPosted: Fri Feb 07, 2003 12:43 pm    Post subject: Reply with quote

Hi BIthead/Kosulu,

How frequently we need to do Runstats/reorg.. The tables are updated/inserted every day. there will be around 35,000 updates/inserts to the database...
_________________
Thanks
Vreddy
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Feb 10, 2003 9:12 am    Post subject: Reply with quote

I run REORGS and RUNSTATS every week. I then run REBINDS on data sensitive applications.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group