If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Taking log time to excute the procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-09, 23:13
prasadv18 prasadv18 is offline
Registered User
 
Join Date: Nov 2007
Posts: 26
Taking log time to excute the procedure

Hi All,
In our environment we running a procedure almost every day
procedure delete the data from the tables based on ondition
nearly 5 tables are there in procedure
before it run 15 min but now it taking nearly one hour

we did reorg and runstats on the tables still we facing the problem
based on db2advice the indexes are present in required columns

Please advise what things need to consider like this situation.
Reply With Quote
  #2 (permalink)  
Old 06-24-09, 01:27
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
on data studio you can see how long/cost each stmt is taking within a proc.
BTW you havnt mentioned your version and os !!
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #3 (permalink)  
Old 06-24-09, 09:16
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Review what has changed. Performance degradation almost always go side by side with recent changes. It can be an OS level changes as well.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On