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 > DB2 Stored Procedure Performance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-09, 16:05
jensohl jensohl is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
DB2 Stored Procedure Performance

Hi there. We currently have a java application that is used as our time and attendance application out in our manufacturing facility. This application calls a DB2 stored procedure that updates one table whenever an employee clocks in or out. All of a sudden, the performance has been awful. Basically the issue occurs when we have all employees (which is about 100) clocking out at the end of the day at the same time. (We have 12 different time clocks). Normally when they scan their badge the stored procedure is executed in about 3 seconds. Now it is taking about 15-30 seconds per transaction. I'm really not even sure how to troubleshoot this issue. Where should I be looking? Is there some sort of query analyzer I can use to see what's going on?
Thanks for any help you can give me.
Reply With Quote
  #2 (permalink)  
Old 06-09-09, 01:41
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
what version are you on?
Are runstats recent ?
Index scan happening ?
You can have a look of the access paln for the associated packages
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
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