IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Where to START for improve performance


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Feb 04, 2009 5:41 pm
Reply with quote

Hi,

I have consolidated an SQL report, it has INDB2_TIME, INDB2_CPU & planname.
INDB2_TIME - Time spent within DB2 for this statement
INDB2_CPU - CPU time spent processing this statement

I was told to find which PLAN takes a lot of time - That's done.
Now i was told to find some methods for improving ?

What i want to know is, where to start & what to see ?

Open to IDEAS & Suggestion,
Sushanth
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Wed Feb 04, 2009 8:01 pm
Reply with quote

Explain the PLAN. Find out the pain point queries. Check if there is a better way of writing an equivaent query. Check if the new equivalent query is actually better than the original.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Thu Feb 05, 2009 4:38 pm
Reply with quote

Yes i also thought about that Bharath. EXPLAIN.
Quote:
Check if there is a better way of writing an equivalent query.

What if the queries are done dynamically using PREPARE STATMENT like that. Right now iam looking at the WAREHOUSING sub-system & its PLANs.
Suggesting MQT's are on my list.
What are the other things i need to look in WAREHOUSING kind of scenarios.

Sushanth
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Thu Feb 05, 2009 5:11 pm
Reply with quote

Quote:
What if the queries are done dynamically using PREPARE STATMENT like that.

Suggest to change it to static SQL. Dynamic SQLs are major pain points.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts exploiting Z16 performance PL/I & Assembler 2
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Start CICS transaction every day at 2AM CICS 4
No new posts Z Monitoring server fails to start IBM Tools 1
No new posts I don't really get the, "Start a... General Talk & Fun Stuff 3
Search our Forums:

Back to Top