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

DB2 Performance Improvement Tips


IBM Mainframe Forums -> FAQ & Basics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Wed Mar 14, 2012 8:05 pm
Reply with quote

Hello All,

Could you please highlight on DB2 performance improvement scope for may be existing queries,DB2 unloads,loads,indexes, Stored procedures,GTT..so on.

Somthing which you have implemented and you have saved certain amount of CPU utilization.

Note:I do not any specific case to have suggestion on, but any generic ideas are appriciated.

Thank you!!

Regards,
Rohit
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Wed Mar 14, 2012 8:41 pm
Reply with quote

Are you looking ONLY for CPU reduction? What about time savings, or disk I/O?

Are you being billed for CPU, but not the others?

I ask because there is usually a trade off with these types of things. There is also sometimes a dual benefit. As in, you do something to reduce I/O, and it also reduces CPU time taken.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Wed Mar 14, 2012 8:44 pm
Reply with quote

Goodman,

Yes, your are right ofcourse.

Anything which does time saving, Disk I/O, CPU utilization eventually will be appriciated.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Mar 14, 2012 9:37 pm
Reply with quote

Do not retrieve the same data over and over again and don't select non-wildcard data you use in your where clause.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Fri Mar 16, 2012 8:10 pm
Reply with quote

Prino,
Thanks...

Also, recently we analysed one table which has several indexes on multiple columns but out of which only 2 columns which has indexes were in use.So we then contacted DBA and asked fro removing the indexes on unused columns and then we have seen the significant reduction in the CPU utization in the load JOB. As indexes were taking much more time for organizing the data also REORG utility now takes less time.
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 -> FAQ & Basics

 


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 Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
No new posts COBOL Performance Tuning COBOL Programming 6
No new posts CICS Performance statistics CICS 3
Search our Forums:

Back to Top