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 > Select in performance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-09-09, 22:49
Fleming Fleming is offline
Registered User
 
Join Date: Jun 2009
Posts: 1
Select in performance

Hi there,

Recently we moved our codes to new DB2 machine.
These codes used select in ('A1','A2',.....'A1000') to get result in seconds
before we moved to new DB2.
Now these select in SQL took a very very long time to complete.
Any settings we forget to set in our new DB2?

Thank you

Fleming
Reply With Quote
  #2 (permalink)  
Old 06-09-09, 23:18
tonkuma tonkuma is offline
Registered User
 
Join Date: Feb 2008
Location: Japan
Posts: 2,193
If I was faced such situation, I would do...
1) Take explain of the query on new machine.
2) Conpare dbm config and db config.
3) Execute the query by db2batch to see the detailed elapsed time, logical/physical reads/writes, so on ...

Last edited by tonkuma; 06-09-09 at 23:31.
Reply With Quote
  #3 (permalink)  
Old 06-10-09, 10:36
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Maybe this setting "DB2_INLIST_TO_NLJN"
explained here: DB2 Information Center
and here: http://publib.boulder.ibm.com/infoce.../r0005664.html
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