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 > Unacceptable DB2 query response time.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-03, 19:51
mcenita mcenita is offline
Registered User
 
Join Date: Dec 2003
Location: Philippines
Posts: 5
Unacceptable DB2 query response time.

Hi guys,

We're developing a web application using java. It uses AS/400(V5R1) as server machine, WAS 5 as web server and IBM UDB DB2 as it's database.

Our problem was the unacceptable query response time of our apps. A query that took milliseconds in the AS/400 console screen took minutes(10 -20) using JDBC connection.

We have tried many performance tuning techniques adviced by the IBM but none of them lessen the response time.

We've tried to use the native DB2 driver (type 2) instead of the IBM Toolbox for Java (JT400 type 4) driver but it was the same.

We are becoming prostrated now.

Please help us!!!!!!!

M. Cenita

Last edited by mcenita; 12-10-03 at 20:52.
Reply With Quote
  #2 (permalink)  
Old 12-11-03, 21:28
udb_dba udb_dba is offline
Registered User
 
Join Date: Oct 2003
Posts: 29
What is the DB2 Version?

If it is V8.1 Set the optimizer to 3 (Looks like there is a bug in V8.1 Optimizing the Queries - 0,1,2,5,7)

-Racha
Reply With Quote
  #3 (permalink)  
Old 12-11-03, 22:54
mcenita mcenita is offline
Registered User
 
Join Date: Dec 2003
Location: Philippines
Posts: 5
Quote:
Originally posted by udb_dba
What is the DB2 Version?

If it is V8.1 Set the optimizer to 3 (Looks like there is a bug in V8.1 Optimizing the Queries - 0,1,2,5,7)

-Racha
Here are the additional info :

Database Product Name [DB2 UDB for AS/400]
Database Product Version [05.01.0000 V5R1m0]
Driver Name [AS/400 Toolbox for Java JDBC Driver]
Driver Version [5.0]

How will I do the optimizing or what will i tell to our AS400 DBA?

thx.

Last edited by mcenita; 12-11-03 at 22:59.
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