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 > Slow Inserts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-19-07, 21:54
db2developer db2developer is offline
Registered User
 
Join Date: Oct 2007
Posts: 1
Slow Inserts

We have a web based application with a Db2 back-end. We have started experining intermittent response-time. The same insert insert transactions that take few seconds they can take 15minutes (just inserting 100 rows). We had made all kind of adjustments to different DB2 parameters, but we still get spikes few times a day. Any idea what could be the cause?
Reply With Quote
  #2 (permalink)  
Old 10-22-07, 18:03
sundaram sundaram is offline
Registered User
 
Join Date: Mar 2006
Posts: 104
Check the network reponse times.

If possible, run the insert sqls directly in the DB server and see the timings comapre to the execution from web container.

Harikumar
Reply With Quote
  #3 (permalink)  
Old 10-29-07, 04:27
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
What changes have you made?

have you checked locks on the database ? what is the lock timeout?

Try setting up sql and transaction event monitors to identify where the problem is - inside database or outside.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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