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 > Long wait for query open on I5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-21-09, 14:27
schechtere schechtere is offline
Registered User
 
Join Date: Jan 2009
Posts: 1
Long wait for query open on I5

Am running a moderately involved query on the ISeries.

On our production box, the first run take 50 seconds (successive runs seem to average 10-20 seconds).

On our (less powerful) QA box, with replicated data, the query takes about 2 seconds.

Ran the query using Visual Explain. Interestingly, production and QA had identical plans. Totaling all the steps add up to a second or so.

Dumped the production plan to a performance monitor, and listed out the statements chronologically (see attached PDF).

Interestingly, per the runtime column, the Open stage was slightly subsecond, but, per the start time column, it seemed to take 45 seconds.

I would be very interested in understanding what's going on in these 45 seconds, and what I can do about it.
Attached Files
File Type: pdf performance monitor 01.pdf (28.6 KB, 41 views)
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